I have used the following to populate a date and a time in the past.
myUD01.dataView(myUD01.Row)("Date01") =
System.DateTime.Now.ToShortDateString()
myUD01.dataView(myUD01.Row)("ShortChar02") =
System.DateTime.Now.ToShortTimeString()
Hope this helps
Dale Schuerman
Senior Consultant
RAM Software Systems, Inc.
1701 North Collins Suite 200
Richardson, Texas 75080
Phone: (972) 669-0763
Fax: (972) 669-9603
Web Site: www.ramsys.com <blocked::http://www.ramsys.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of melissa hietala
Sent: Friday, October 10, 2008 4:17 PM
To: vantage@yahoogroups.com
Subject: [Vantage] 8.03.4XX Customization Questions
Is there any way to have a custom field populate with the time an action
occured? For instance, I created a textbox and I want the textbox to
populate with the current time once a particular checkbox is checked.
I'm currently using an "After Field Change" event in the Form Event
Wizard. Whats the syntax needed to populate a field with the current
time?
Thanks,
Dustin Biniek
UMC, Inc.
DustinB@... <mailto:DustinB%40ultramc.com>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
myUD01.dataView(myUD01.Row)("Date01") =
System.DateTime.Now.ToShortDateString()
myUD01.dataView(myUD01.Row)("ShortChar02") =
System.DateTime.Now.ToShortTimeString()
Hope this helps
Dale Schuerman
Senior Consultant
RAM Software Systems, Inc.
1701 North Collins Suite 200
Richardson, Texas 75080
Phone: (972) 669-0763
Fax: (972) 669-9603
Web Site: www.ramsys.com <blocked::http://www.ramsys.com/>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of melissa hietala
Sent: Friday, October 10, 2008 4:17 PM
To: vantage@yahoogroups.com
Subject: [Vantage] 8.03.4XX Customization Questions
Is there any way to have a custom field populate with the time an action
occured? For instance, I created a textbox and I want the textbox to
populate with the current time once a particular checkbox is checked.
I'm currently using an "After Field Change" event in the Form Event
Wizard. Whats the syntax needed to populate a field with the current
time?
Thanks,
Dustin Biniek
UMC, Inc.
DustinB@... <mailto:DustinB%40ultramc.com>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]