Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to position to a specific Bizob record from code.
Message
From
24/07/2000 15:46:02
 
 
To
24/07/2000 14:19:37
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00396247
Message ID:
00396286
Views:
11
>I have been writing code to locate, seek, etc for my 0wn views and cursors, but am not sure if I use the same technique for bizobj data environments in code. For example, my account bizobj that I use with a find form, has a single view parameter by unique id (primary key).
>
>I want to allow the user to enter a full account number (another key) to locate the record if they know it. If I just "locate for account_number = ", is the bizobj happy, or do I have to use bizobj.requery to move to a specific record, or are there methods I have to run to keep the bizobj updated with what I've done in code?
>
>Thanks,
>
>Gary.

Gary,

A parameterized view is probably the best way to extract the information you need. Take a look at the clientfindform in the MM examples to see a good example of what you are trying to accomplish. More specifically, take a look at the click event of the "find now" command button. This should suffice nicely for you.
Previous
Reply
Map
View

Click here to load this message in the networking platform