Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refresh issue
Message
From
08/07/2003 16:22:27
 
 
To
08/07/2003 15:33:40
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00808189
Message ID:
00808219
Views:
15
What if your search form returns a record number and you use the record number in a Locate command to move the record pointer?
Do form SearchForm to lnFoundRek

Locate for RecNo() = lnFoundRek
or better yet use the Primary Key field.

Aloha,

James

>Hi.
>I want make a quick search utility form, called from other forms, by clicking on toolbar button or pressing Ctrl+F. It is a very simple modal form, it has only a textbox and two butons, 'Find' and 'Find again'. What I want (and I don't know how) is to refresh the grid on the calling form (if form is in "list view" mode) to show the new record if search was successful (the record mark on the left) in a similar way as the Find dialog in a Browse window. I have the calling form reference passed as parameter to search form and stored to a property, but the command :
>
>thisform.oCallingFormRef.Refresh
>
>
>doesn't work, just a "scroll" effect, the record mark isn't displayed.
>Any ideas?
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform