Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding, Deleting and Packing of a table
Message
 
 
To
07/04/2001 00:37:20
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00493159
Message ID:
00493525
Views:
13
>Dear all,
>
>I face a problem, quite fundamental:
>
>I maintain a table with tableupdate(), tablerevert() and delete commands.
>I find that:
>
>When I add a new record to a table, by fristly APPEND BLANK - then verify the input, then confirm to save by TABLEUPDATE(.T.) - it works normal.
>
>However when I add some couples of new records and then I delete another some couples of records, then when I attempt to add one new record. The program return .f. to me when TABLEUPDATE(.T.) is executed, and I cannot add any new record more unless I pack the table.
>
>Is there any wrong I made in the operation, or otherwise any suggestion in coding?
>
>With regards,
>
>Ransome

You can use AERROR() function to check reason for TABLUPDATE() failure.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform