Hi all - im trying to create a table in access db using asp (vbscript). Below is what im trying to do, T1 is inputted by the user, so its stored as T1. I want to create a table called UserTable in UML.db with one heading of T1. Is the below code right, as im having errors with it??
If (X1 = 1) Then
SQLCREATE = " CREATE TABLE UserTable (" & T1 & " Char(20)); "
set conn = server.createobject("ADODB.Connection")
conn.open "UML"
set crte=conn.execute(SQLCREATE)
end if
Many Thanks.