Disabling MES auto populate at the operation

The backspace seems to be working fine.

Thanks,

--SF


--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...> wrote:
>
>
> Yes, your correct, and now the error has gone away. But, now it
> autocompletes and highlights the first autocomplete. Maybe I could
> add a backspace to my barcode to start from scratch?
>
> --SF
>
> --- In vantage@yahoogroups.com, "Michael McWilliams"
> <mmcwilliams22@> wrote:
> >
> > Under the Module script put this in:
> >
> > Dim cmbJobOpr As EpiCombo
> >
> >
> > Then after the end sub for Destroy custom code add this:
> >
> > Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> > args As EventArgs) Handles StartProdForm.Load
> >
> > cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-
4205-
> > b17a-def6a7469d8f"),EpiCombo)
> > cmbJobOpr.AutoEdit = False
> >
> > End Sub
> >
> >
> > --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> > wrote:
> > >
> > > How can I disable MES from auto populating the operation
number?
> > For
> > > example, a user enters job # 24810-1-1 tabs to assembly select
0
> > tabs
> > > to operation types 1, and this is where it assumes you want 10
> or,
> > if
> > > you enter 10, it assumes you want operation 100, how do I stop
> > this?
> > >
> > > Thanks,
> > >
> > > --SF
> > >
> >
>
How can I disable MES from auto populating the operation number? For
example, a user enters job # 24810-1-1 tabs to assembly select 0 tabs
to operation types 1, and this is where it assumes you want 10 or, if
you enter 10, it assumes you want operation 100, how do I stop this?

Thanks,

--SF
Under the Module script put this in:

Dim cmbJobOpr As EpiCombo


Then after the end sub for Destroy custom code add this:

Private Sub StartProdForm_Load(ByVal sender As object, ByVal
args As EventArgs) Handles StartProdForm.Load

cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-4205-
b17a-def6a7469d8f"),EpiCombo)
cmbJobOpr.AutoEdit = False

End Sub


--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...>
wrote:
>
> How can I disable MES from auto populating the operation number?
For
> example, a user enters job # 24810-1-1 tabs to assembly select 0
tabs
> to operation types 1, and this is where it assumes you want 10 or,
if
> you enter 10, it assumes you want operation 100, how do I stop
this?
>
> Thanks,
>
> --SF
>
Thanks for the response, but I'm getting this error message:


----------errors------------

Error: BC30506 - line 61 (117) - Handles clause requires a
WithEvents variable defined in the containing type or one of its base
types.

** Compile Failed. **



--- In vantage@yahoogroups.com, "Michael McWilliams"
<mmcwilliams22@...> wrote:
>
> Under the Module script put this in:
>
> Dim cmbJobOpr As EpiCombo
>
>
> Then after the end sub for Destroy custom code add this:
>
> Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> args As EventArgs) Handles StartProdForm.Load
>
> cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-4205-
> b17a-def6a7469d8f"),EpiCombo)
> cmbJobOpr.AutoEdit = False
>
> End Sub
>
>
> --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> wrote:
> >
> > How can I disable MES from auto populating the operation number?
> For
> > example, a user enters job # 24810-1-1 tabs to assembly select 0
> tabs
> > to operation types 1, and this is where it assumes you want 10
or,
> if
> > you enter 10, it assumes you want operation 100, how do I stop
> this?
> >
> > Thanks,
> >
> > --SF
> >
>
The two items below should be one line each not two lines... I am
guessing you pasted it in?

Private Sub StartProdForm_Load(ByVal sender As object, ByVal
args As EventArgs) Handles StartProdForm.Load



cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-4205-
b17a-def6a7469d8f"),EpiCombo)




--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...>
wrote:
>
> Thanks for the response, but I'm getting this error message:
>
>
> ----------errors------------
>
> Error: BC30506 - line 61 (117) - Handles clause requires a
> WithEvents variable defined in the containing type or one of its
base
> types.
>
> ** Compile Failed. **
>
>
>
> --- In vantage@yahoogroups.com, "Michael McWilliams"
> <mmcwilliams22@> wrote:
> >
> > Under the Module script put this in:
> >
> > Dim cmbJobOpr As EpiCombo
> >
> >
> > Then after the end sub for Destroy custom code add this:
> >
> > Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> > args As EventArgs) Handles StartProdForm.Load
> >
> > cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-
4205-
> > b17a-def6a7469d8f"),EpiCombo)
> > cmbJobOpr.AutoEdit = False
> >
> > End Sub
> >
> >
> > --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> > wrote:
> > >
> > > How can I disable MES from auto populating the operation
number?
> > For
> > > example, a user enters job # 24810-1-1 tabs to assembly select
0
> > tabs
> > > to operation types 1, and this is where it assumes you want 10
> or,
> > if
> > > you enter 10, it assumes you want operation 100, how do I stop
> > this?
> > >
> > > Thanks,
> > >
> > > --SF
> > >
> >
>
I made sure that there are only two lines total. I'm stilling
getting that error message.

Thanks,

--SF

--- In vantage@yahoogroups.com, "Michael McWilliams"
<mmcwilliams22@...> wrote:
>
> The two items below should be one line each not two lines... I am
> guessing you pasted it in?
>
> Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> args As EventArgs) Handles StartProdForm.Load
>
>
>
> cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-4205-
> b17a-def6a7469d8f"),EpiCombo)
>
>
>
>
> --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> wrote:
> >
> > Thanks for the response, but I'm getting this error message:
> >
> >
> > ----------errors------------
> >
> > Error: BC30506 - line 61 (117) - Handles clause requires a
> > WithEvents variable defined in the containing type or one of its
> base
> > types.
> >
> > ** Compile Failed. **
> >
> >
> >
> > --- In vantage@yahoogroups.com, "Michael McWilliams"
> > <mmcwilliams22@> wrote:
> > >
> > > Under the Module script put this in:
> > >
> > > Dim cmbJobOpr As EpiCombo
> > >
> > >
> > > Then after the end sub for Destroy custom code add this:
> > >
> > > Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> > > args As EventArgs) Handles StartProdForm.Load
> > >
> > > cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-
> 4205-
> > > b17a-def6a7469d8f"),EpiCombo)
> > > cmbJobOpr.AutoEdit = False
> > >
> > > End Sub
> > >
> > >
> > > --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> > > wrote:
> > > >
> > > > How can I disable MES from auto populating the operation
> number?
> > > For
> > > > example, a user enters job # 24810-1-1 tabs to assembly
select
> 0
> > > tabs
> > > > to operation types 1, and this is where it assumes you want
10
> > or,
> > > if
> > > > you enter 10, it assumes you want operation 100, how do I
stop
> > > this?
> > > >
> > > > Thanks,
> > > >
> > > > --SF
> > > >
> > >
> >
>
Sorry I made the assumption you were talking about the Start
Production Activity form. What form are you using?

--- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@...>
wrote:
>
> I made sure that there are only two lines total. I'm stilling
> getting that error message.
>
> Thanks,
>
> --SF
>
> --- In vantage@yahoogroups.com, "Michael McWilliams"
> <mmcwilliams22@> wrote:
> >
> > The two items below should be one line each not two lines... I
am
> > guessing you pasted it in?
> >
> > Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> > args As EventArgs) Handles StartProdForm.Load
> >
> >
> >
> > cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-
4205-
> > b17a-def6a7469d8f"),EpiCombo)
> >
> >
> >
> >
> > --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> > wrote:
> > >
> > > Thanks for the response, but I'm getting this error message:
> > >
> > >
> > > ----------errors------------
> > >
> > > Error: BC30506 - line 61 (117) - Handles clause requires a
> > > WithEvents variable defined in the containing type or one of
its
> > base
> > > types.
> > >
> > > ** Compile Failed. **
> > >
> > >
> > >
> > > --- In vantage@yahoogroups.com, "Michael McWilliams"
> > > <mmcwilliams22@> wrote:
> > > >
> > > > Under the Module script put this in:
> > > >
> > > > Dim cmbJobOpr As EpiCombo
> > > >
> > > >
> > > > Then after the end sub for Destroy custom code add this:
> > > >
> > > > Private Sub StartProdForm_Load(ByVal sender As
object, ByVal
> > > > args As EventArgs) Handles StartProdForm.Load
> > > >
> > > > cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-
d636-
> > 4205-
> > > > b17a-def6a7469d8f"),EpiCombo)
> > > > cmbJobOpr.AutoEdit = False
> > > >
> > > > End Sub
> > > >
> > > >
> > > > --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> > > > wrote:
> > > > >
> > > > > How can I disable MES from auto populating the operation
> > number?
> > > > For
> > > > > example, a user enters job # 24810-1-1 tabs to assembly
> select
> > 0
> > > > tabs
> > > > > to operation types 1, and this is where it assumes you
want
> 10
> > > or,
> > > > if
> > > > > you enter 10, it assumes you want operation 100, how do I
> stop
> > > > this?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --SF
> > > > >
> > > >
> > >
> >
>
Yes, your correct, and now the error has gone away. But, now it
autocompletes and highlights the first autocomplete. Maybe I could
add a backspace to my barcode to start from scratch?

--SF

--- In vantage@yahoogroups.com, "Michael McWilliams"
<mmcwilliams22@...> wrote:
>
> Under the Module script put this in:
>
> Dim cmbJobOpr As EpiCombo
>
>
> Then after the end sub for Destroy custom code add this:
>
> Private Sub StartProdForm_Load(ByVal sender As object, ByVal
> args As EventArgs) Handles StartProdForm.Load
>
> cmbJobOpr = Ctype(csm.GetNativeControlReference("4469529c-d636-4205-
> b17a-def6a7469d8f"),EpiCombo)
> cmbJobOpr.AutoEdit = False
>
> End Sub
>
>
> --- In vantage@yahoogroups.com, "sanfranc415" <sanfranc415@>
> wrote:
> >
> > How can I disable MES from auto populating the operation number?
> For
> > example, a user enters job # 24810-1-1 tabs to assembly select 0
> tabs
> > to operation types 1, and this is where it assumes you want 10
or,
> if
> > you enter 10, it assumes you want operation 100, how do I stop
> this?
> >
> > Thanks,
> >
> > --SF
> >
>