Marc
2010-02-16 12:46:14 UTC
In my program I open a database exclusively.
If the database is already opened it prompt a message
File access denied <database filename>
This error is handled by TRY.. CATCH
But after that when I execute some command lines as follows
MESSAGE() value is getting chaned to different messages
Eg: (1) IF VARTYPE(pcCreateGlobalMessage)="C" AND
!EMPTY(pcCreateGlobalMessage)
** The MESSAGE() value is "File access is denied
pcCreateGlobalMessage"
(2) THIS.NEWOBJECT("oDummy","zDummy")
** The MESSAGE() value is "File access is denied oDummy"
Actually there are no errors in above command lines
Pls someone tell me what may be the reason for this.
If the database is already opened it prompt a message
File access denied <database filename>
This error is handled by TRY.. CATCH
But after that when I execute some command lines as follows
MESSAGE() value is getting chaned to different messages
Eg: (1) IF VARTYPE(pcCreateGlobalMessage)="C" AND
!EMPTY(pcCreateGlobalMessage)
** The MESSAGE() value is "File access is denied
pcCreateGlobalMessage"
(2) THIS.NEWOBJECT("oDummy","zDummy")
** The MESSAGE() value is "File access is denied oDummy"
Actually there are no errors in above command lines
Pls someone tell me what may be the reason for this.