This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (5 messages)
Q113815 and more
Message #30702
I am still getting the "General error: Unable to create file buffer" as described in Q113815 even after patching ever CRecordset in my app. I have even put a breakpoint on line 1187 of dbcore.cpp for when (m_pDatabase == 0). This should break if any of my code doesn't close…
Group by clause for set
Message #30579
Has anyone successfully used the 'GROUP BY' clause with the Database Classes? Any examples?
There is a white paper over in WinEXT about the Access Jet Engine 2.0. It talks briefly about ODBC. The new ODBC driver is supposed to use the full Jet Engine instead of a subset as 1.0 did. It also talks about the index structure and support for optimal index…
Using henvAllConnections
Message #30576
I'm still having problems accessing the static member of CDatabase, henvAllConnections. Here is an example of my code: void CMyDatabase::Open() // derived from CDatabase { AllocConnect(); // Just in case henvAllConnections isn't connected yet char acDSN[SQL_MAX_DSN_LENGTH+1]; char acDesc[256]; short iDSNLen; short iDescLen; CStringArray astr; ::SQLDataSources(CDatabase::henvAllConnections, SQL_FETCH_FIRST, (unsigned char*)&acDSN, SQL_MAX_DSN_LENGTH, &iDSNLen,…
#29875-
Record or DB Document ?
Message #30287
I am writing a similar app using the Database Classes. The proto-type, which was straight ODBC, basicly treated the database like a file system — a query, which was built from OnFileOpen, would give a list of records and allow the user to select one to be placed in a…