SQL Database results follow up
From: Lost but not as much (anonymous_at_discussions.microsoft.com)
Date: 04/27/04
- Next message: Tom Pepper Willett: "Re: Lost Cert of Authenticity"
- Previous message: Jess: "Lost Cert of Authenticity"
- Next in thread: Stuart: "SQL Database results follow up"
- Reply: Stuart: "SQL Database results follow up"
- Reply: Andrew Murray: "Re: SQL Database results follow up"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 11:49:08 -0700
Thanks to many of you and this group, I have solved 99% of
my problems. The latest was a corrupt global.asa file.
Only one issue remains.
I have the simplest of queries against a SQL table:
SELECT * FROM database1_fn WHERE (f_docnumber
= ::f_docnumber::)
f_docnumber is the key field in a SQL table. Nulls are
not allowed. The field is configured as Numeric 9(10,0).
This is on a page that allows the user to enter a
f_docnumber to search for in the database. The following
error appears on the page BEFORE any entry is made.
Database Results Error
Description: Line 1: Incorrect syntax near ')'.
Number: -2147217900 (0x80040E14)
Source: Microsoft OLE DB Provider for SQL Server
One or more form fields were empty. You should provide
default values for all form fields that are used in the
query.
If I enter a number, the query works perfectly.
I have tried populating the query with a default value of
a valid f_doccumber but the error remains.
I am assuming that the :: signifies a form search field.
Where else should I be looking?
Thanks
- Next message: Tom Pepper Willett: "Re: Lost Cert of Authenticity"
- Previous message: Jess: "Lost Cert of Authenticity"
- Next in thread: Stuart: "SQL Database results follow up"
- Reply: Stuart: "SQL Database results follow up"
- Reply: Andrew Murray: "Re: SQL Database results follow up"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|