Forums

This topic is locked

How to combine 2 form fields into 1 and insert int

Posted 30 Aug 2002 19:02:08
1
has voted
30 Aug 2002 19:02:08 Scott Harris posted:
I have a form and I need to insert the month and year that the user selects from a drop down menu. How can I combine these 2 fields into 1 value before the record is inserted into the database?

Replies

Replied 30 Aug 2002 19:27:34
30 Aug 2002 19:27:34 Owen Eastwick replied:
Something like:

<%
varDate = Request("txtMonth" & "/" & Request("txtYear"
%>

Then insert varDate into the database

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo

Reply to this topic