Well the functions I want at the moment are not working!
I am trying to see who has a record locked:
cFile:=DrvPthGet(DrvCurGet())+"\"+alias()+'.dbf'
nStationNo=FilLokConGet(cFile,recno(),NOVLOKFOX1 )
do case
case nStationNo > 0
cUser:=UsrNameGet( WSLogIDGet( NOVDEFINT ) )
cReturn:="Locked "+cUser
case nStationNo = 0
cReturn:="not locked"
endcase
The FilLokConGet always returns 0. I have tried all the NOVLOK??? options, and all return 0... and yes, I do have the record locked on another workstation.
Regards
HotEye
I am trying to see who has a record locked:
cFile:=DrvPthGet(DrvCurGet())+"\"+alias()+'.dbf'
nStationNo=FilLokConGet(cFile,recno(),NOVLOKFOX1 )
do case
case nStationNo > 0
cUser:=UsrNameGet( WSLogIDGet( NOVDEFINT ) )
cReturn:="Locked "+cUser
case nStationNo = 0
cReturn:="not locked"
endcase
The FilLokConGet always returns 0. I have tried all the NOVLOK??? options, and all return 0... and yes, I do have the record locked on another workstation.
Regards
HotEye