SQL statement to take a string value after FROM??
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
How can I get the following SQL statement to take a string value after FROM. SqlString = "SELECT * " "FROM ?????"; The string name is strFolderOpen and this will hold the name of the Access database to open. Thanks, Aoife
assuming SqlString is a CString: SqlString.Format("SELECT * FROM %s",strFolderOpen); or have i misunderstood the question? --- "all's fair in love and war but in love there's no geneva convention"
-
assuming SqlString is a CString: SqlString.Format("SELECT * FROM %s",strFolderOpen); or have i misunderstood the question? --- "all's fair in love and war but in love there's no geneva convention"