Re: question about dynamically select table with DAO technique!
So, it has nothing to do with DAO!
Check all your Format arguments!
Re: question about dynamically select table with DAO technique!
[img]
G:\debug.JPG
[/img]
Re: question about dynamically select table with DAO technique!
Quote:
Originally Posted by
genliu777
how to post an jpg image here!??
Have a look at the button Manage Attachments under the message window in Additional Options section.
And note, that the data in *text* mode are more preferable (if, of course it is possible) than in an *image* mode
Re: question about dynamically select table with DAO technique!
ok! i try again! wish good!
thanks for your time with me!!!!
1 Attachment(s)
Re: question about dynamically select table with DAO technique!
here is the call stack window!
Re: question about dynamically select table with DAO technique!
And where is in this call stack any line of *your* own code? Please find it out!
Re: question about dynamically select table with DAO technique!
[code]
strTable.Format(_T("INSERT INTO %s %s %s VALUES %s"),tbname,field,field1,fvalue);
[code]
Re: question about dynamically select table with DAO technique!
Code:
strTable.Format(_T("INSERT INTO %s %s %s VALUES %s"),tbname,field,field1,fvalue);
Re: question about dynamically select table with DAO technique!
Quote:
Originally Posted by
genliu777
Code:
strTable.Format(_T("INSERT INTO %s %s %s VALUES %s"),tbname,field,field1,fvalue);
Debug your code and look at the Variables window the values of all the parameters you pass in the strTable.Format(...) call
Re: question about dynamically select table with DAO technique!
yes it is caused by the function "Format"!!!!
thanks VictorN!!!!!