Vorrei passare il nome della tabella tramite variabile, ma viene restituito l'errore:
Microsoft JET Database Engine error '80040e14'
''ilmiofile.csv'' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.
mentre invece se scrivo la query cosìCodice PHP:set conn = Server.CreateObject("ADODB.Connection")
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & PathImportFile & ";Extended Properties=""text;HDR=Yes;FMT=Delimited"""
conn.Open strConn
set rs = Conn.Execute("SELECT * FROM '"& nomefile &"'")
non ho alcun problemaCodice PHP:set rs = Conn.Execute("SELECT * FROM ilmiofile.csv")
Come mai?
grazie


Rispondi quotando
