Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Nadeem Shah
  Where is Nadeem Shah?
 Rawalpindi
 Pakistan
 Nadeem Shah
 Tags
Subject: RE: Append blank
Thread ID: 143179 Message ID: 143268 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Monday, August 27, 2007 11:49:23 AM         
   


> Hi experts
> When I create new talbe, as and when use append blank command first time, my set focus command is not working but when one record adds then no problem.
> Sometime error record is out of range
> Any solution?
>
> Nadeem Iqbal

What is the relation between setting a focus and having at least one record? Are you talking about a grid control? If so then:

insert into myGridrecordsource (...) values (...)
thisform.myGrid.refresh

"Record is out of range" is hard to reproduce. Sometimes it may be related to an external index that is not updated, sometimes due to changes in grid rowheight at run time vice versa.

Cetin Basoz

ENTIRE THREAD

Append blank Posted by Syed Nadeem Iqbal @ 8/25/2007 7:11:25 PM
RE: Append blank Posted by Don Higgins @ 8/25/2007 7:34:10 PM
RE: Append blank Posted by Marcia Akins @ 8/25/2007 9:18:33 PM
RE: Append blank Posted by Don Higgins @ 8/26/2007 1:11:24 AM
RE: Append blank Posted by Borislav Borissov @ 8/25/2007 9:24:35 PM
RE: Append blank Posted by Cetin Basoz @ 8/27/2007 11:49:23 AM
RE: Append blank Posted by Syed Nadeem Iqbal @ 8/27/2007 8:01:18 PM
RE: Append blank Posted by Cetin Basoz @ 8/27/2007 9:00:46 PM
RE: Append blank Posted by Syed Nadeem Iqbal @ 8/28/2007 6:42:07 PM