Search:
Type: Posts; User: genliu777
Search :
Search took 0.02 seconds.
December 18th, 2012 11:21 PM
hi,
i use sqlite in my project. it is good because of its capacity bigger than ACCESS. i used CDaoRecordset of MFC to handle records in ACCESS, whick is convenient to me move around records in...
December 13th, 2012 10:07 AM
thanks for your help! i am trying to deal with it!!!
December 13th, 2012 09:39 AM
in CDaoRecordset, with m_strSort member i can get the order records. but nothing changes in table! the code as follows,
/*
table aa: ind as the primary key
/////////
ind ind2
21 111...
December 13th, 2012 08:26 AM
table with primary key already set-down in ACCESS. when insert records into the table by Execute() function of cdaodatabase, to some extense, the records are not put behind the last record as wished,...
November 19th, 2011 12:09 PM
"WHERE 1=2" means copying table structure without any data or record! it works well with ACCESS.
"does not work" according to the create sql words, it should create a table in the database! but...
November 16th, 2011 07:48 PM
Using CDaodatabase and CDaoRecordset to work with Sql2000 personal.
sql = _T("SELECT * INTO YOU FROM MY WHERE 1=2");
db.Execute(sql);
Excute() is doing well with copying a table, but
...
March 30th, 2010 09:26 AM
yes it is caused by the function "Format"!!!!
thanks VictorN!!!!!
March 30th, 2010 09:14 AM
strTable.Format(_T("INSERT INTO %s %s %s VALUES %s"),tbname,field,field1,fvalue);
March 30th, 2010 09:13 AM
[code]
strTable.Format(_T("INSERT INTO %s %s %s VALUES %s"),tbname,field,field1,fvalue);
[code]
March 30th, 2010 09:08 AM
here is the call stack window!
March 30th, 2010 09:05 AM
ok! i try again! wish good!
thanks for your time with me!!!!
March 30th, 2010 09:04 AM
March 30th, 2010 08:59 AM
how to post an jpg image here!??
March 30th, 2010 08:58 AM
i re-execute the dubug, and find when it reach the breakpoint : format, it stops!
March 30th, 2010 08:47 AM
when dubugging, it reaches the file "output.c" and points to line 1624. and can not continue
while (i-- && *pwch) // a yellow pointer direct here
...
March 30th, 2010 08:34 AM
try again:
DZH5Day day;
ifstream infile;
infile.open(_T("600157.day"),std::ios::binary|std::ios::in);
CString tbname = _T("600157");
CDaoDB db;
try
March 30th, 2010 08:30 AM
sorry for the trouble i make! this the first time i post code here. sorry again!
March 30th, 2010 08:29 AM
the messagebox describes the 0x01326a41 memory referenced by "0x7857680d" can not be read. stop the program, please click "OK"; debugg the program ,please click "cancel".
March 30th, 2010 08:19 AM
infile.open(_T("600157.day"),std::ios::binary|std::ios::in);
CString tbname = _T("600157");
CDaoDB db;
try
{
db.dbOpen(lpszFile);
long ltemp = 0; // to clear out repeated record ...
March 30th, 2010 08:15 AM
because in my program with the code above, every time debugging when it reach the Execute funtion, vc2008 pop up a message box which describes somewhere in memory could not been written or read or...
March 30th, 2010 07:56 AM
here is a CStingArray instance m_code, which contains string correponding
to the table name in the Access database, and to the binary file name in some
folder. now i use m_code to control...
March 30th, 2010 12:01 AM
an Access database with 100 table in it, all of the tale have same table fields.
now i build a program to handle the database with DAO technique in vc++2008, and dynamically select any table and...
Click Here to Expand Forum to Full Width