Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Manager

Status
Not open for further replies.

GrantReid

Technical User
Joined
Jul 24, 2001
Messages
5
Location
ZA
Hi

Being a relative newcomer to VID, I'm having a problem with the logic of the Form Manager. I have a form comprising a number of DTC Textboxes. One of the Textboxes (txtTimeStamp), I need to autofill with the current date and time. I assume that an action needs to be set in the "Actions Performed for Mode" input area.

Can anyone assist?

Thanking you in advance - Grant
 
You probably do not need the form manager. Just use a PageObject, and add code in the thisPage_onEnter() subroutine...

Sub thisPage_onenter()
if thisPage.firstEntered = true then
'do once-off initialisation
txtADate.value = fmtFormatDateTime(Date)
else
'something to do on subsequent server round-trips
' - like save any changes the user has made...
rsMain.updateRecord
rsMain.requery
end if

End Sub
(Content Management)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top