473,467 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

unrecognized parameters against virtual field

im creating a proof of concept in .net passing stored procedure parameters to
an Access database as the back end, using ADO. the stored procedure, in this
case a parameterized query, has a virtual field "Year"
(Format([Date_Created],"yyyy"), that is not receiving the value passed using
parameters(@Year).value, every other parameter is passed successfully except
for this one field

i've stepped through the code and watched the variables being passed and
they are being shown as the correct value but still no luck, when running the
query and passing parameters in access everything works exactly as it should

i've quadruple checked my CreateParameter("@Year") arguments and they are of
the correct data type and input, according to the field properties in Server
Explorer, but still no records are returned. without using this parameter the
correct number of records are returned. is this a known issue or should I try
ADO.net with an oledbadapter? i of course would like to be using a sql server
backend but for this proof i am limited in the resources i can request. any
help or ideas would be really appreciated

Jul 21 '05 #1
0 981

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: johkar | last post by:
I need a hint (a big hint) on how to use XSL variables and parameters. It is definitely not clicking yet. Below is my XML stripped down. There are multiple Extension nodes and multiple...
2
by: Susan Bricker | last post by:
Greetings Experts ... I have a routine that is invoked when a command button is clicked. The button is located in a form that is tied to a table of Project records. Each Project Record has 0 to...
8
by: Nanda | last post by:
hi, I am trying to generate parameters for the updatecommand at runtime. this.oleDbDeleteCommand1.CommandText=cmdtext; this.oleDbDeleteCommand1.Connection =this.oleDbConnection1;...
3
by: Jerry Houston | last post by:
In a winform application, I use worker threads to perform asynchronous tasks (e.g., mail merge with Word). The thread procs need to gather some user options from controls in the UI, and I know...
8
by: Sam Kuehn | last post by:
How do I accomplish the fallowing (is it even possible). Say I write a UserControl "MyControl.ascx". Now I use LoadControl("MyControl.ascx"). But I really want MyControl to require parameters in...
7
by: kai | last post by:
Hi, I have XP Pro and VS2005 final version. I have been running some examples from a MS Press books (ASP.NET 2.0 Core Reference and), I run into this problems: Parser Error Message:...
0
by: lastusernameleft | last post by:
im creating a proof of concept in .net passing stored procedure parameters to an Access database as the back end, using ADO. the stored procedure, in this case a parameterized query, has a virtual...
2
by: isaac2004 | last post by:
hi am getting this error about a wrong field name in my database and it all seems right to me <%@ Language=VBScript %> <% Option Explicit %> <!--#include file="DatabaseConnect.asp"-->...
0
by: howardr101 | last post by:
Hi, Have hunted around on the groups and can't find anything, hence. I've tried this against 2 mail servers (mailtraq and hmailserver) and it occus with both. The problems seems to be that...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.