Serge,
I tried and seemed to work ok.
I created a public or private variable at start of procedure. Where := 1
Then in the grid onlostfocus {Where := {this.value}
ongotfocus {this.value := Where}
I did this in Functions but should work right at the grid.
PS when using a browse with a table WHERE has to be zero at to set to top at start.
setting GRID Value
Moderator: Rathinagiri
Re: setting GRID Value
All The Best,
Franco
Canada
Franco
Canada
- serge_girard
- Posts: 3308
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: setting GRID Value
Franco, I t doesn't work for MULTISELECT grid!
Serge
Serge
There's nothing you can do that can't be done...
Re: setting GRID Value
Sorry, I did not try in multiselect. I have never used multiselect.
Could you set multiselect off and set record then set multiselect back on.
I will try a multiselect grid.
Franco
Could you set multiselect off and set record then set multiselect back on.
I will try a multiselect grid.
Franco
All The Best,
Franco
Canada
Franco
Canada
- AUGE_OHR
- Posts: 2093
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: setting GRID Value
hi,
what about NOT to Refresh"All" only active Row
what about NOT to Refresh"All" only active Row

Code: Select all
FOR nCol := 1 TO iMax
...
SetProperty( cForm, cBrowse, "CELL", nRow, nCol, xValue )
have fun
Jimmy
Jimmy
- serge_girard
- Posts: 3308
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: setting GRID Value
Thanks Jimmy, I will try!
Serge
Serge
There's nothing you can do that can't be done...