Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local views created with free tables -- cannot update ta
Message
 
To
30/04/2002 15:52:21
Angela Haws
Seminole County Tax Collector
Debary, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00651068
Message ID:
00651089
Views:
25
>Hi all-
>
>Recently took the advanced VFP course, and was told that we could update a table through a local view using free tables.
>(He said something about a Data dictionary---not sure about how to do this)
>
>First of all, we have to use free tables because there are several FOX 2.X programs that use the .dbf's that are going to be shared between VFP and Fox2.X...therefore no database container can be used.
>
>Well, I could create a blank .dbc to allow me to create a local view, and when selecting a table for the view, I can choose "other" and select a free table, and the view works...
>but when I choose "Send SQL updates",(oh and I made sure I had the fields marked updateable), nothing is being changed in the live table.
>
>Is this because to have an updateable view, the tables must be part of a .dbc? I hope not....it seems a heck of alot easier to use a local view. If anyone knows how to get around this, please advise.
>
>Thanks
>Angie

Hi Angie,

I can update the view for FP 2.5 free table just fine.
What type of buffering do you use? If table buffering, do you issue TABLEUPDATE() before you check the underlying table? Could be that underlying table is also buffered by any chance?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform