What's the preferred approach in VBTools to update a detail level (grid) with the LUpd_DateTime, LUpd_Prog, & LUpd_User info? I tried the sample code below (I found it elsewhere in a search), but it does not seem to update the table (data remains unchanged).
Private Sub Update1_Update(Level As Integer, InsertFlg As Integer, LevelsDone As Integer, LevelsLeft As Integer, retval As Integer)
Select Case Level
Case 0 (header level)
bxtPORqHdr.LUpd_DateTime = bPES.Today
bxtPORqHdr.LUpd_Prog = bPES.ScrnNbr
bxtPORqHdr.LUpd_User = bPES.UserId
Case 1 (grid Level)
bxpmsetup.LUpd_DateTime = bPES.Today
bxpmsetup.LUpd_Prog = bPES.ScrnNbr
bxpmsetup.LUpd_User = bPES.UserId
End Select
End Sub
I've confirmed via Call MessBox() that I'm obtaining the right data, but the table update does not work. No error messages or issues, just no table updates.
Thanks.
*This post is locked for comments
I have the same question (0)