Tring in vain to populate a data grid
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Tring in vain to populate a data grid
Hello,
I join a stack in which I try to place values from fields in different cards to a data grid.
I use a global variable to tell Rev the line where data is suppose to go, but it never goes there. It always goes to the first line, each new entry erasing the one already there. Any idea ?
Thanks
I join a stack in which I try to place values from fields in different cards to a data grid.
I use a global variable to tell Rev the line where data is suppose to go, but it never goes there. It always goes to the first line, each new entry erasing the one already there. Any idea ?
Thanks
- Attachments
-
- Test.zip
- (6.48 KiB) Downloaded 269 times
Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11
RevEnterprise 4.5.0 dp3 OSX 10.4.11
Re: Tring in vain to populate a data grid
Sorry, but I get an error message from Rev stating:
"There was a problem opening that stack"
"file is not a stack"
I'm guessing that maybe the file may have been corrupted or something, but it will not open for me in Rev in order to have a look.
put fld "mydata" &cr after the targeted variable/field/table etc.
-Doc-
"There was a problem opening that stack"
"file is not a stack"
I'm guessing that maybe the file may have been corrupted or something, but it will not open for me in Rev in order to have a look.
When I run into that general type of problem, it's usually because I forget to point the data "after" line such and such.It always goes to the first line, each new entry erasing the one already there. Any idea ?
put fld "mydata" &cr after the targeted variable/field/table etc.
-Doc-
Re: Tring in vain to populate a data grid
Hello,
You're right.
I deziped the file and, me too, I have not succeed in opening the stack (corrupted).
The stack has been compressed with Zipit. I'll try another soft to do it.
Before I'll try your "after"
You will find underneath the script used to populate my DataGrid.
on mouseUp -- script of a button called "Validate" used after data have been entered in a form
Global NbLiGr1 -- the global used to tell in which line (row) to place the data
add 1 to NbLiGr1
put the value of field "FNOM" into LesData[NbLiGr1]["NOM"]
put the value of field "FLogin" into LesData[NbLiGr1]["LOGIN"]
put the value of field "FPword" into LesData[NbLiGr1]["Mot de passe"]
go card id 1002 -- the card of the grid
set the dgData of group "Grille1" to LesData -- do not see where I could place an "after"'
end mouseUp
You're right.
I deziped the file and, me too, I have not succeed in opening the stack (corrupted).
The stack has been compressed with Zipit. I'll try another soft to do it.
Before I'll try your "after"
You will find underneath the script used to populate my DataGrid.
on mouseUp -- script of a button called "Validate" used after data have been entered in a form
Global NbLiGr1 -- the global used to tell in which line (row) to place the data
add 1 to NbLiGr1
put the value of field "FNOM" into LesData[NbLiGr1]["NOM"]
put the value of field "FLogin" into LesData[NbLiGr1]["LOGIN"]
put the value of field "FPword" into LesData[NbLiGr1]["Mot de passe"]
go card id 1002 -- the card of the grid
set the dgData of group "Grille1" to LesData -- do not see where I could place an "after"'

end mouseUp
Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11
RevEnterprise 4.5.0 dp3 OSX 10.4.11
Re: Tring in vain to populate a data grid
Well I ziped/unziped the stack and everything seems allright.
Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11
RevEnterprise 4.5.0 dp3 OSX 10.4.11
Re: Tring in vain to populate a data grid
Hi Pascal
I guess you haven't looked at your emails... Here is a little stack that I think will help point you in the right direction...
hope it helps
Dixie
I guess you haven't looked at your emails... Here is a little stack that I think will help point you in the right direction...
hope it helps
Dixie
- Attachments
-
- Simple Datagrid Table.zip
- (6.32 KiB) Downloaded 300 times
Re: Tring in vain to populate a data grid
Thanks Dixie.
It do works fine.
It do works fine.

Pascal (French, sorry for the way I write)
RevEnterprise 4.5.0 dp3 OSX 10.4.11
RevEnterprise 4.5.0 dp3 OSX 10.4.11