Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add record in middle of a grid
Message
De
28/07/2003 13:59:22
 
 
À
28/07/2003 10:39:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00814111
Message ID:
00814226
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform