Thanks so much Stephen! I got it to work with your help!
--- In vantage@yahoogroups.com, "Stephen Edginton" <stephene@...> wrote:
>
> Basically to access pre-defined (native) controls you need to use the
> following syntax
>
>
>
> Csm.GetNativeControlReference("Guid-Of-The-Control")
>
>
>
> You can then cast this into the specific control Type and access its
> properties.
>
>
>
> However, if you are reading the value of the control, you should really
> be utilising the EpiDataView.
>
>
>
> Looking in the object explorer will give you an example of how to access
> these.
>
> The EpiDataView is simply a wrapper to the DataView object.
>
>
>
> Hope this helps
>
>
>
> Regards,
>
> Stephen
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of unackvi
> Sent: 10 March 2009 17:01
> To: vantage@yahoogroups.com
> Subject: [Vantage] Repost- please help with a script editor question...
>
>
>
> In the VB Script Editor on one of my Invoicing sheets:
> I am trying to see whats in my txtSoldToCustID field on the screen but I
> can't
> access it as easily as I can the Custom text control which is just using
> its
> name e.g. txtOnHold.Name
> I get an error message for the pre-defined text control if used by its
> name e.g.
> txtSoldToCustID.Value
>
> Do I need to reference it somehow?
>
> Please let me know if there is more info needed from the properties of
> the two
> controls in order to answer my question.
>
> This is probably an easy one but I am a newbie to this world!
> Thanks in advance!
>
>
>
> [Non-text portions of this message have been removed]
>