Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go to top of grid
Message
From
12/10/2007 12:51:51
 
 
To
12/10/2007 12:37:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01260628
Message ID:
01260643
Views:
12
>>Just a quickie as I've been bug-fixing all day and have gone brain-dead.
>>
>>On p4 of my form I create a new set of Stops, with times, for a new variant of a bus route. I then send the results to a grid on p3 and set the focus on p3. But the grid is at the end of the list and I want it to be at the top.
>>
>>Bearing in mind I only have V7 how do I shoot to the top of the grid?
>>
>>'ppreciate it
>>
>>BTW locate in the cursor is no good as it's a set of m-to-m link records
>>.activatecell(1,1) does so but only to teh top of the records displayed in the grid.
>>
>>I could figure this out but this is wasting time
>>
>>'ppreciate it
>>
>>Terry
>
>
>select (grid.recordsource)
>locate
>grid.refresh
>
Grazzie Fabio.

That simply did the trick
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform