Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing problem
Message
From
12/01/2006 11:46:29
 
 
To
12/01/2006 10:54:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01086069
Message ID:
01086148
Views:
13
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform