Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select query
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00769718
Message ID:
00769786
Views:
15
>local inout,vari_o
>
>inout = alltrim(thisform.txttofrm.value)
>
>SELECT i_o FROM tofrmtbl WHERE tofrm = inout
>AND DELETED() = .F. into cursor io
>
>Only one record will come in the cursor. so i want to assign the value of the cursor (io) to a variable (vari_o)
>
>Thank you.

select into an array, and you are done.
SELECT i_o FROM tofrmtbl WHERE tofrm = inout
AND DELETED() = .F. into ARRAY io
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform