Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: anand kulkarni
  Where is anand kulkarni?
 sholapur
 India
 anand kulkarni
 To: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 Tags
Subject: RE: gride refresh
Thread ID: 209684 Message ID: 209824 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Wednesday, December 31, 2008 12:46:29 PM         
   


> > hi to all
> > i am useing vfp9 and msde2000 [ spt ] every thing is going fine . i have draged a gride control on a form and configured i.e. col-source,col-header and all misc. things. ( nothing in codeing just placed the gride on the form ) but when ever i select the appropriate records all those displys in gride but when i am inserting any record in that table that time gride control can't update it just shows a white background . when i close the form and again i load that form that time it displays the currently saved recored . i recreate the coursor after saving/updating the record to the table . i don't know where i am worong please help me
> > regards to all
> > anand
>
> What code are you using to insert the records into the cursor. Are you closing and reopening the cursor.
>
> Regards
> Tushar


hello tusharji
following is the code

tmp_trn=sqlexe(lnsql,"select * from otran ","tmp_trn")
**** after that error code
**sqlcommite
**tableupdate=(.t.)
** thisform.gride1.refresh
retu
regards
anand

ENTIRE THREAD

gride refresh Posted by anand kulkarni @ 12/30/2008 1:32:10 PM
RE: gride refresh Posted by Anders Altberg @ 12/30/2008 1:44:02 PM
RE: gride refresh Posted by anand kulkarni @ 12/30/2008 2:36:52 PM
RE: gride refresh Posted by Anders Altberg @ 12/30/2008 4:28:21 PM
RE: gride refresh Posted by anand kulkarni @ 12/31/2008 1:07:03 PM
RE: gride refresh Posted by Anders Altberg @ 1/1/2009 12:52:57 PM
RE: gride refresh Posted by anand kulkarni @ 1/12/2009 7:09:41 AM
RE: gride refresh Posted by surinder singh @ 1/13/2009 3:26:18 PM
RE: gride refresh Posted by anand kulkarni @ 1/23/2009 6:42:58 AM
RE: gride refresh Posted by tushar @ 12/30/2008 2:49:37 PM
RE: gride refresh Posted by anand kulkarni @ 12/31/2008 12:46:29 PM
RE: gride refresh Posted by tushar @ 1/1/2009 6:01:39 AM
RE: gride refresh Posted by anand kulkarni @ 1/12/2009 6:42:05 AM
RE: gride refresh Posted by Anders Altberg @ 1/1/2009 1:15:01 PM