Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updation of Views at runtime
Message
From
12/03/1999 05:10:40
 
 
To
12/03/1999 02:21:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00196672
Message ID:
00196697
Views:
22
>Hello,
>
>A view is created in the database Joining two tables, Now the view is updated automatically when I am appending the records in respective tables from the command box.
>
>But I am appending the records in the respective tables from the form but my grid of view is not refreshing. I came to conclusion that the view gets refresh only after
>
>dataenvironment.closetables() and dataenvironment.opentables() are issued, for which I have to close the form and re-load it. which is impraticle.
>
>Is there any better solution to update the view with closing the tables.
>

You can REQUERY() the view once the base table has been updated; make sure that you've issued TABLEUPDATE() to post changes into the base tables before issuing the REQUERY().

>
>Thanks and Regards
>Rajesh
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform