Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to: Create an temp update cursor (V6s5)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How to: Create an temp update cursor (V6s5)
Divers
Thread ID:
00812227
Message ID:
00812227
Vues:
71
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
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform