Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GRid Manipulation
Message
 
À
12/04/2003 03:42:16
Kiran Bajaj
Yes Bank Ltd
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00776881
Message ID:
00776883
Vues:
10
Hi Kiran,

First put the values fetched to cursor like this
SELECT * from unfixeddealsregister WHERE customercd = vcustomercd into cursor CursResult

thisform.grid1.recordsource="CursResult"

then set individual columns
I hope this works.

Aashish

>I have a field customer code which is a user input text box. When the user inputs the text box - and clicks on refresh.
>
>The grid should fetch results based on the following criteria
>
>All code written against the Refresh button
>
>vcustomercd=ALLTRIM(thisform.Text1.text)
>** This is where the customer code gets captured
>
>WAIT WINDOW "Customer Code is "+vcustomercd
>** Displaying the customer code
>
>SELECT * from unfixeddealsregister WHERE customercd = vcustomercd
>** The Output of this should be directed to the grid which is associated with the table unfixeddealsregister
>
>Pls suggest a way out !
>
>Thx & Rgds,
>
>KB.
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform