Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data not being written to the table
Message
 
À
14/09/2006 14:05:12
Jeff Mckay
Utah Department of Health
Salt Lake City, Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Divers
Thread ID:
01153779
Message ID:
01153786
Vues:
23
I use flock and unlock in these cases

>here is the code, if you need more let me know
>
>SELECT VO
>APPEND blank
do while not flock()
enddo
>replace nSequence WITH lnSeq
>replace npartid with lcPartid
>replace dtissuedate WITH DATE()
>IF !EMPTY(lcUserid)
> replace cIssuer WITH lcUserid
>ENDIF
>replace dValidfrom WITH ldValidFrom
>replace dValidTo WITH ldValidTo
>replace cPackage with lcPack
>replace nInstrument WITH i
>replace nMaxAmount WITH lnPay * 100
>replace nAmount WITH lnAmnt * 100
>replace cStatus WITH "I"
>replace bprovrd WITH lbOver
>replace dLastupdate WITH DATE()
>replace bupload WITH .T.
>replace cLastuser WITH lcuserid
>replace cPriority WITH lcPri
unlock
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform