Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can VFP clear tables used by ODBC?
Message
From
23/01/2003 16:17:31
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00744135
Message ID:
00744865
Views:
7
Thanks Mark,

I used your idea and did get it working with ODBC - I added this stored procedure:
PROCEDURE ClearViews()
	IF USED('TestView')
		USE IN TestView
	ENDIF
	RETURN .F.
ENDPROC
and I put this after the first SQLEXEC
SQLEXEC(lnConnection, [SELECT * FROM TestTable WHERE ClearViews()])
>Not with ODBC. Based on info I gleaned from previous threads here, if you use OLE DB provider for VFP, you could do this by calling a Stored Proc in the DBC that would either requery the view for you or close the view.
A fish this fine deserves to be a fish nugget styled chunklet.
- Fry
Previous
Reply
Map
View

Click here to load this message in the networking platform