Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Set Near/recno(0) won't work
Message
 
 
À
11/01/2001 12:15:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00462328
Message ID:
00462399
Vues:
11
Hello, Wesley.

Check for the lenght of the string. If you'are using SET NEAR, and look for the string "WES" you can find "WESLEY", but if you look for "WES ", and there is no record begining with these exact characters, you'll end at EOF.

Hope this helps. Tell me if the problem persist.

>I have been searching the archives here for a while now and find several threads that seem on point, yet a solution is eluding me. I am simply trying to do a seek on an indexed table, which is bound to a grid on a form. I need the pointer to stop where it would as in SET NEAR ON. It's going to EOF.
>
>Pertinent info:
>-no dataenvironment is being used.
>-in the .init of the form, I SET NEAR ON, open the table, set the index order, set rowsourcetype=1 and rowsource='mytable'
>-form launches and displays the content of 'mytable' in the grid
>-I put the search string in a memory variable, and then conduct the search (SEEK) with a command button and then call grid.setfocus
>-the pointer keeps coming out at EOF.
>
>I know I'm probably missing something simple. Any help would be appreciated. Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform