Re: Cannot add new to a empty table by using IADORecordBinding interfa
- From: "Stephen Howe" <sjhoweATdialDOTpipexDOTcom>
- Date: Tue, 28 Feb 2006 00:13:18 -0000
It I manually add one record, then Add new is OK. Please help!!
I can help. But...
I don't see any code posted you. Nor version of MDAC installed.
How are we supposed to help given that? Before you think of posting, have a
look at your post and ask yourself, "Is there anything that I could add that
would help others to help me?". Code does help - without we are not likely
to guess if you have made some coding error.
The chances are you are using status variables and you forgot to set them to
adFldOk between calling pInterface->AddNew() and
pInterface->Update(). Also it helps if all your member variables are
equivalent to 0 in the constructor of the derived class from
IADORecordBinding. I found a bug some time ago with MDAC 2.5+ on this, never
clarified by Microsoft.
Thanks
Stephen Howe
.
- Prev by Date: Re: Best way to increase concurrency when using adopenstatic ?
- Next by Date: Re: Automatically running an application every day
- Previous by thread: Re: Best way to increase concurrency when using adopenstatic ?
- Next by thread: MDAC 2.8 SP1 Install problem
- Index(es):
Relevant Pages
|
|