Database-Driven Subfile Cell Access
Posted: Wed Aug 18, 2010 3:49 pm
Hi All,
How can I access a specific cell in a database-driven subfile? I can get the row that was clicked using the "onrowclick" property, but that only gives me the row number. Because this is a database-driven subfile, there are no subfile fields to reference. So I know which row was clicked, but I can't access any of the data stored in that row. Now I could be missing something obvious here (please correct me if I am), but it seems like there should be a way to reference the data in the row.
Is there anything available similar to this? HiddenBox is a hidden text box used to pass the value back to the program: (pseudo code)
Also, is there any further/advanced documentation on the APIs? The documentation supplied so far is helpful, but descriptions on things such as the different element subfields (i.e.: grid.row, object.value, etc) would be extremely useful. If there is another way of obtaining this info, please let me know.
Thanks,
-RC
How can I access a specific cell in a database-driven subfile? I can get the row that was clicked using the "onrowclick" property, but that only gives me the row number. Because this is a database-driven subfile, there are no subfile fields to reference. So I know which row was clicked, but I can't access any of the data stored in that row. Now I could be missing something obvious here (please correct me if I am), but it seems like there should be a way to reference the data in the row.
Is there anything available similar to this? HiddenBox is a hidden text box used to pass the value back to the program: (pseudo code)
Code: Select all
changeElementValue("HiddenBox", getObj("Grid1").grid.row(row).cell(3).value);
Thanks,
-RC