Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00769718
Message ID:
00769786
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform