Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Foxhound
  Where is Foxhound?
 Foxhole
 Indonesia
 Foxhound
 To: Rajesh Chandran
  Where is Rajesh Chandran?
 Mumbai
 India
 Rajesh Chandran
 Tags
Subject: RE: Grid control
Thread ID: 33845 Message ID: 33847 # Views: 1 # Ratings: 0
Version: Visual FoxPro 3 Category: Grids
Date: Thursday, December 04, 2003 10:03:56 AM         
   


The reason is when you issuing PACK, VFP will close and reopen the table. Just when VFP close the table, your grid lost it's record source. If you want to display the remaining records. Do this

thisform.grid.recordsource=''
select (mytable)
PACK
thisform.grid.recordsource=mytable


FoxHound
---------------------------------------------------------
Staying in your foxhole can not help you mastering foxpro
but stop being an ...hole can help you become a pro

ENTIRE THREAD

Grid control Posted by Rajesh Chandran @ 12/4/2003 9:59:37 AM
RE: Grid control Posted by Foxhound @ 12/4/2003 10:03:56 AM
RE: Grid control Posted by James Stewart @ 12/4/2003 10:04:30 AM
RE: Grid control Posted by Foxhound @ 12/5/2003 3:23:20 PM