Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding records to a view
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01458650
Message ID:
01458651
Views:
51
>I am learning about using views to display child data and I can make it display perfectly (thank you again Sergy and Naomi), but I can not insert into the view any new data. I am using the command 'insert into' to perform the append as I do on tables. While in the debugger, after the insert command executes, I browse the view and do not see the update. I believe I have all the settings properly set in the view designer. This is really a straight forward view and all throughout the activity I receive no errors.
>
>Thanks again for your help,
>
>Gary

After the insert, try doing
if tableupdate(.t.,.t.,'myView')
  requery('myView')
endif
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform