Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with my PasteRec() code uses GATHER NAME
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
What is wrong with my PasteRec() code uses GATHER NAME
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01107350
Message ID:
01107350
Vues:
62
Hi all

I have created PasteRec() method in my BO as below:
LOCAL loLastRecord, lcExcept

lcExcept = THIS.cPasteExcept

SELECT (THIS.cAlias)

loLastRecord = THIS.oLastRecord

GATHER NAME loLastRecord FIELDS EXCEPT &lcExpect

loLastRecord = .NULL.
THIS.cPasteExcept = iID,iPID,iEA3No

When the above code is executed yet the three fields do get replaced with the values in THIS.oLastRecord blowing the primary key field iID and the serial no. field iEA3No.

Please advise what did I do wrong.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform