>It is pretty simple, really.
>
>Option 1: Before you call the actual form, call a small form that contains only your search box. Make that form modal, so that it can return a value to your calling program/form. Then open the actual form and position it to the previously selected value/row.
>
>Option 2: Same as above, except make the small form invisible (Thisform.invisible = .T.), and have it's show() -method call its VPM Locate() -method. Create a locate list using the VPM form builder's list builder, which allows you to quickly and simply create a searchable/sortable selection list.
>
>This makes it look like the search list pops up first, and once you make a selection, the actual form pops up with the value selected from the search list (or doesn't pop up if search was canceled.
Thanks a lot, I'll try it tomorrow.
If it's not broken, fix it until it is.
My Blog