Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing problem
Message
De
12/01/2006 11:46:29
 
 
À
12/01/2006 10:54:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01086069
Message ID:
01086148
Vues:
12
>>I am getting a 'wait window' message on a form when I click a button to write a value to a field. ==>> Record pointer is at End_of_file.
>>
>>The symptom - Nothing gets written to the table. Oddly, I do have success writing two values to the table in the form's load method.
>>
>>Why?
>
>ALWAYS add "in workarea" whenever you replace in another work area than the current, like
>Replace myfield with mydata in myworkarea
>*Replace myworkarea.myfield with mydata && This syntax can fail like you describe!!
Replace alias.field with newval won't work if it's bof() or eof() in the currently selected workarea. The IN method indeed circumvents that drawback. Thanks for the tip.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform