Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Needed To Update Records
Message
De
18/02/2013 14:52:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
SQL Needed To Update Records
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01566306
Message ID:
01566306
Vues:
56
I am Using the following code to Update Subledger.DBF file from Schedule.DBF.
Kindly provide me Equivalent SQL to do the same. Currently I am using the following code.
******UPDATE SUBLEDGER DETAILS*******
Goto Top
Scan While .Not. Eof()
T_Newcode=Left(Accode,3)+"0000"

Select Schedule
Locate For newcode=T_Newcode
If Found()=.T.
T_desc=Desc
Else
T_desc="Account Code Missing"
Endif
Select Subledger
Replace Schedule With T_desc
Endscan
Regards
Harsh
Harsh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform