Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert Blank command
Message
From
28/07/2011 13:39:11
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01519468
Message ID:
01519490
Views:
47
>Hi Gang!
>
>I am working on a table (in developement mode). I need to insert some records (by hand) into the table in preparation to send these new tables out to customers. I wanted the new records to be IN the table at the required places so the system would not need an index to have the records in the correct order.
>
>When I tried to use INSERT BLANK on the table that was opened exclusively, the new record always goes to the end of the table.....
>
>And I tried turning off the index by issuing SET INDEX TO
>
>Same result.
>
>So, in FoxPro 8.0 SP1, has this ability been removed?
>
>(If I have to , I'll use an index to force them into the correct order... but the system did not require it... )
>
>Thanks!

As far as I know, this is normal behavior if you have a compact index (CDX) -- don't know if same applies if you have dBASE-style IDX files (though I suspect if you had the index open it may force similar behavior -- of course you could open the table w/o the IDX file, but then you'll have to remeber to rebuild it afterwards). That's the behavior I've seen back from VFP 6.0 -- I'll have to check if it's the same in FoxPro DOS and Windows 2.x (though wouldn't be surprised if worked the same way).
Previous
Reply
Map
View

Click here to load this message in the networking platform