Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Secondary BizObj view manipulation.
Message
De
14/03/2002 11:26:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Secondary BizObj view manipulation.
Divers
Thread ID:
00632801
Message ID:
00632801
Vues:
43
Hello everybody,
There is a cBizObjForm with CListObj on it along with two BizObj. On this form Init() I am calling secondary BizObj method that suppose to select it's InitialAlias (remote view),fix some data in it and the Append fixed data to the Primary BizObj InitialAlias.
The problem I've experienced was I couldn't select secondary BizObj InitialAlias (I need to get a COUNT). I've tried This.Requery() first (thought it will select it automatically), then THIS.SelectAlias() before Requery(), nothing worked meaning the selected view was Primary BizObj InitialALias. I did make it work by using CREATEOBJECT('CSelect','v_ViewName'). Just wondering is there a better way to do that?

Another quick question. Can I use a view name as a variable in the CREATEOBJECT('CSelect','ViewName')? I've tried CREATEOBJECT('CSelect',EVAL(lcViewName))and
CREATEOBJECT('CSelect',&lcViewName). Didn't work until I used actual view name. I am using EVAL,TRANSFORM and '&' a lot lately and would like to know what and where to use.
Thank you
Igor
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform