grid control allowedit

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
ROBROS
Posts: 99
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 39 times
Been thanked: 7 times

grid control allowedit

Post by ROBROS » Sun Jun 03, 2018 7:40 pm

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: 99
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 39 times
Been thanked: 7 times

Post by ROBROS » Sun Jun 03, 2018 8:07 pm

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: 246
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 9 times

Post by franco » Mon Jun 04, 2018 12:34 am

Robert, look at 3.44 samples grid39. the columnwhen is one thing you are looking for I think.
Good luck ... Franco

ROBROS
Posts: 99
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 39 times
Been thanked: 7 times

Post by ROBROS » Mon Jun 04, 2018 5:41 am

Hi Franco,
thx for your reply. I will take a look at it when I come home.
Robert

ROBROS
Posts: 99
Joined: Thu May 25, 2017 6:30 pm
DBs Used: DBF
Has thanked: 39 times
Been thanked: 7 times

Post by ROBROS » Mon Jun 04, 2018 7:19 pm

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