Background Data: I am sending my datagrid form data to another card for updating with code as so:
Code: Select all
put theDataA["var1"] into fld "var1Field" of cd "AnotherCardd"
put the dgnumberoflines of grp "myDataGridForm" into tlastLine
put tlastLine into fld "dataGridRecord" of cd "AnotherCard"
put the dgdata of group "myDataGridForm" into fld "dataGridGroup" of cd "AnotherCard"
go to cd "AnotherCard"
Code: Select all
put field "dataGridGroup" into tDataGridGroup
put field "dataGridRecord" into tDataGridNumber
put field "var1Field" into tDataGridGroup[tDataGridNumber]["var1"]
set the dgdata of group "myDataGridForm" of cd "dataGridCard" to tDataGridGroup
Issue:
When I go to "dataGridCard" it only shows the last record edited on the top. I tried putting a "1" in for the tDatagridNumber, but not dice still.
I am hoping I am missing something easy to make this work.
Thank you for any help.