Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffer contains uncommitted changes error
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00168600
Message ID:
00170836
Views:
29
>Nancy and Mark,
>Thanks for both your suggestions. However, SET DATABASE TO and REQUERY with specified-alias does not work. This is the strangest problem I've ever encountered with VFP! Usually, it's some logic error (which is of my own doing) and can debug it in few hours or at least in a day or so. This, however, got me totally frustrated. It's not like I don't know how to work with views since most all my forms use them (almost exclusively) but...
>
>The only workaround (hope temporary one) is to open the table directly and use it to add new recs OR create a duplicate view (identical in every way) and use it to add new recs. Pretty weird.
>
>BTW, you can very easily have tables open (and their DBCs) w/o any DBC being the SET dbc.

John:

Have you tried to use the GENDBC or similar utility to get the code VFP is using to create the view and set the field update properties? If you can get a look at this code you may be able to find the problem easier. If nothing else, you could use the code, tweak it if necessary, delete then recreate the view programmatically including all the updating properties.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform