So now I'm getting the following error:
Control with specified EpiGuid property does not exist
I copied the GUID (bc25a643-4207-4bad-81fc-e3bd352d401f) right from the properties.
For a textbox that I create and place on the form, I'm able to us its GUID successfully, but for stock fields, the GUID is not recognized.
What am I missing???
Thanks.
Control with specified EpiGuid property does not exist
I copied the GUID (bc25a643-4207-4bad-81fc-e3bd352d401f) right from the properties.
For a textbox that I create and place on the form, I'm able to us its GUID successfully, but for stock fields, the GUID is not recognized.
What am I missing???
Thanks.
--- In vantage@yahoogroups.com, John Driggers <waffqle@...> wrote:
>
> The second line needs to go down in the 'InitializeCustomCode' function.
> You can't call methods outside of a method.
> *John Driggers*
> **
> *Chief Data Wrangler*
> *
> *
> *I have an Epicor blog <http://usdoingstuff.com/>. How useful is that?*
> *
> *:: 904.404.9233
> :: waffqle@...
> :: http://www.usdoingstuff.com <http://www.usdoingstuff.com/>
>
> *
>
> *
>
>
>
> On Tue, Sep 25, 2012 at 2:59 PM, calpse <lantz.chris@...> wrote:
>
> > **
> >
> >
> > Hmmm...now it's complaining about "Declaration Expected" on the
> > txtJobNumber = csm... line.
> >
> > --- In vantage@yahoogroups.com, John Driggers <waffqle@> wrote:
> > >
> > > You need to instantiate your txtBox to the one on the form. Right now
> > > you're just creating a new one and watching it.
> > >
> > > Your code should look something like:
> > >
> > > Private WithEvents txtJobNumber As EpiTextBox
> > > txtJobNumber = csm.GetNativeControlReference(<guid of desired control>)
> > >
> > > Private Sub txtJobNumber_GotFocus(ByVal Sender As Object, ByVal Args As
> > > System.EventArgs) Handles txtJobNumber.GotFocus
> > >
> > > *John Driggers*
> > > **
> > > *Chief Data Wrangler*
> > > *
> > > *
> > > *I have an Epicor blog <http://usdoingstuff.com/>. How useful is that?*
> > > *
> > > *:: 904.404.9233
> > > :: waffqle@
> > > :: http://www.usdoingstuff.com <http://www.usdoingstuff.com/>
> > >
> > > *
> > >
> > > *
> > >
> > >
> > >
> > > On Fri, Sep 21, 2012 at 10:28 AM, calpse <lantz.chris@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > Thanks, but I'm actually stuck just getting the LostFocus event
> > registered
> > > > for that field. The following code doesn't seem to do anything, and I'm
> > > > just not sure how to declare the variable in the WithEvents statement.
> > What
> > > > do I need to put in place of txtJobNumber so that it maps to the field
> > on
> > > > the form? txtJobNumber is the Name specified in the properties.
> > > >
> > > > Private WithEvents txtJobNumber As EpiTextBox
> > > >
> > > > Private Sub txtJobNumber_GotFocus(ByVal Sender As Object, ByVal Args As
> > > > System.EventArgs) Handles txtJobNumber.GotFocus
> > > >
> > > > --- In vantage@yahoogroups.com, John Driggers <waffqle@> wrote:
> > > > >
> > > > > If you want the actual value of the field you just need to grab the
> > > > epicor
> > > > > instance using the csm.
> > > > > csm.GetNativeControlInstance(<guid of the control you want>);
> > > > >
> > > > > If you look at the properties of the field in the customization
> > screen,
> > > > > you'll find the guid in there.
> > > > >
> > > > > That said, it's generally preferable to just grab the dataview and
> > work
> > > > > from there. Use the Object Explorer to find the dataview you need
> > and the
> > > > > code to access it.
> > > > >
> > > > >
> > > > >
> > > > > *John Driggers*
> > > > > **
> > > > > *Chief Data Wrangler*
> > > > > *
> > > > > *
> > > > > *I have an Epicor blog <http://usdoingstuff.com/>. How useful is
> > that?*
> > > > > *
> > > > > *:: 904.404.9233
> > > > > :: waffqle@
> > > > > :: http://www.usdoingstuff.com <http://www.usdoingstuff.com/>
> > > > >
> > > > > *
> > > > >
> > > > > *
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Sep 20, 2012 at 11:36 AM, calpse <lantz.chris@> wrote:
> > > > >
> > > > > > **
> > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > OK, thanks. But how can I grab the value of the Job Number
> > field...I'm
> > > > not
> > > > > > sure how to declare the WithEvents statement.
> > > > > >
> > > > > >
> > > > > > --- In vantage@yahoogroups.com, Jose Gomez <jose@> wrote:
> > > > > > >
> > > > > > > You can'nt you have to register interest on the event yourself
> > which
> > > > will
> > > > > > > be fired after the base one.
> > > > > > >
> > > > > > > *Jose C Gomez*
> > > > > > > *Software Engineer*
> > > > > > > *
> > > > > > > *
> > > > > > > *
> > > > > > > *T: 904.469.1524 mobile
> > > > > > > E: jose@
> > > > > >
> > > > > > > http://www.josecgomez.com
> > > > > > > <http://www.linkedin.com/in/josecgomez> <
> > > > > > http://www.facebook.com/josegomez>
> > > > > > > <http://www.google.com/profiles/jose.gomez> <
> > > > > > http://www.twitter.com/joc85>
> > > > > > > <http://www.josecgomez.com/professional-resume/>
> > > > > > > <http://www.josecgomez.com/feed/>
> > > > > > > <http://www.usdoingstuff.com>
> > > > > > >
> > > > > > > *Quis custodiet ipsos custodes?*
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Sep 18, 2012 at 9:10 PM, calpse <lantz.chris@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > > > >
> > > > > > > >
> > > > > > > > In Vista 8.03.409C, in Job Entry, when you select New Demand
> > > > > > Link--Make To
> > > > > > > > Job, focus is placed in the txtJobNumber field, which seems to
> > > > have a
> > > > > > > > LostFocus event defined that validates the Job Number entered.
> > > > Where
> > > > > > can I
> > > > > > > > find and how can I add code to this existing event handler?
> > > > > > > >
> > > > > > > > Thanks.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>