Page 1 of 1

grid control allowedit

Posted: Sun Jun 03, 2018 7:40 pm
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:

Re: grid control allowedit

Posted: Sun Jun 03, 2018 8:07 pm
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.

Re: grid control allowedit

Posted: Mon Jun 04, 2018 12:34 am
by franco
Robert, look at 3.44 samples grid39. the columnwhen is one thing you are looking for I think.
Good luck ... Franco

Re: grid control allowedit

Posted: Mon Jun 04, 2018 5:41 am
by ROBROS
Hi Franco,
thx for your reply. I will take a look at it when I come home.
Robert

Re: grid control allowedit

Posted: Mon Jun 04, 2018 7:19 pm
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