Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MyDBF - dot - Myfield not taking a replace?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00578858
Message ID:
00578954
Views:
24
Hi!

In addition:
you can use

replace MyDBF.MyField with lcSomeValue in MyDBF

Above does not require to select any workarea explicitly just to avoid problem with eof() in current workarea.

HTH.

>Thanks for the point Malcolm. I believe that was it - AND - am relieved.
>Again - Thanx
>Best Regards
>Terry
>
>
>>Terry,
>>
>>Look for an Eof() condition in one of your tables. If you read the fine print in the replace command's help topic you will see more info on this weird - but 'by design' behavior.
>>
>>Good luck!
>>Malcolm
>>
>>
>>>First time for this:
>>>Changes to a combo setting push a message to user offering to replace the contents of a "Master" DBF field.
>>>
>>>When the code instructs:
>>>replace MyDBF.MyField with lcSomeValue - it does not take.
>>>
>>>However, when code instructs:
>>>select MyDBF
>>>replace MyField with lcSomeValue - it takes.
>>>
>>>It's one little interactive procedure. A form deactivate fires a "custom" data session object in service of a MESSAGEBOX just before the REPLACE. Maybe some foobar character codes hidden in the PRG file. Just weeeeerd.
>>>
>>>The "->" field pointer has same non-result.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform