ACC2002: Empty Result Set When You Run a Scalar Function Before You Close It (287463)
The information in this article applies to:
This article was previously published under Q287463 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you create or modify a scalar function, and you then try to run the function without first closing it, the scalar function returns an empty column in the result set and displays the scalar function name in quotation marks as the column name. After you close the function and then run it from the Database window, the result set is populated, and the scalar function name, no longer with quotation marks, appears as the column name.
CAUSE
With scalar functions that have not been closed after initially being created or modified, Access improperly creates and displays the function column name, including quotation marks. This problem occurs when either a new scalar function has just been created or when an existing scalar function has been modified, and you are transitioning from Design to Datasheet view.
RESOLUTION
Before you run a newly created scalar function or a modified scalar function, close the scalar function. Then, either reopen the scalar function or run the scalar function from the Database window.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCES
For more information about scalar functions, refer to SQL Server Books Online at the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kbbug KB287463 |
---|
|