Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid-insert blank before
Message
From
16/01/2007 05:13:57
 
 
To
16/01/2007 03:54:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01185817
Message ID:
01185827
Views:
22
You have done this totally wrong.
1. Never, never, never use the command Insert blank before! Forget about this command! End of story!
2. Use an index to simulate the order you want.

NB! DId I mention that you should forget about Insert blank before? It's extremely sloooooooooooow, and requires exclusive right to the table. There aer many reasons why this command is not mentioned in Help anymore.

>Hi,
>
>There is listbox and grid on the form.
>
>After selecting item in listbox table in the grid is filtered and only records with the same key as in item are displayed in grid. Now, user wants to select some row and just before it add new record with INSERT BLANK BEFORE.
>
>Table has no indexes.
>
>After inserting record(s) and populating key field with the same value as in the item
>user needs to put rest of values "manually".
>
>Q.
>How to use recno() of current row, jump in the table on the proper position, INSERT record,
>and finally display new record in the grid as current record for editing ? It can be more
>then one new records in different positions.
>TIA, gojko
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform