Search found 6 matches

by drz
Fri Nov 10, 2017 10:24 am
Forum: HMG Samples
Topic: Fill data from dbf file in grid combobox control
Replies: 4
Views: 187

Re: Fill data from dbf file in grid combobox control

Hi Gregor,
sample you posted still use character array for combo BUT ... if i modify function by filling datat from database then it will do the tric. So thank you for solving my problem :)
by drz
Thu Nov 09, 2017 6:44 pm
Forum: HMG Samples
Topic: Fill data from dbf file in grid combobox control
Replies: 4
Views: 187

Re: Fill data from dbf file in grid combobox control

One of fields has a reference to another table which contetn i woukd like to edit in a combobox control.
by drz
Thu Nov 09, 2017 4:34 pm
Forum: HMG Samples
Topic: Fill data from dbf file in grid combobox control
Replies: 4
Views: 187

Fill data from dbf file in grid combobox control

Hi everyone,
I can not figure out how to fill data from dbf file to a combobox defined in grid control. All smples are only using fixed strings from table; but i need to choose a record from dbf file, linked to grid.

Thanks in advance for possible hint or solution.
by drz
Sun Oct 12, 2014 3:06 pm
Forum: HMG Samples
Topic: Get data into Grid
Replies: 11
Views: 1822

Re: Get data into Grid

Hi everyone! At last! I went checking old clipper 87 code I was using for development. In modules I was using a function which was opening databases. So since 1994 i didn't wrote a USE clause at all. And of course I forgot to code like this: SELECT 0 (this was forgotten) USE database..... So problem...
by drz
Sun Oct 12, 2014 2:22 pm
Forum: HMG Samples
Topic: Get data into Grid
Replies: 11
Views: 1822

Re: Get data into Grid

Thank's for very well documented instructions. It was really hard for me to change DOS environment and Windows. I had to change philosophy too ;) Troubles I had was because I tried to use browse component as a grid, instead of using grid component. I also discovered :( that I can see form code, and ...
by drz
Sun Aug 31, 2014 2:36 pm
Forum: HMG Samples
Topic: Get data into Grid
Replies: 11
Views: 1822

Get data into Grid

Hi, have been using Clipper for a very long time, now it is time to progress my apps to new environment. I am trying to display dbf data in grid, but i can't figure out how to connect grid with data, since in HMBG IDE there is no Rowsource (or item) property. Samples are all programmed not made with...