Custom button Blank Title 58004

AWSOME !!!  Thanks


On Wednesday, August 24, 2016 9:48 AM, "Jose Gomez jose@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-827978194yiv7027949526ygrp-text">
  
  
  <div></div><div dir="ltr"><div class="ygrps-yiv-827978194yiv7027949526gmail_default"><font face="verdana, sans-serif"><a rel="nofollow" shape="rect" target="_blank" href="http://converter.telerik.com/">http://converter.telerik.com/</a></font><br clear="none"></div><div class="ygrps-yiv-827978194yiv7027949526gmail_default"><font face="verdana, sans-serif"><br clear="none"></font></div></div><div class="ygrps-yiv-827978194yiv7027949526gmail_extra"><br clear="all"><div><div class="ygrps-yiv-827978194yiv7027949526gmail_signature"><div dir="ltr"><div><font face="verdana, sans-serif"><br clear="none"><font color="#333333"><b>Jose C Gomez</b></font></font></div><div><font color="#666666" face="verdana, sans-serif" size="1"><b>Software Engineer<br clear="none"><br clear="none"></b></font></div><div><font face="verdana, sans-serif"><font><font color="#666666"><b><br clear="none"></b></font><font color="#FF6600" size="1">T: </font></font><font size="1"><span title="Call with Google Voice"><span title="Call with Google Voice">904.469.1524</span></span> mobile</font></font></div><div><font size="1" face="verdana, sans-serif"><font color="#FF6600">E:</font> <a rel="nofollow" shape="rect" target="_blank" href="mailto:jose@...">jose@...</a></font><font size="1" face="verdana, sans-serif"><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.josecgomez.com/"><font color="#FF6600">http://www.josecgomez.com</font></a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.linkedin.com/in/josecgomez" style="font-size:small;"><img src="https://ec.yimg.com/ec?url=http%3A%2F%2Fwww.josecgomez.com%2Fimages%2Flinkedin.png&t=1473007601&sig=Du.aw29vyP6E_tXfgmjGfg--~C"></a>&nbsp;<a rel="nofollow" shape="rect" target="_blank" href="http://www.facebook.com/josegomez" style="font-size:small;"><img src="https://ec.yimg.com/ec?url=http%3A%2F%2Fwww.josecgomez.com%2Fimages%2Ffacebook.png&t=1473007601&sig=uJHIRFqYFLGwRufEaRpr0w--~C"></a>&nbsp;</font><a rel="nofollow" shape="rect" target="_blank" href="http://www.google.com/profiles/jose.gomez"><img src="https://ec.yimg.com/ec?url=http%3A%2F%2Fwww.josecgomez.com%2Fimages%2Fgoogle.png&t=1473007601&sig=Zq0wJp.nAAip3Wy1xF5axQ--~C"></a>&nbsp;<a rel="nofollow" shape="rect" target="_blank" href="http://www.twitter.com/joc85"><img src="https://ec.yimg.com/ec?url=http%3A%2F%2Fwww.josecgomez.com%2Fimages%2Ftwitter.png&t=1473007601&sig=iZn52sZu6kIobTQ9ICs_tg--~C"></a>&nbsp;<a rel="nofollow" shape="rect" target="_blank" href="http://www.josecgomez.com/professional-resume/"><img src="https://ec.yimg.com/ec?url=http%3A%2F%2Fwww.josecgomez.com%2Fimages%2Fwp.png&t=1473007601&sig=3wpr4bDheMdy14oGZM0PpQ--~C"></a>&nbsp;<span style="font-family:verdana, sans-serif;"><a rel="nofollow" shape="rect" target="_blank" href="http://www.josecgomez.com/feed/"><img src="https://ec.yimg.com/ec?url=http%3A%2F%2Fwww.josecgomez.com%2Fimages%2Frss.png&t=1473007601&sig=dysN4mJsy7NX5pft5W28Lg--~C"></a>&nbsp;</span></div><div><span lang="LA" style="color:black;"><br clear="none"><font face="Verdana, sans-serif" style="font-weight:bold;" size="1"><i>Quis custodiet

ipsos custodes?


On Wed, Aug 24, 2016 at 9:46 AM, Kimberley White faepigrl@... [vantage] <vantage@yahoogroups.com> wrote:

 
<div>
  
  
  <div></div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr"><span>is this VB or C#?&nbsp; I need it for VB</span></div><div><div class="ygrps-yiv-827978194yiv7027949526h5"> <div><br clear="none"><br clear="none"></div><div> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, August 24, 2016 9:16 AM, &quot;Rob Bucek <a rel="nofollow" shape="rect" target="_blank" href="mailto:rbucek@...">rbucek@...</a> [vantage]&quot; &lt;<a rel="nofollow" shape="rect" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>&gt; wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div><div><div>

 

<div>
  
  
  <div>
Kim,
 
It could look something like this…
 
Declare your data view in whatever your form is in class script
                private EpiDataView edvJobHead;
 
InitializeCustomCode()
                                 this.edvJobHead = ((EpiDataView)(this.oTrans. EpiDataViews["JobHead"]));
 
                private void yourbutton_Click(object sender, System.EventArgs args)
                {
edvJobHead.dataView[ edvJobHead.Row]["YourField"] = DateTime.Now.ToString();
                }
 
Rob Bucek
Production Control Manager
D&S Manufacturing
301 E. Main St.
Black River Falls, WI 54615
Mobile: 715-896-3119
Visit our newly redesigned Website at www.dsmfg.com
 
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups. com]
Sent: Tuesday, August 23, 2016 7:10 PM
To: yahoogroups <vantage@yahoogroups.com>
Subject: [Vantage] Custom button
 
 
I had written a customization a year or two ago for a button to place a date stamp in a box.  I can get about thru most of it but then get hung on two parts. I know I have to go in and create an event for the button (I use the event wizard) but I think i need to do something in Tools > Wizards > customization wizard.  I just can't remember.  Plus I don't know what code to write in the Script Editor.
 
Any help would be greatly appreciated.

Thanks Kim
</div>
 


<div><div style="color:#fff;min-height:0;"></div></div>


</div>
 


<div style="color:#fff;min-height:0;"></div>

</div>
 


<div class="ygrps-yiv-827978194yiv7027949526yqt7828189404" id="ygrps-yiv-827978194yiv7027949526yqt32956"><div style="color:#fff;min-height:0;"></div></div>
#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526 -- #ygrps-yiv-827978194yiv7027949526ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mkp #ygrps-yiv-827978194yiv7027949526hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mkp #ygrps-yiv-827978194yiv7027949526ads {
margin-bottom:10px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mkp .ygrps-yiv-827978194yiv7027949526ad {
padding:0 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mkp .ygrps-yiv-827978194yiv7027949526ad p {
margin:0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mkp .ygrps-yiv-827978194yiv7027949526ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-sponsor #ygrps-yiv-827978194yiv7027949526ygrp-lc {
font-family:Arial;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-sponsor #ygrps-yiv-827978194yiv7027949526ygrp-lc #ygrps-yiv-827978194yiv7027949526hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-sponsor #ygrps-yiv-827978194yiv7027949526ygrp-lc .ygrps-yiv-827978194yiv7027949526ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526activity span {
font-weight:700;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526activity span span {
color:#ff7900;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526activity span .ygrps-yiv-827978194yiv7027949526underline {
text-decoration:underline;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526attach div a {
text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526attach img {
border:none;padding-right:5px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526attach label a {
text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526bold a {
text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 dd.ygrps-yiv-827978194yiv7027949526last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 dd.ygrps-yiv-827978194yiv7027949526last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 dd.ygrps-yiv-827978194yiv7027949526last p span.ygrps-yiv-827978194yiv7027949526yshortcuts {
margin-right:0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526attach-table div div a {
text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526attach-table {
width:400px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526file-title a, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526file-title a:active, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526file-title a:hover, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526file-title a:visited {
text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526photo-title a, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526photo-title a:active, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526photo-title a:hover, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div.ygrps-yiv-827978194yiv7027949526photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 div#ygrps-yiv-827978194yiv7027949526ygrp-mlmsg #ygrps-yiv-827978194yiv7027949526ygrp-msg p a span.ygrps-yiv-827978194yiv7027949526yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526green {
color:#628c2a;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 o {
font-size:0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526photos div {
float:left;width:72px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526photos div div {
border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526reco-category {
font-size:77%;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526reco-desc {
font-size:77%;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 .ygrps-yiv-827978194yiv7027949526replbq {
margin:4px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mlmsg select, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 input, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mlmsg pre, #ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 code {
font:115% monospace;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-mlmsg #ygrps-yiv-827978194yiv7027949526logo {
padding-bottom:10px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-msg p#ygrps-yiv-827978194yiv7027949526attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-reco #ygrps-yiv-827978194yiv7027949526reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-sponsor #ygrps-yiv-827978194yiv7027949526ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-sponsor #ygrps-yiv-827978194yiv7027949526ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-sponsor #ygrps-yiv-827978194yiv7027949526ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-text {
font-family:Georgia;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-text tt {
font-size:120%;}

#ygrps-yiv-827978194 #ygrps-yiv-827978194yiv7027949526 #ygrps-yiv-827978194yiv7027949526ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-827978194



Hi,

I'm trying to create a customisation on the Customer Part UI. I
require an additional textbox on the screen which displays a part
number. Does anyone know if it is possible to add a button which can
run a search on the part table and populate my text field from it? The
text field has been bound to CustXPrt.Character01. The existing part
number field has a button which is bound to CustXPrt.PartNumBtn. If I
bind my custom button to this, it will populate the CustXPrt.PartNum
field, not my CustXPrt.Character01 field.

Thanks,
Zarah Green
I had written a customization a year or two ago for a button to place a date stamp in a box.  I can get about thru most of it but then get hung on two parts. I know I have to go in and create an event for the button (I use the event wizard) but I think i need to do something in Tools > Wizards > customization wizard.  I just can't remember.  Plus I don't know what code to write in the Script Editor.

Any help would be greatly appreciated.

Thanks Kim
If you are already on the part number you want, just create a box that use an EpiBinding to bind to a field your CustXPrt.Character01. That post was from 2007, I am not sure this is relevent anymore.
That isn't what I am trying to go.

I created a button and when I click on it i want it to populate a text box with a date stamp.


On Wednesday, August 24, 2016 9:08 AM, "amathis@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-1906747648yiv8367603234ygrp-text">
  
  
  <div>If you are already on the part number you want, just create a box that use an EpiBinding to bind to a field your CustXPrt.Character01. That post was from 2007, I am not sure this is relevent anymore.</div>

</div>
 


<div style="color:#fff;min-height:0;"></div></div>
#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234 -- #ygrps-yiv-1906747648yiv8367603234ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mkp #ygrps-yiv-1906747648yiv8367603234hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mkp #ygrps-yiv-1906747648yiv8367603234ads {
margin-bottom:10px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mkp .ygrps-yiv-1906747648yiv8367603234ad {
padding:0 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mkp .ygrps-yiv-1906747648yiv8367603234ad p {
margin:0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mkp .ygrps-yiv-1906747648yiv8367603234ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-sponsor #ygrps-yiv-1906747648yiv8367603234ygrp-lc {
font-family:Arial;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-sponsor #ygrps-yiv-1906747648yiv8367603234ygrp-lc #ygrps-yiv-1906747648yiv8367603234hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-sponsor #ygrps-yiv-1906747648yiv8367603234ygrp-lc .ygrps-yiv-1906747648yiv8367603234ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234activity span {
font-weight:700;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234activity span span {
color:#ff7900;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234activity span .ygrps-yiv-1906747648yiv8367603234underline {
text-decoration:underline;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234attach div a {
text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234attach img {
border:none;padding-right:5px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234attach label a {
text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234bold a {
text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 dd.ygrps-yiv-1906747648yiv8367603234last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 dd.ygrps-yiv-1906747648yiv8367603234last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 dd.ygrps-yiv-1906747648yiv8367603234last p span.ygrps-yiv-1906747648yiv8367603234yshortcuts {
margin-right:0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234attach-table div div a {
text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234attach-table {
width:400px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234file-title a, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234file-title a:active, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234file-title a:hover, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234file-title a:visited {
text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234photo-title a, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234photo-title a:active, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234photo-title a:hover, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div.ygrps-yiv-1906747648yiv8367603234photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 div#ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg #ygrps-yiv-1906747648yiv8367603234ygrp-msg p a span.ygrps-yiv-1906747648yiv8367603234yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234green {
color:#628c2a;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 o {
font-size:0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234photos div {
float:left;width:72px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234photos div div {
border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234reco-category {
font-size:77%;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234reco-desc {
font-size:77%;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 .ygrps-yiv-1906747648yiv8367603234replbq {
margin:4px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg select, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 input, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg pre, #ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 code {
font:115% monospace;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-mlmsg #ygrps-yiv-1906747648yiv8367603234logo {
padding-bottom:10px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-msg p#ygrps-yiv-1906747648yiv8367603234attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-reco #ygrps-yiv-1906747648yiv8367603234reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-sponsor #ygrps-yiv-1906747648yiv8367603234ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-sponsor #ygrps-yiv-1906747648yiv8367603234ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-sponsor #ygrps-yiv-1906747648yiv8367603234ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-text {
font-family:Georgia;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-text tt {
font-size:120%;}

#ygrps-yiv-1906747648 #ygrps-yiv-1906747648yiv8367603234 #ygrps-yiv-1906747648yiv8367603234ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1906747648



Kim,

 

It could look something like this…

 

Declare your data view in whatever your form is in class script

                private EpiDataView edvJobHead;

 

InitializeCustomCode()

                                this.edvJobHead = ((EpiDataView)(this.oTrans.EpiDataViews["JobHead"]));

 

                private void yourbutton_Click(object sender, System.EventArgs args)

                {

edvJobHead.dataView[edvJobHead.Row]["YourField"] = DateTime.Now.ToString();

                }

 

Rob Bucek

Production Control Manager

D&S Manufacturing

301 E. Main St.

Black River Falls, WI 54615

715-284-5376 Ext. 311

Mobile: 715-896-3119

rbucek@...

Visit our newly redesigned Website at www.dsmfg.com

 

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, August 23, 2016 7:10 PM
To: yahoogroups <vantage@yahoogroups.com>
Subject: [Vantage] Custom button

 

 

I had written a customization a year or two ago for a button to place a date stamp in a box.  I can get about thru most of it but then get hung on two parts. I know I have to go in and create an event for the button (I use the event wizard) but I think i need to do something in Tools > Wizards > customization wizard.  I just can't remember.  Plus I don't know what code to write in the Script Editor.

 

Any help would be greatly appreciated.


Thanks Kim

Why did you create a new post? I was confused by the fact this references a post from 2007. Anyways to do what you want is easy. Go to Wizards -> Event Wizard -> then for Custom Control select your button and for Available control event select Click. This will right the code for the click of the button. as for a date time are you wanting time and date if so. In the click even reference your text field, lets call it EpiTextField1 for now. You'll do something like this


private void epiButtonC1_Click(object sender, System.EventArgs args)

{

        EpiTextField1 = DateTime.Now.ToString()



}


You might  have to do like EpiTextFeild1.Text = or EpiTextField1.Value. I don't remember, but that will when you click a button populate a box with a date stamp. If you don't want time in it trying using ToShortDateString(), or whatever you prefer.

is this VB or C#?  I need it for VB


On Wednesday, August 24, 2016 9:16 AM, "Rob Bucek rbucek@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-1379362233yiv1982214161ygrp-text">
  
  
  <div>
Kim,
 
It could look something like this…
 
Declare your data view in whatever your form is in class script
                private EpiDataView edvJobHead;
 
InitializeCustomCode()
                                this.edvJobHead = ((EpiDataView)(this.oTrans.EpiDataViews["JobHead"]));
 
                private void yourbutton_Click(object sender, System.EventArgs args)
                {
edvJobHead.dataView[edvJobHead.Row]["YourField"] = DateTime.Now.ToString();
                }
 
Rob Bucek
Production Control Manager
D&S Manufacturing
301 E. Main St.
Black River Falls, WI 54615
715-284-5376 Ext. 311
Mobile: 715-896-3119
Visit our newly redesigned Website at www.dsmfg.com
 
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, August 23, 2016 7:10 PM
To: yahoogroups <vantage@yahoogroups.com>
Subject: [Vantage] Custom button
 
 
I had written a customization a year or two ago for a button to place a date stamp in a box.  I can get about thru most of it but then get hung on two parts. I know I have to go in and create an event for the button (I use the event wizard) but I think i need to do something in Tools > Wizards > customization wizard.  I just can't remember.  Plus I don't know what code to write in the Script Editor.
 
Any help would be greatly appreciated.

Thanks Kim
</div>
 


<div class="ygrps-yiv-1379362233yiv1982214161yqt5618641956" id="ygrps-yiv-1379362233yiv1982214161yqt46388"><div style="color:#fff;min-height:0;"></div></div>
#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161 -- #ygrps-yiv-1379362233yiv1982214161ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mkp #ygrps-yiv-1379362233yiv1982214161hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mkp #ygrps-yiv-1379362233yiv1982214161ads {
margin-bottom:10px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mkp .ygrps-yiv-1379362233yiv1982214161ad {
padding:0 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mkp .ygrps-yiv-1379362233yiv1982214161ad p {
margin:0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mkp .ygrps-yiv-1379362233yiv1982214161ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-sponsor #ygrps-yiv-1379362233yiv1982214161ygrp-lc {
font-family:Arial;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-sponsor #ygrps-yiv-1379362233yiv1982214161ygrp-lc #ygrps-yiv-1379362233yiv1982214161hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-sponsor #ygrps-yiv-1379362233yiv1982214161ygrp-lc .ygrps-yiv-1379362233yiv1982214161ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161activity span {
font-weight:700;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161activity span span {
color:#ff7900;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161activity span .ygrps-yiv-1379362233yiv1982214161underline {
text-decoration:underline;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161attach div a {
text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161attach img {
border:none;padding-right:5px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161attach label a {
text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161bold a {
text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 dd.ygrps-yiv-1379362233yiv1982214161last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 dd.ygrps-yiv-1379362233yiv1982214161last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 dd.ygrps-yiv-1379362233yiv1982214161last p span.ygrps-yiv-1379362233yiv1982214161yshortcuts {
margin-right:0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161attach-table div div a {
text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161attach-table {
width:400px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161file-title a, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161file-title a:active, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161file-title a:hover, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161file-title a:visited {
text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161photo-title a, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161photo-title a:active, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161photo-title a:hover, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div.ygrps-yiv-1379362233yiv1982214161photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 div#ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg #ygrps-yiv-1379362233yiv1982214161ygrp-msg p a span.ygrps-yiv-1379362233yiv1982214161yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161green {
color:#628c2a;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 o {
font-size:0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161photos div {
float:left;width:72px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161photos div div {
border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161reco-category {
font-size:77%;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161reco-desc {
font-size:77%;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 .ygrps-yiv-1379362233yiv1982214161replbq {
margin:4px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg select, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 input, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg pre, #ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 code {
font:115% monospace;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-mlmsg #ygrps-yiv-1379362233yiv1982214161logo {
padding-bottom:10px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-msg p#ygrps-yiv-1379362233yiv1982214161attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-reco #ygrps-yiv-1379362233yiv1982214161reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-sponsor #ygrps-yiv-1379362233yiv1982214161ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-sponsor #ygrps-yiv-1379362233yiv1982214161ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-sponsor #ygrps-yiv-1379362233yiv1982214161ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-text {
font-family:Georgia;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-text tt {
font-size:120%;}

#ygrps-yiv-1379362233 #ygrps-yiv-1379362233yiv1982214161 #ygrps-yiv-1379362233yiv1982214161ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-1379362233





Jose C Gomez
Software Engineer


T: 904.469.1524 mobile

Quis custodiet ipsos custodes?

On Wed, Aug 24, 2016 at 9:46 AM, Kimberley White faepigrl@... [vantage] <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p></p><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div dir="ltr"><span>is this VB or C#?  I need it for VB</span></div><div><div class="ygrps-yiv-1221782049h5"> <div><br><br></div><div> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, August 24, 2016 9:16 AM, &quot;Rob Bucek <a rel="nofollow" target="_blank" href="mailto:rbucek@...">rbucek@...</a> [vantage]&quot; &lt;<a rel="nofollow" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>&gt; wrote:<br></font></div>  <br><br> <div><div><div>

Â

<div>
  
  
  <div>
Kim,
Â
It could look something like this…
Â
Declare your data view in whatever your form is in class script
               private EpiDataView edvJobHead;
Â
InitializeCustomCode()
                               this.edvJobHead = ((EpiDataView)(this.oTrans. EpiDataViews["JobHead"]));
Â
               private void yourbutton_Click(object sender, System.EventArgs args)
               {
edvJobHead.dataView[ edvJobHead.Row]["YourField"] = DateTime.Now.ToString();
               }
Â
Rob Bucek
Production Control Manager
D&S Manufacturing
301 E. Main St.
Black River Falls, WI 54615
Mobile: 715-896-3119
Visit our newly redesigned Website at www.dsmfg.com
Â
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups. com]
Sent: Tuesday, August 23, 2016 7:10 PM
To: yahoogroups <vantage@yahoogroups.com>
Subject: [Vantage] Custom button
Â
Â
I had written a customization a year or two ago for a button to place a date stamp in a box. I can get about thru most of it but then get hung on two parts. I know I have to go in and create an event for the button (I use the event wizard) but I think i need to do something in Tools > Wizards > customization wizard. I just can't remember. Plus I don't know what code to write in the Script Editor.
Â
Any help would be greatly appreciated.

Thanks Kim
</div>
 


<div><div style="color:#fff;min-height:0;"></div></div>


</div>
 


<div style="color:#fff;min-height:0;"></div>

Ok so In VB. Its basically the same process.


Private Sub epiButtonC1_Click(ByVal sender As Object, ByVal args As System.EventArgs)
  ' ** Place Event Handling Code Here **

        EpiTextField1 = DateTime.Now.ToString
 End Sub


Its basically the same thing.