Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relativerow property
Message
From
02/08/2006 07:02:30
 
 
To
02/08/2006 06:57:13
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01142100
Message ID:
01142338
Views:
23
>I tried and it works
>Thank you Tore

You're welcome!

>>I showed you how to get what you want, did you try it?
>>
>>>Record is now displayed in the right position but the grid formatting went
>>>lost .
>>>I tried imposing grid.recordsource = '' before your code but...doesn't work
>>>
>>>
>>>Fabio, il record ora rimane visualizzato nell posizione giusta ma mi salta
>>>completamente la formattazione del grid.
>>>Ho anche provato con grid.recordsource = '' prima del tuo suggeriimento ma
>>>stranamente non funziona.
>>>Come mai ?
>>>Grazie
>>>Alessio
>>>
>>>>>It works but i still have a little problem :
>>>>>before starting the procedure to get the new cursor i call the activatecell(1,1) method, get the PK then call the procedure and locate for the PK again
>>>>>then refresh the grid.
>>>>>The record is placed at the half of the rows in the grid....
>>>>>is there a way to put it in the first one ?
>>>>>Thx again
>>>>>Alessio
>>>>
>>>>try:
>>>>
>>>>replace grid.refresh with:
>>>>
>>>>....grid.RecordSource = ....grid.RecordSource
>>>>
>>>>
>>>>but...
Previous
Reply
Map
View

Click here to load this message in the networking platform