Customized Form Errors

I have also set up a reference to the control and then added a event
handler to make the control's visibility false if it changes and is
true.

Many ways to accompish a task :o)

bw

--- In vantage@yahoogroups.com, "Scott Litzau" <scott.litzau@...>
wrote:
>
> I have set up some controls with a Width and Length of zero to make
them not
> visible because the visible property does not override the code
that loads
> with the form.
>
> Scott
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
Behalf Of
> pvolkert365
> Sent: Saturday, September 01, 2007 9:19 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Customized Form Errors
>
> Besides moving the control behind another control, another
effective
> (and possibly easier) method, is to just relocate the control to a
> point outside the box it is in. Make the X or Y axis coordinate
> large enough so the control moves out of sight. It can still be
> found in the tree view if you want to get it back. The "visible"
> property does not seem to be reliable.
>
> -Peter Volkert
>
> --- In vantage@yahoogroups.com, Fons van der Beek
> <fons.vanderbeek@> wrote:
> >
> > I can't help you on the first problem.
> > You could take a look at the script by selecting "all code" this
> read
> > only, but it may show something that you can resolve to your
> error........
> >
> > The second problem can be solved by a work around..............:
> >
> > By moving the button you want to hide BEHIND another field, be
> sure to
> > set the order of the field to be hidden is behind the other field.
> > (bring forward, backward)
> > On some forms this is the only way to hide programmed in buttons
> which
> > occasionally popup.
> >
> > You also may want to change the tab order.
> >
> >
> >
> >
> > dub554 schreef:
> > > On my custom form, I get 2 errors when loading it. The first I
> assume
> > > has to do with a Foreign Key, however, the weird thing is that
I
> have
> > > zero foreign keys in my Data Tools.
> > >
> > > The second involves the already programmed-in button that comes
> on the
> > > base model of most forms. I do not need this button, so I have
> > > deleted its binding, set enabled = false, and set visible =
> false.
> > > How do I get this nuisance to go away?
> > >
> > > Any input on these errors would help me greatly...
> > >
> > > 1) Error Detail
> > > ============
> > > Invalid FKView registration, count of Binding strings must
> > > match ValidationType from ContextMenu.xml
> > >
> > >
> > >
> > > 2) Error Detail
> > > ============
> > > Object reference not set to an instance of an object.
> > >
> > >
> > > Stack Trace
> > > ===========
> > > at Epicor Mfg.UI.FrameWork.EpiUIUtils.
> > > reParentEpiButtonEpiKeyFields()
> > >
> > >
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note:
> You must have already linked your email address to a yahoo id to
> enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report
> Builder and Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services
goto:
> http://groups.yahoo.com/group/vantage/links
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
>
>
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report
Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/links
> Yahoo! Groups Links
>
On my custom form, I get 2 errors when loading it. The first I assume
has to do with a Foreign Key, however, the weird thing is that I have
zero foreign keys in my Data Tools.

The second involves the already programmed-in button that comes on the
base model of most forms. I do not need this button, so I have
deleted its binding, set enabled = false, and set visible = false.
How do I get this nuisance to go away?

Any input on these errors would help me greatly...

1) Error Detail
============
Invalid FKView registration, count of Binding strings must
match ValidationType from ContextMenu.xml



2) Error Detail
============
Object reference not set to an instance of an object.


Stack Trace
===========
at Epicor Mfg.UI.FrameWork.EpiUIUtils.
reParentEpiButtonEpiKeyFields()
I can't help you on the first problem.
You could take a look at the script by selecting "all code" this read
only, but it may show something that you can resolve to your error........

The second problem can be solved by a work around..............:

By moving the button you want to hide BEHIND another field, be sure to
set the order of the field to be hidden is behind the other field.
(bring forward, backward)
On some forms this is the only way to hide programmed in buttons which
occasionally popup.

You also may want to change the tab order.




dub554 schreef:
> On my custom form, I get 2 errors when loading it. The first I assume
> has to do with a Foreign Key, however, the weird thing is that I have
> zero foreign keys in my Data Tools.
>
> The second involves the already programmed-in button that comes on the
> base model of most forms. I do not need this button, so I have
> deleted its binding, set enabled = false, and set visible = false.
> How do I get this nuisance to go away?
>
> Any input on these errors would help me greatly...
>
> 1) Error Detail
> ============
> Invalid FKView registration, count of Binding strings must
> match ValidationType from ContextMenu.xml
>
>
>
> 2) Error Detail
> ============
> Object reference not set to an instance of an object.
>
>
> Stack Trace
> ===========
> at Epicor Mfg.UI.FrameWork.EpiUIUtils.
> reParentEpiButtonEpiKeyFields()
>
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/links
> Yahoo! Groups Links
>
>
>
>
Besides moving the control behind another control, another effective
(and possibly easier) method, is to just relocate the control to a
point outside the box it is in. Make the X or Y axis coordinate
large enough so the control moves out of sight. It can still be
found in the tree view if you want to get it back. The "visible"
property does not seem to be reliable.

-Peter Volkert

--- In vantage@yahoogroups.com, Fons van der Beek
<fons.vanderbeek@...> wrote:
>
> I can't help you on the first problem.
> You could take a look at the script by selecting "all code" this
read
> only, but it may show something that you can resolve to your
error........
>
> The second problem can be solved by a work around..............:
>
> By moving the button you want to hide BEHIND another field, be
sure to
> set the order of the field to be hidden is behind the other field.
> (bring forward, backward)
> On some forms this is the only way to hide programmed in buttons
which
> occasionally popup.
>
> You also may want to change the tab order.
>
>
>
>
> dub554 schreef:
> > On my custom form, I get 2 errors when loading it. The first I
assume
> > has to do with a Foreign Key, however, the weird thing is that I
have
> > zero foreign keys in my Data Tools.
> >
> > The second involves the already programmed-in button that comes
on the
> > base model of most forms. I do not need this button, so I have
> > deleted its binding, set enabled = false, and set visible =
false.
> > How do I get this nuisance to go away?
> >
> > Any input on these errors would help me greatly...
> >
> > 1) Error Detail
> > ============
> > Invalid FKView registration, count of Binding strings must
> > match ValidationType from ContextMenu.xml
> >
> >
> >
> > 2) Error Detail
> > ============
> > Object reference not set to an instance of an object.
> >
> >
> > Stack Trace
> > ===========
> > at Epicor Mfg.UI.FrameWork.EpiUIUtils.
> > reParentEpiButtonEpiKeyFields()
> >
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:
You must have already linked your email address to a yahoo id to
enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report
Builder and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
> > Yahoo! Groups Links
> >
> >
> >
> >
>
I have set up some controls with a Width and Length of zero to make them not
visible because the visible property does not override the code that loads
with the form.

Scott

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
pvolkert365
Sent: Saturday, September 01, 2007 9:19 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Customized Form Errors

Besides moving the control behind another control, another effective
(and possibly easier) method, is to just relocate the control to a
point outside the box it is in. Make the X or Y axis coordinate
large enough so the control moves out of sight. It can still be
found in the tree view if you want to get it back. The "visible"
property does not seem to be reliable.

-Peter Volkert

--- In vantage@yahoogroups.com, Fons van der Beek
<fons.vanderbeek@...> wrote:
>
> I can't help you on the first problem.
> You could take a look at the script by selecting "all code" this
read
> only, but it may show something that you can resolve to your
error........
>
> The second problem can be solved by a work around..............:
>
> By moving the button you want to hide BEHIND another field, be
sure to
> set the order of the field to be hidden is behind the other field.
> (bring forward, backward)
> On some forms this is the only way to hide programmed in buttons
which
> occasionally popup.
>
> You also may want to change the tab order.
>
>
>
>
> dub554 schreef:
> > On my custom form, I get 2 errors when loading it. The first I
assume
> > has to do with a Foreign Key, however, the weird thing is that I
have
> > zero foreign keys in my Data Tools.
> >
> > The second involves the already programmed-in button that comes
on the
> > base model of most forms. I do not need this button, so I have
> > deleted its binding, set enabled = false, and set visible =
false.
> > How do I get this nuisance to go away?
> >
> > Any input on these errors would help me greatly...
> >
> > 1) Error Detail
> > ============
> > Invalid FKView registration, count of Binding strings must
> > match ValidationType from ContextMenu.xml
> >
> >
> >
> > 2) Error Detail
> > ============
> > Object reference not set to an instance of an object.
> >
> >
> > Stack Trace
> > ===========
> > at Epicor Mfg.UI.FrameWork.EpiUIUtils.
> > reParentEpiButtonEpiKeyFields()
> >
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note:
You must have already linked your email address to a yahoo id to
enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report
Builder and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
> > Yahoo! Groups Links
> >
> >
> >
> >
>




Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Yahoo! Groups Links