Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save records
Message
De
20/08/2009 02:14:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Save records
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01419173
Message ID:
01419173
Vues:
120
Hi all, I make a temporary database when making an invoice which stores invoice details like product number, desc, price, qty and total etc. At the end of the invoice, I add this database records to a permanent database which I call it invhist.dbf. For some reason, one out of every 100 odd invoice lines are not saved to invhist.dbf. My code is :
sele invtemp  && temporary database
go top
do while not eof()
  scatter to x1
  sele invhist
  append blank
  gather from x1
  sele invtemp
  skip
enddo 
Is there a better way to do this ???? TIA
Shafid
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform