Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I update a 2 table view with changes??
Message
From
26/07/2000 21:37:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How do I update a 2 table view with changes??
Miscellaneous
Thread ID:
00397399
Message ID:
00397399
Views:
49
I have this view that has fields from 2 tables:

BATCH.BANUMBER and PRODUCT.PRNAME

These 2 tables are linked by BATCH.BAPRID = PRODUCT.PRID

I created the view and use it on a form as the source for a Combo Box.
This works fine but..

The combo box will not reflect the current status of the batch or product tables. For instance if I ADD a new BATCH record and link it to a product, there should now be a new record in the combo dropdown. But despite doing a cmbCombo.REQUERY this is not so. The same with a BROWSE of the view as also when a record is deleted or edited.

IS there a way to make the view update with changes made to either PRODUCT or BATCH table so the combobox always displays the current data?

I have tried everything possible in the view designer but cannot get this to work.

Bernatd
Next
Reply
Map
View

Click here to load this message in the networking platform