Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek Problem
Message
From
04/09/2003 04:28:04
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
04/09/2003 02:23:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00825901
Message ID:
00825912
Views:
16
Hi Ryan

The cursor should be on the middle record. If not, it is because there is no record matching lcValue.

This is how I would do it...

SELECT POMast01
SET ORDER TO PurNO
IF SEEK(m.lcValue)
BROWSE
ENDIF

The browse will only happen if there is a match. Don't specify alias and index tag in the seek function, because the first two lines do it.

>hi to all,
>i had a problem with this seek command :
>
>Select pomast01
> Set Order To purno
> =Seek(lcvalue,'pomast01','purno')
>
>in this case i need to apply
>the browse command to view a records in my grid and the cursor is always in the last record
>
>Select pomast01
> Set Order To purno
> =Seek(lcvalue,'pomast01','purno')
>browse
>
>i set exact to on and near to off
>
>tia.
Previous
Reply
Map
View

Click here to load this message in the networking platform