Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help! "Item not found in this collection"

0 views
Skip to first unread message

Hamid Shojaee

unread,
Jul 15, 1996, 3:00:00 AM7/15/96
to

I'm getting "Item not found in this collection" error when I try to
update. I found a
couple of articles in the KB pointing out a bug in AppWiz/ClassWiz which
caused this
error to occur if your recordset was based on multiple tables (requiring a
join), however,
my recordset represents only a single table. The remedies have not
worked. Anybody
else having this problem?

Any suggestions?

I'm working with CDaoRecordset and CDaoRecordView.

Thanks,

--
Hamid Shojaee
Vitrix, Inc. Time-Attendance and Fingerprint Verification Products
http://www.vitrix.com
ha...@vitrix.com

Taradus1.3

unread,
Jul 17, 1996, 3:00:00 AM7/17/96
to

"Item not found in this collection" means that a field or index you
are referencing does not exist. You should double check all the fields
defined in Class Wizard. Or, you can delete all the variables
associated with the recordset (use class wizard) and then select the
[Update Columns] and [Bind All] buttons to reassociate member
variables with each of your fields.

Andreas Schulz

unread,
Jul 17, 1996, 3:00:00 AM7/17/96
to

I had this problem after installing of VC++4.1 . You can resolve this
problem, if you delete the brackets ("[]")from the field-definitions in
DoFieldExchange().

DFX_Text(pFX, _T("[Auftragsnummer]"), m_Auftragsnummer);
to
DFX_Text(pFX, _T("Auftragsnummer"), m_Auftragsnummer);


or install the Bugfix-CD.(sent by Microsoft)
(there are uncorrect Librarys on the old CD)

sorry 4 my bad english.
I hope, you can encrypt it.

bye Andreas

Michael Shipkowski

unread,
Jul 19, 1996, 3:00:00 AM7/19/96
to

I did not select the help support when creating an app wizard
project. How can I add it to an existing project??


Tom Serface [MVP]

unread,
Jul 19, 1996, 3:00:00 AM7/19/96
to

Michael,

The easiest way is to create a new project using AppWizard and choose
help. Then copy the lines from the main .CPP and .H files and
MAINFRM.CPP and .H to your old project. It's not very much, but it's
easier if you create the new project because then you'll get
everything that APPWIZ puts in there ...

Tom

0 new messages