Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: M. Akram Bhatti
  Where is M. Akram Bhatti?
 Saudi Arabia
 M. Akram Bhatti
 To: FD MS
  Where is FD MS?
Subject: RE: grid with sql
Thread ID: 248768 Message ID: 248770 # Views: 1 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Wednesday, December 23, 2009 7:46:09 AM         

> hello friends, i need your advice...
> what is the best policy for fill a grid with a sql statement?...
> In my form, i have 3 textbox, for use as parameter of my sql statement... but how i begin?...
> grid.recordsource = ??? overall on the initial load of my form...
> Fedor Morales

You can have a button on the form with caption "Load" and make a method on the form "FillData" and write your code there. You can use either "SQL Statement" Or "Alias" as RecordSource Type for the Grid.



grid with sql Posted by Fedor Daniel Morales Sueno @ 12/23/2009 6:34:26 AM
RE: grid with sql Posted by M. Akram Bhatti @ 12/23/2009 7:46:09 AM
RE: grid with sql Posted by Kishore Kumar @ 12/23/2009 7:52:56 AM