Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pavel Pipiska
  Where is Pavel Pipiska?
 Prievidza
 Slovakia
 Pavel Pipiska
 To: Ryss Unger
  Where is Ryss Unger?
 Cape Town
 South Africa
 Ryss Unger
 Tags
Subject: RE: Change order at grid
Thread ID: 388 Message ID: 418 # Views: 2 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Tuesday, May 29, 2001 3:44:46 AM         
   


> > > > I have grid with 5 columns and table with 5 indexes. At each header.click I have code for change index : set orde to T1 (T2,T3,....)
> > > > thisform.grid1.refresh
> > > > When I click at header of column index is set OK, also is changed recno. But I need that recno be always the same.
> > > >
> > > > Thanks, Paul
> > >
> > >
> > > >sele 'table'
> > > >mrec=recno()
> > > >set order to tag xxx
> > > >goto mrec
> > > >
> > > >John
> >
> > I tryed it. When I run it over debbuger, all is fine. But when I run it normally, it work same as before.
> >
> > Paul
> Hi Paul,
> Not quite sure waht you are getting but try adding thisform.grid1.setfocus tio the code posted by John above.
>
> If this does not work, tell us what record the record pointer is on.
>
> Regards
> Ryss

Hi Ryss

Can I send you simply example?

Paul

ENTIRE THREAD

Change order at grid Posted by Pavel Pipiska @ 5/26/2001 5:20:07 AM
RE: Change order at grid Posted by John Zylstra @ 5/26/2001 6:32:44 AM
RE: Change order at grid Posted by Pavel Pipiska @ 5/28/2001 7:40:17 AM
RE: Change order at grid Posted by Ryss Unger @ 5/28/2001 2:06:56 PM
RE: Change order at grid Posted by Pavel Pipiska @ 5/29/2001 3:44:46 AM
RE: Change order at grid Posted by Ryss Unger @ 5/29/2001 12:26:14 PM
RE: Change order at grid Posted by Ryss Unger @ 5/30/2001 1:16:08 PM