Article ID: 113332 - Last Review: December 9, 2003 - Revision: 2.0 FIX: AddNew Method Gives Error: Illegal Function CallThis article was previously published under Q113332 On This PageSYMPTOMS
It is possible to receive an "Illegal Function Call" error message in
response to an AddNew method. This article demonstrates how this error
can occur and how to work around it.
CAUSE
The cause of this problem has not yet been determined. We're researching
it.
WORKAROUND
There are two ways to work around this problem. The first method is to move
to the last record before adding the record. The following code
demonstrates this work around:
STATUS
Microsoft has confirmed this to be a bug in Microsoft Visual Basic version
3.0 for Windows. This problem has been corrected in Visual Basic version
4.0.
MORE INFORMATION
A problem with the Microsoft Access database engine can cause an "Illegal
Function Call" error when adding a record to a database. This error should
not occur. This problem is not related to the data control and can also
occur when using methods from the Professional Edition of Visual Basic
version 3.0.
Steps to Reproduce Problem
APPLIES TO
| Article Translations
|

Back to the top
