March 30th, 2010, 09:00 AM
#16
Re: question about dynamically select table with DAO technique!
So, it has nothing to do with DAO!
Check all your Format arguments!
Victor Nijegorodov
March 30th, 2010, 09:04 AM
#17
Re: question about dynamically select table with DAO technique!
[img]
G:\debug.JPG
[/img]
March 30th, 2010, 09:04 AM
#18
Re: question about dynamically select table with DAO technique!
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
Victor Nijegorodov
March 30th, 2010, 09:05 AM
#19
Re: question about dynamically select table with DAO technique!
ok! i try again! wish good!
thanks for your time with me!!!!
March 30th, 2010, 09:08 AM
#20
Re: question about dynamically select table with DAO technique!
here is the call stack window!
Attached Images
March 30th, 2010, 09:12 AM
#21
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!
Victor Nijegorodov
March 30th, 2010, 09:13 AM
#22
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]
March 30th, 2010, 09:14 AM
#23
Re: question about dynamically select table with DAO technique!
Code:
strTable.Format(_T("INSERT INTO %s %s %s VALUES %s"),tbname,field,field1,fvalue);
March 30th, 2010, 09:25 AM
#24
Re: question about dynamically select table with DAO technique!
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
Victor Nijegorodov
March 30th, 2010, 09:26 AM
#25
Re: question about dynamically select table with DAO technique!
yes it is caused by the function "Format"!!!!
thanks VictorN!!!!!
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width