>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