Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSERT INTO with a space in the PATH of the database

Status
Not open for further replies.

melginger

Programmer
Jul 27, 2001
54
CA
I have a problem with this INSERT INTO. Everything goes well until we have a space in the path. For instance, the 'program files' folder. That's where the database is. We know that moving the databases to a folder without a space in its path will correct the problem but we want a more long time solution. Thanks

INSERT INTO C:\Program files\Triolet\DATA\rapport.[Absences] (Professeur, [Date], Heure, Opération, Description, Local, NomEtudiant) SELECT Utilisateurs.Prenom + " " + Utilisateurs.Nom, Transactions.DateTransaction, Format(Transactions.DateTransaction, "long time"), ...
 
found the answer by myself testing and testing ...

You gotta to put the path between[]:

INSERT INTO [C:\Program files\Triolet\DATA\rapport].[Absences] (Professeur, [Date], Heure, Opération, Description, Local, NomEtudiant) SELECT Utilisateurs.Prenom + " " + Utilisateurs.Nom, Transactions.DateTransaction, Format(Transactions.DateTransaction, "long time"), ...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top