Thanks Rob.
I got it to work as needed.
Enjoy the long weekend ahead.
Best Regards,
Herby Dallard
IT Engineer
Endicott Research Group
607-754-9187
_____
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Rob Bucek
Sent: Wednesday, November 25, 2009 9:48 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] auto date a toolbox field
Assuming youre not just going to have an unbound object and that you
will be setting it against some kind of user defined field....
An example could look like this;
Dim dteToday As Date = Today()
edvpart.dataView(edvpart.Row)("Date01") = dteToday
There would be a few extra supporting code snippets to go along with
this such as declaring the epidata view and what your trigger will be
(form event vs. control event) etc..
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg <http://www.dsmfg.com/> com/>
(Click the logo to view our site) <http://www.dsmfg <http://www.dsmfg.com/>
com/>
From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf
Of Herby Dallard
Sent: Wednesday, November 25, 2009 7:30 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: [Vantage] auto date a toolbox field
Good morning all.
I need some help. I am trying to retrieve automatically the systems
current
date and set a toolbox date-time editor field "dteEpiCustom1" to it.
Here is what I tried using in an EpiViewNotification but I get the
following
errors:
Dim [TODAY] As DATEtime = DateTime.Date
dteEpiCustom1 = TODAY
Error: BC30469 - line 72 (326) - Reference to a non-shared member
requires
an object reference.
Error: BC30311 - line 73 (327) - Value of type 'Date' cannot be
converted to
'Epicor.Mfg.UI.FrameWork.EpiDateTimeEditor'.
** Compile Failed. **
Thanks in advance.
Best Regards,
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@ergpower. <mailto:hdallard%40ergpower.com> com
<mailto:hdallard%40ergpower.com>
607-754-9187 ext. 3078
www.ergpower.com
[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]
I got it to work as needed.
Enjoy the long weekend ahead.
Best Regards,
Herby Dallard
IT Engineer
Endicott Research Group
607-754-9187
_____
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Rob Bucek
Sent: Wednesday, November 25, 2009 9:48 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] auto date a toolbox field
Assuming youre not just going to have an unbound object and that you
will be setting it against some kind of user defined field....
An example could look like this;
Dim dteToday As Date = Today()
edvpart.dataView(edvpart.Row)("Date01") = dteToday
There would be a few extra supporting code snippets to go along with
this such as declaring the epidata view and what your trigger will be
(form event vs. control event) etc..
Rob Bucek
Manufacturing Engineer
PH: (715) 284-5376 ext 3111
FAX: (715)284-4084
<http://www.dsmfg <http://www.dsmfg.com/> com/>
(Click the logo to view our site) <http://www.dsmfg <http://www.dsmfg.com/>
com/>
From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf
Of Herby Dallard
Sent: Wednesday, November 25, 2009 7:30 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: [Vantage] auto date a toolbox field
Good morning all.
I need some help. I am trying to retrieve automatically the systems
current
date and set a toolbox date-time editor field "dteEpiCustom1" to it.
Here is what I tried using in an EpiViewNotification but I get the
following
errors:
Dim [TODAY] As DATEtime = DateTime.Date
dteEpiCustom1 = TODAY
Error: BC30469 - line 72 (326) - Reference to a non-shared member
requires
an object reference.
Error: BC30311 - line 73 (327) - Value of type 'Date' cannot be
converted to
'Epicor.Mfg.UI.FrameWork.EpiDateTimeEditor'.
** Compile Failed. **
Thanks in advance.
Best Regards,
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@ergpower. <mailto:hdallard%40ergpower.com> com
<mailto:hdallard%40ergpower.com>
607-754-9187 ext. 3078
www.ergpower.com
[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]