Hello,
I have an editgrid which has a custom form for when a record is added or changed. The form is not set to autoload and has a helper program.. Inside the Process procedure for the helper program, if gMode = 'formRender' it runs "lDate = %char(%Date():*ISO)" & "setValue('GNNTDT' :lDate)" to a field(GNNTDT) on the form. If I STRDBG on the helper program, the values for date are updated to the current date. If debug isn't running, the date field remains empty. I added a loop to the program to delay the procedure to rule out timing issues, but if debug wasn't running, the date field was blank. Why would STRDBG make the helper program work?
I have an editgrid which has a custom form for when a record is added or changed. The form is not set to autoload and has a helper program.. Inside the Process procedure for the helper program, if gMode = 'formRender' it runs "lDate = %char(%Date():*ISO)" & "setValue('GNNTDT' :lDate)" to a field(GNNTDT) on the form. If I STRDBG on the helper program, the values for date are updated to the current date. If debug isn't running, the date field remains empty. I added a loop to the program to delay the procedure to rule out timing issues, but if debug wasn't running, the date field was blank. Why would STRDBG make the helper program work?

Comment