In addition to Trace, UltimateDegug shows the proper content in the owner variable. Here’s the code:
UD.Message(‘Before OPEN(LocFMx:WorkFile)’)
UD.Message(’ GLO:Owner=’ & GLO:Owner)
ds_SetDebugging(1)
IF COMMAND(’/ShowConnectErrors’)
!
ELSE
LocFMx:WorkFile{prop:logonscreen} = false
LocFMx:WorkFile{prop:logintimeout} = 5
END
DISPLAY()
SETCURSOR(Cursor:Wait)
LocFMx:WorkFile{prop:owner} = GLO:Owner ! Set the FM3 table owner
OPEN(LocFMx:WorkFile) ! Verify valid connection by opening the FM3 file
The debug output looks good.
Before OPEN(LocFMx:WorkFile)
GLO:Owner=DEVELOPMENTGCF\SQLEXPRESS01,FM3