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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error on Execute

Status
Not open for further replies.

crabgrass

Technical User
Aug 29, 2007
111
US
The following code does execute but it produces an error message in IE that says "Unrecognized command verb". Any suggestions on how to fix?

<code>
execstr = "EXEC 'create " + session("fileloc") + cNewFileName + " from " + session("fileloc") + "liststru'"

oConn.Execute(execstr)
</code>

The database is VFP. It produces the new table and registers it with the database. But refuses to move past the Execute line.
 
You could try temporarily hard coding your execstr to test if maybe the problem is in building that string rather than the command specified by the string.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top