Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: Eric Puah
  Where is Eric Puah?
 
 Malaysia
 Eric Puah
Subject: RE: set cursor to grid record source
Thread ID: 185210 Message ID: 185215 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Tuesday, July 22, 2008 8:15:31 PM         
   



> Dear expert,
>
> How to write coding to let the grid record source point to a cursor record.



Thisform.YourGrid.RecordSource=YourCursorName

As soon as you do this, the grid will change so that all headers are field names, all the controlsource of columns are the fields of the cursor in the same sequence. So you may then have to change the caption of the headers etc.

Regards
Tushar

ENTIRE THREAD

set cursor to grid record source Posted by Eric Puah @ 7/22/2008 8:01:05 PM
RE: set cursor to grid record source Posted by tushar @ 7/22/2008 8:15:31 PM
RE: set cursor to grid record source Posted by Eric Puah @ 7/23/2008 6:47:25 PM
RE: set cursor to grid record source Posted by Stefan Wuebbe @ 7/23/2008 6:56:38 PM