Sorry wrong hat on
msaccess needs the tablename after the select
strSQL = "SELECT [TABLENAME].* FROM [TABLENAME]
strSQL = replace(strSQL,"[TABLENAME]",Request.Form("TableName"))
Code:
Sub Writeit(This,This1)
'This will Display vlaue on a web site
Response.Write "<b>" & This & "</b> = [" & This1 & "]<BR>"
end sub
I have this Sub in my main inc file
then when I want to see something on screen all i need to do is
call writeit("strSQL",strSQL)
it out is
strSQL=[SELECT [TABLENAME].* FROM [TABLENAME]]