Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with adding records with the INSERT INTO-comman
Message
From
14/09/1998 17:53:38
 
 
To
14/09/1998 17:41:03
Koos Veel
Gamma Research
Aruba
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00136494
Message ID:
00136503
Views:
14
Koos,

Sounds like you would need to select your table and issue the append blank command - this will blank out all the textbox fields attached to your table in the security form. Then issue tableupdate at the appropiate time to save the buffered data. If no information is to be saved issue the tablerevert.

>Hello,
>
>We are using Visual FoxPro 5.0 and we are making a framework. For our security form we are using the INSERT INTO-command to add records. The Datasource of the textboxes is a table and we use optimistic table buffering. The problem is that if we want to add a record to the table with INSERT INTO we use the values of the textboxes as the source for the fields of the new record, but they already belong to another record (i.e. the record where the record pointer is located just before the insert into command). In FoxPro2.6 we solved this problem by using variables for the textboxes but this would defeat the purpose of the buffers inVisual FoxPro, so we would like to use the new way of doing this (no variables) but how do we add a record with the INSERT INTO command without messing up other records? Thank you for your time.
>
>Greetings,
>
>Afier Appelman
>Using the account of Koos Veel
Previous
Reply
Map
View

Click here to load this message in the networking platform