Customization in V8

Mark,

I think that is definately a possible solution. However, there are
other things I'd like to do beyond this example. Plus, I'm more a
Coder than a DBA, so I'd like to know how to do it in code just for
the sake of knowing.

Cheers!
James

--- In vantage@yahoogroups.com, "Mark Wonsil" <mark_wonsil@y...>
wrote:
>
> > I added a check box to the order entry screen in V8, and would
like it
> > to default as checked when the form loads, for a new record. I
assume
> > I would handle it in the Form Event Wizards, but I'm having
> > difficulties in getting it to work. I would think this is a
simple
> > enough thing to do. Can anyone tell me if I am approaching this
> > correctly, and how I might reference the fields?
>
> Still new to Vantage but I was looking through the schema (as an
educational
> exercise) and see that there is a place for a default values for
each field.
> Can you just indicate the field as checked in the database schema?
>
> Mark W.
>
I added a check box to the order entry screen in V8, and would like it
to default as checked when the form loads, for a new record. I assume
I would handle it in the Form Event Wizards, but I'm having
difficulties in getting it to work. I would think this is a simple
enough thing to do. Can anyone tell me if I am approaching this
correctly, and how I might reference the fields?

Thanks,
James
Sorry James. Misread your post. My reply will not work for you.



_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
jameswi2000
Sent: Sunday, November 13, 2005 2:45 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Customization in V8



I added a check box to the order entry screen in V8, and would like it
to default as checked when the form loads, for a new record. I assume
I would handle it in the Form Event Wizards, but I'm having
difficulties in getting it to work. I would think this is a simple
enough thing to do. Can anyone tell me if I am approaching this
correctly, and how I might reference the fields?

Thanks,
James





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/.
<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




SPONSORED LINKS


Manufacturing
<http://groups.yahoo.com/gads?t=ms&k=Manufacturing+software&w1=Manufacturing
+software&w2=Membership+database+software&w3=Database+mortgage+software&w4=P
da+database+software&w5=Database+management+software&w6=Database+marketing+s
oftware&c=6&s=188&.sig=OG5F3819UOUOg63i0bu6kA> software

Membership
<http://groups.yahoo.com/gads?t=ms&k=Membership+database+software&w1=Manufac
turing+software&w2=Membership+database+software&w3=Database+mortgage+softwar
e&w4=Pda+database+software&w5=Database+management+software&w6=Database+marke
ting+software&c=6&s=188&.sig=N5BGdur84p-jyuOomcQdbQ> database software

Database
<http://groups.yahoo.com/gads?t=ms&k=Database+mortgage+software&w1=Manufactu
ring+software&w2=Membership+database+software&w3=Database+mortgage+software&
w4=Pda+database+software&w5=Database+management+software&w6=Database+marketi
ng+software&c=6&s=188&.sig=8rvcSQnCqJhTCZu-0Si39A> mortgage software


Pda
<http://groups.yahoo.com/gads?t=ms&k=Pda+database+software&w1=Manufacturing+
software&w2=Membership+database+software&w3=Database+mortgage+software&w4=Pd
a+database+software&w5=Database+management+software&w6=Database+marketing+so
ftware&c=6&s=188&.sig=u3KQrTRPAQfsWIT39aHDkg> database software

Database
<http://groups.yahoo.com/gads?t=ms&k=Database+management+software&w1=Manufac
turing+software&w2=Membership+database+software&w3=Database+mortgage+softwar
e&w4=Pda+database+software&w5=Database+management+software&w6=Database+marke
ting+software&c=6&s=188&.sig=R3CF3ODPY4gwjDZjykQYvw> management software

Database
<http://groups.yahoo.com/gads?t=ms&k=Database+marketing+software&w1=Manufact
uring+software&w2=Membership+database+software&w3=Database+mortgage+software
&w4=Pda+database+software&w5=Database+management+software&w6=Database+market
ing+software&c=6&s=188&.sig=lmBkRUiBtvHI1u5dkymDcw> marketing software



_____

YAHOO! GROUPS LINKS



* Visit your group "vantage <http://groups.yahoo.com/group/vantage> "
on the web.

* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.



_____



[Non-text portions of this message have been removed]
Go to the script editor in the InitializeCustomCode() routine and add your
code.

The code below appears to work just fine.



Sub InitializeCustomCode()

'// ** Wizard Insert Location - Do not delete
'Begin/End Custom Method Calls' lines **

'// Begin Wizard Added Variable Intialization

'// End Wizard Added Variable Intialization

'// Begin Custom Method Calls



chkEpiCustom1.checked=true



'// End Custom Method Calls

End Sub





Robert Galvin





_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
jameswi2000
Sent: Sunday, November 13, 2005 2:45 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Customization in V8



I added a check box to the order entry screen in V8, and would like it
to default as checked when the form loads, for a new record. I assume
I would handle it in the Form Event Wizards, but I'm having
difficulties in getting it to work. I would think this is a simple
enough thing to do. Can anyone tell me if I am approaching this
correctly, and how I might reference the fields?

Thanks,
James





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/.
<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




SPONSORED LINKS


Manufacturing
<http://groups.yahoo.com/gads?t=ms&k=Manufacturing+software&w1=Manufacturing
+software&w2=Membership+database+software&w3=Database+mortgage+software&w4=P
da+database+software&w5=Database+management+software&w6=Database+marketing+s
oftware&c=6&s=188&.sig=OG5F3819UOUOg63i0bu6kA> software

Membership
<http://groups.yahoo.com/gads?t=ms&k=Membership+database+software&w1=Manufac
turing+software&w2=Membership+database+software&w3=Database+mortgage+softwar
e&w4=Pda+database+software&w5=Database+management+software&w6=Database+marke
ting+software&c=6&s=188&.sig=N5BGdur84p-jyuOomcQdbQ> database software

Database
<http://groups.yahoo.com/gads?t=ms&k=Database+mortgage+software&w1=Manufactu
ring+software&w2=Membership+database+software&w3=Database+mortgage+software&
w4=Pda+database+software&w5=Database+management+software&w6=Database+marketi
ng+software&c=6&s=188&.sig=8rvcSQnCqJhTCZu-0Si39A> mortgage software


Pda
<http://groups.yahoo.com/gads?t=ms&k=Pda+database+software&w1=Manufacturing+
software&w2=Membership+database+software&w3=Database+mortgage+software&w4=Pd
a+database+software&w5=Database+management+software&w6=Database+marketing+so
ftware&c=6&s=188&.sig=u3KQrTRPAQfsWIT39aHDkg> database software

Database
<http://groups.yahoo.com/gads?t=ms&k=Database+management+software&w1=Manufac
turing+software&w2=Membership+database+software&w3=Database+mortgage+softwar
e&w4=Pda+database+software&w5=Database+management+software&w6=Database+marke
ting+software&c=6&s=188&.sig=R3CF3ODPY4gwjDZjykQYvw> management software

Database
<http://groups.yahoo.com/gads?t=ms&k=Database+marketing+software&w1=Manufact
uring+software&w2=Membership+database+software&w3=Database+mortgage+software
&w4=Pda+database+software&w5=Database+management+software&w6=Database+market
ing+software&c=6&s=188&.sig=lmBkRUiBtvHI1u5dkymDcw> marketing software



_____

YAHOO! GROUPS LINKS



* Visit your group "vantage <http://groups.yahoo.com/group/vantage> "
on the web.

* To unsubscribe from this group, send an email to:
vantage-unsubscribe@yahoogroups.com
<mailto:vantage-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.



_____



[Non-text portions of this message have been removed]
> I added a check box to the order entry screen in V8, and would like it
> to default as checked when the form loads, for a new record. I assume
> I would handle it in the Form Event Wizards, but I'm having
> difficulties in getting it to work. I would think this is a simple
> enough thing to do. Can anyone tell me if I am approaching this
> correctly, and how I might reference the fields?

Still new to Vantage but I was looking through the schema (as an educational
exercise) and see that there is a place for a default values for each field.
Can you just indicate the field as checked in the database schema?

Mark W.