grid control allowedit

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

grid control allowedit

Post by ROBROS »

Hi friends,

although my application is already in use (thanks to all who contributed, the users consider it to be helpful and so far it seems to be not buggy) but not really in the final stadium, I have to program some service programs as there are "save data", "possibility of seting some parameters" and so on.

Save data is of course done manually:-).

I have learned a lot about hmg in the last months. But to keep my brains alive I won't give up working with hmg, gives me a lot of fun.

Another question about grid-control:
I've read, grid can be edited, and I find this (dbedit) very useful. Now: I allowedit, I can edit the record-identifyer (eg code-number), so I have 2 equal identifyers (keys, or what is the correct name?). Searching for the key shows me the record, that was entered first.

Of course I could leave out the key in the grid (not show it).
Can I allowedit on a field-level? My searches gave no results.

TIA

Robert

I still have 4 months to complete this work. :lol:
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: grid control allowedit

Post by ROBROS »

Maybe I'm wrong:
the result came from an example from hmg-samples (grid-control) and the data come from an array with no index.
franco
Posts: 816
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: grid control allowedit

Post by franco »

Robert, look at 3.44 samples grid39. the columnwhen is one thing you are looking for I think.
Good luck ... Franco
All The Best,
Franco
Canada
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: grid control allowedit

Post by ROBROS »

Hi Franco,
thx for your reply. I will take a look at it when I come home.
Robert
ROBROS
Posts: 256
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Location: D 83071 Stephanskirchen

Re: grid control allowedit

Post by ROBROS »

Hi Franco,
your hint was helpful. Searching for columnwhen led me to:
viewtopic.php?f=6&t=2623&p=23436&hilit= ... ion#p23436

I will study that, and if necessary I will be back asking again.

Thx again.

Robert
Post Reply