ACC2: GPF Using GetChunk Method As Argument for Put Statement (117611)
The information in this article applies to:
This article was previously published under Q117611
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you use the GetChunk method in the third parameter of a Put statement,
you may receive a general protection (GP) fault.
CAUSE
The third parameter of the Put statement requires a variable name. You
cannot directly use a method (such as the GetChunk method) as a statement
argument.
RESOLUTION
Create an intermediate variable, assign the value returned from the
GetChunk method to this variable, and then use the variable as the third
parameter of the Put statement. This technique is demonstrated in the
"Workaround" section later in this article.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access version
2.0. This problem no longer occurs in Microsoft Access version 7.0.
REFERENCES
For more information about the Put statement, search for "Put," and then
"Put Statement" using the Microsoft Access Help menu.
Modification Type: | Major | Last Reviewed: | 7/8/2002 |
---|
Keywords: | kbbug kberrmsg KB117611 |
---|
|