Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to position to a specific Bizob record from code.
Message
De
24/07/2000 15:46:02
 
 
À
24/07/2000 14:19:37
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00396247
Message ID:
00396286
Vues:
12
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform