Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does this work?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00138352
Message ID:
00139025
Vues:
24
>Paul,
>
>Since your modal form's DataSession property is set to "1 - Default Datasession", then it shares the DataSession of the calling form and therefore has access to all of views loaded in the calling form's DataSession. This is also true of the record pointer...if the record pointer is set to a particular record in the calling form, it will be pointing to the same record in the modal form.


Ah, OK. So VFP is smart enough to know if I select something off the list, it moves the record pointer to that record.

>There are a variety of reasons that you may be causing you to get this error. Based on the error, I suspect that either lcBaseTable or lcPrimaryKey contains an invalid value. First of all, you may want to go back and check to make sure your view has been set up properly. After that, I recommend placing the following code in your business object's OnNew() method and stepping through the code:
>
>SET STEP ON
>DODEFAULT()
>

OK, thanks.

-Paul
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform