Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code works on C drive but not on a mapped Novel drive?
Message
De
03/02/2004 15:48:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Code works on C drive but not on a mapped Novel drive?
Divers
Thread ID:
00873617
Message ID:
00873617
Vues:
58
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform