N
Niz406
Hi Guys,
Lets say I had a text box that populates from a secondary datasource when
the form loads, but I wanted to alter the way the form code behaves in the On
Load event, how in JScript would I code this?
For example,
I want the form to check if it has loaded before by checking the contents of
a text box, if the box is blank then the SQL will insert a time/date-stamp
into one field of the table and then pull back the autonumber generated as
the reference number and populate the blank text box.
Because the field is not blank, any subsequent load event will result in no
action being taken, as I'm new to JScript how would I code this and resolve
any potential problems from occuring when the form is loaded from a location
that does not have access to the DB, once it has been submitted?
Thanks in Advance for any assistance you can give me!
Lets say I had a text box that populates from a secondary datasource when
the form loads, but I wanted to alter the way the form code behaves in the On
Load event, how in JScript would I code this?
For example,
I want the form to check if it has loaded before by checking the contents of
a text box, if the box is blank then the SQL will insert a time/date-stamp
into one field of the table and then pull back the autonumber generated as
the reference number and populate the blank text box.
Because the field is not blank, any subsequent load event will result in no
action being taken, as I'm new to JScript how would I code this and resolve
any potential problems from occuring when the form is loaded from a location
that does not have access to the DB, once it has been submitted?
Thanks in Advance for any assistance you can give me!