kiran4hari
Well Known Member
Hi,
i have a scenario where if i click on a check box (Fix/Inspect with a view) i have to update the table and close the form.
so i have written the code on the Selection Changed event the press button (HC &OK) is not working. its not taking me back to the previous screen, but when i run it in debug mode it is displaying an error (Unable to Override or Read Error).
FYI: i have given the code below, i was able to do this in some other fix/inspect form. let me know if any one of you can help me to come out of this weird problem.
Get User Address Book Number
VA frm_szApprovedUserId_USER -> szUserIdentifier
FC Final Approval By 1 <- mnAddressBookNumber
UNDEFINED X szErrorMessageID
"1" -> cSuppressErrorMessages
Disable Control(FC Final Approval 1)
Enable Control(FC Final Approval 2)
FC Final Approval 1 = "1"
Get Audit Information
UNDEFINED X szUserName
FC Final Approval Date 1 <- jdDate
FC Final Approval Time 1 [HIDDEN] <- mnTime
UNDEFINED X szWorkstation_UserId
Press Button(HC &OK)
if there is no solution i endup recreating the entire form (oh its toooooooo big).................
Regards,
hari
i have a scenario where if i click on a check box (Fix/Inspect with a view) i have to update the table and close the form.
so i have written the code on the Selection Changed event the press button (HC &OK) is not working. its not taking me back to the previous screen, but when i run it in debug mode it is displaying an error (Unable to Override or Read Error).
FYI: i have given the code below, i was able to do this in some other fix/inspect form. let me know if any one of you can help me to come out of this weird problem.
Get User Address Book Number
VA frm_szApprovedUserId_USER -> szUserIdentifier
FC Final Approval By 1 <- mnAddressBookNumber
UNDEFINED X szErrorMessageID
"1" -> cSuppressErrorMessages
Disable Control(FC Final Approval 1)
Enable Control(FC Final Approval 2)
FC Final Approval 1 = "1"
Get Audit Information
UNDEFINED X szUserName
FC Final Approval Date 1 <- jdDate
FC Final Approval Time 1 [HIDDEN] <- mnTime
UNDEFINED X szWorkstation_UserId
Press Button(HC &OK)
if there is no solution i endup recreating the entire form (oh its toooooooo big).................
Regards,
hari