Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add a record? Just add.
Message
From
23/01/2003 09:33:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/01/2003 09:23:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00744703
Message ID:
00744710
Views:
19
>I need to add a record to a table.
>I do NOT need to read data back from table.
>
>Actually I need just a "Insert into ..." statement. But in VFP the "Insert" statement opens the table, read data to memory that can take several seconds, increase network traffic, eat memory etc.
>
>VFP 6
>Database : VFP 6
>Access to the DB : native FoxPro. (No ADO, OLEDB ... used)

INSERT INTO is supposed to be faster than APPEND BLANK, but you can try whether in your particular case, APPEND BLANK is faster.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform