Forums
This topic is locked
Can I create Access Table Programatically with ASP
Posted 09 Sep 2004 22:00:58
1
has voted
09 Sep 2004 22:00:58 Ted Chukere posted:
I have 2 form input pages and an Access Database. Using form input value from page 1, I need to create a new table in the Access database and then write to the dynamically created table using form input value from page 2. Please help...Urgent!Thanks,
-Ted
ted
Replies
Replied 21 Sep 2004 19:56:41
21 Sep 2004 19:56:41 Ted Chukere replied:
Try this code; it should create the new table and assign it the variable value as long as you have the connection to the database right:
strSQL="Create table" & " " & pgName & "(paraID COUNTER primary key, pgName Text, paraHdr Text, paraCopy Text)"
ted
strSQL="Create table" & " " & pgName & "(paraID COUNTER primary key, pgName Text, paraHdr Text, paraCopy Text)"
ted