Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRid Manipulation
Message
 
To
12/04/2003 03:42:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00776881
Message ID:
00776883
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform