Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CListObj and .AddViewParameter()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CListObj and .AddViewParameter()
Divers
Thread ID:
00265175
Message ID:
00265175
Vues:
56
ver4.2

First I tried to roll my own cGridList inside of a ContainerX... but I couldnt figure out the right place to call .RegisterBizObj()

So now I'm trying to do the same kind of thing with cListObj. When I dig into this control to get to the BizObj via Builder, and try to issue This.AddViewParameter('tnRateYear', '1999') in the PostInitHook I keep getting Property is not found error.

tnRateYear is defined as the view parameter in the single view that the data environment opens. It is a numeric value & I've tried all sorts of quote mark combinations around the constant in the AddViewParameters()call including This.AddViewParameter('tnRateYear', 1999) and This.AddViewParameter('tnRateYear', "'1999'"). What's the deal?
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform