Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FOPEN()
Message
De
18/03/2003 11:36:50
Todd Brown
Teachers Credit Union
Granger, Indiana, États-Unis
 
 
À
18/03/2003 11:13:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00767050
Message ID:
00767103
Vues:
8
I was trying to clean it up some. This is the actual code. LX is the table. XP = "v:\dbf\dbfs\dbf" then the next section adds a date 0317, converted it reads "v:dbf\dbfs\dbf0317\rwall\lx"

ImportFileLnsCurrent = xp + ALLTRIM(SUBSTR(DTOC(DATE()-1),1,2) + ;
SUBSTR(DTOC(DATE()-1),4,2)) + "\rwall\lx"

SELE 1
USE lns_current
Handle = -1
DO WHILE Handle < 0
Handle = FOPEN(ImportFileLnsCurrent + ".dbf",12)
IF Handle > 0
=FCLOSE(Handle)
ZAP
APPEND FROM &ImportFileLnsCurrent
ELSE
WAIT "Waiting for LX file to become available" WINDOW AT 30,1 TIMEOUT 5
ENDIF
=FCLOSE(Handle)
ENDDO

I have substituted "\\dev\backporch\imp_tabs\w52_lns" and it does not work. If I use "i:\imp_tabls\w52_lns" it works.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform