Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting a row into the middle of a table
Message
From
14/06/2000 22:05:58
 
 
To
14/06/2000 16:44:28
Erin Eby
Mission Critical Software
Gainesville, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00380446
Message ID:
00380548
Views:
11
>I am trying to "append" a new record into a table...however, I would like it to be inserted into the middle of the table instead of the end. Is this at all possible? TIA :)

There is an old but still available mechansim to do this (the xBASE variant of INSERT), but it's very expensive to use - better to maintain position using an index rather thanshifting physical record positions.

The syntax for the xBASE variant is:

INSERT [BLANK] {BEFORE]

BLANK is equivalent to APPEND BLANK, inserting the record immedately after the current record in the table

BEFORE specifies that the new record precedes the current record.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform