Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to: Create an temp update cursor (V6s5)
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How to: Create an temp update cursor (V6s5)
Miscellaneous
Thread ID:
00812227
Message ID:
00812227
Views:
70
Hi all

I require to create a cursor for temporary purposes. This cursor is supposed to have atleast one field yQty that is required to be updated programtically.

Is it possible? I tried creating a view out of it by adding CREATE SQL VIEW viewname AS .... followed by the SELECT statement that was working with INTO CURSOR cursname.
	CREATE SQL VIEW LKuInqQuotUnClrList AS ;
		SELECT iItemID, iSecUnitID, SUM(yQty - yClrQty) AS yQty, iSID ;
		FROM TempLKuInqQuotUnClr ;
		WHERE (yQty - yClrQty) # 0 ;
		GROUP BY iItemID, iSecUnitID, iSID
now it does not create any dataset.

Please advise.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform