Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Lucy Alice Pilanga
  Where is Lucy Alice Pilanga?
 Metro Manila
 Philippines
 Lucy Alice Pilanga
 To: marc debisschop
  Where is marc debisschop?
 antwerpen
 Belgium
 marc debisschop
 Tags
Subject: RE: HEEEELP ! how to refresh a grid when ...
Thread ID: 34038 Message ID: 34055 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Grids
Date: Monday, December 08, 2003 4:54:12 AM         
   


if your thisform1.grid1.recordsource="table2"

then, i think u should do

thisform1.grid1.recordsource=""

first before adding a new record in table2 because form1.grid1's recordsource holds some records of table2. then after adding new record and closing the 2nd form, assign its recordsource again so that grid will be updated.

thisform1.grid1.recordsource="table2"

dont forget to refresh the grid.


-Lucy Alice
"I love this foXITE!"

ENTIRE THREAD

HEEEELP ! how to refresh a grid when ... Posted by marc debisschop @ 12/7/2003 4:52:32 PM
RE: HEEEELP ! how to refresh a grid when ... Posted by James Stewart @ 12/7/2003 8:13:36 PM
RE: HEEEELP ! how to refresh a grid when ... Posted by Lucy Alice Pilanga @ 12/8/2003 4:54:12 AM
YEEE ! it works - thanks a lot. Posted by marc debisschop @ 12/8/2003 10:16:46 PM