Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code works on C drive but not on a mapped Novel drive?
Message
From
03/02/2004 15:48:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Code works on C drive but not on a mapped Novel drive?
Miscellaneous
Thread ID:
00873617
Message ID:
00873617
Views:
59
I have a problem which I cannot reproduce when I debug the version of the program on my C drive. If I copy the code to a mapped Novell drive I can reporduce the problem. The user runs a form and press on a button which invokes a "click" method. In it I check if tables where update and if not display an error message. I find that the second tapeudate reuturns ".F." Tables are buffered and buffering is set to 5 (optomistic table). Variables are declared as LOCAL variables. Billset is a cursor.
llTableUpdateii	= TABLEUPDATE(.T.,.F.,'ii')
IF llTableUpdateii		
         *update issue records with this bill date
         SELE billset
	SET ORDER TO creqno IN pireq 
	SET RELATION TO creqno INTO pireq ADDITIVE
	SCAN 
		llRlockpi	= RLOCK('pireq')
		IF llRlockpi
	                  SELECT pireq
			REPLACE pireq.dbilled WITH m.idate
		ELSE
			llOk	= .F.
			EXIT
		ENDIF	
	ENDSCAN			
	         llTableUpdatepi	= TABLEUPDATE(.T.,.F.,'pireq')
		IF NOT llTableUpdatepi
		    llOk	= .F.
		ENDIF
		SET RELATION TO
		USE IN billset
		USE IN billtotl
	ELSE
		llOk	= .F.
	ENDIF
ENDIF
I do NOT understand what is happening. Any help appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform