Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add record in middle of a grid
Message
From
28/07/2003 13:59:22
 
 
To
28/07/2003 10:39:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00814111
Message ID:
00814226
Views:
8
Hi Akhan,

exists two way:

1) Define a right index and INSERT INTO ....
Example:
Add integer Field RowPos 
INDEX ON RowPos ...
UPDATE ... SET RowPos=RowPos+1 WHERE RowPos>m.PosInsert
INSERT ....,RowPos,... VALUES ...,m.PosInsert,
2) use command
  INSERT BEFORE BLANK
This insert a new blank record before current record on current workarea.

This command don't support buffering.

SET CARRY is supported.
Attention, this operation can need a long time ( file table is copied ).




Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform