Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace command throws me to eof
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01262987
Message ID:
01262989
Views:
12
>For some reason the replace code below seems to send my file pointer to the last rec.
>I was at top (got INFOBASE open in browse window as I go thru debug)
>I scrutinised every command and no movement.
>As soon as the replace happened I saw the browse shoot to eof()/bottom
>I've reindexed the table (which always has a CDX open anyway - no IDX)
>
>
>Select INFOBASE
>Replace DAYS_OP with Thisform.cOpDays
>
>
>Anyone any ideas what the kinell's going on here? I'm not sure this always happens as some have been successful.
>
>'ppreciate it
>
>Terry

Did you have index based on DAYS_OP and that order is current for the table?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform