Hello everyone,
I created a datagrid and a simple data entry form (example from Active Forms section of DevLogix III.7) and tailored it to my own use. I then added some labels to the form where the datagrid resides. The idea is that when a user clicks on a node in the grid, the labels will be populated with the values from the grid (see code below). The intention is to not make the user have to scroll in the datagrid. This works really well except for one thing....
when testing, I did a ctrl-F5 and saw that the values within my datagrid changed. What appears to be happening is that the values that are showing up in my label's are getting posted back to the database and updating another record on the grid when a hard refresh occurs.
I dont understand why this is happening. I'm using SLX 7.5.0.1 (LAN).
Thank you in advance
<pre>Sub grdMainChangeNode(Sender) lbCorpDir.Caption = grdMain.GetCurrentField("CORPDIRECTORY") lbOffsiteName.Caption = grdMain.GetCurrentField("OfficialSiteName") lbSiteDir.Caption = grdMain.GetCurrentField("SiteDirectory") lbSiteNum.Caption = grdMain.GetCurrentField("SiteNumber") lbURL.Caption = grdMain.GetCurrentField("CLMURL") lbVersion.Caption = grdMain.GetCurrentField("CLMVERSION") lbSDSAdmin.Caption = grdMain.GetCurrentField("SDSAdmin") 'nodes(0).Values(1) End Sub
|