473,395 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

No value given for one or more required parameter.

Hi All
I am trying to insert the field value which is depended on formula
into the table. The given field me.field28 and me.nodlyd are working
but me.field34 is not working and the givne error message is
displayed.

No value given for one or more required parameter.
Could you try to solve this problem.

Thanks in advance

Dim mycon As New ADODB.Connection
Set mycon = New ADODB.Connection

Dim iSQL As String
Dim dSQL As String

mycon.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0; " &
"Data Source =" & "D:\Naushad\viewTest.mdb" & ";" & "User Id = admin;"
& "Password ="
mycon.Open

dSQL = "DELETE FROM tblstage"

iSQL = "insert into tblStage (Stage_code, TotProject, NoOfDelayed)
select [" & Me.Field34 & "] , " & _
Me.Field28 & " , " & Me.NoDlyd & " ;"

mycon.Execute dSQL, dbFailOnError
mycon.Execute (iSQL)
End Sub

Naushad

Jun 20 '07 #1
2 15022
On Wed, 20 Jun 2007 00:48:16 -0700, nh*****@kockw.com wrote:
>Hi All
I am trying to insert the field value which is depended on formula
into the table. The given field me.field28 and me.nodlyd are working
but me.field34 is not working and the givne error message is
displayed.

No value given for one or more required parameter.
Could you try to solve this problem.
Generally, this error means that you've misspelled a table or column name. Check your spelling thoroughly and try it
again.

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
Jun 20 '07 #2
On Jun 20, 1:12 pm, Scott McDaniel <scott@NoSpam_Infotrakker.com>
wrote:
On Wed, 20 Jun 2007 00:48:16 -0700, nhai...@kockw.com wrote:
Hi All
I am trying to insert the fieldvaluewhich is depended on formula
into the table. Thegivenfield me.field28 and me.nodlyd are working
but me.field34 is not working and the givne error message is
displayed.
Novaluegivenforoneormorerequiredparameter.
Could you try to solve this problem.

Generally, this error means that you've misspelled a table or column name. Check your spelling thoroughly and try it
again.

Scott McDaniel
scott@takemeout_infotrakker.comwww.infotrakker.com
Hi Mr. Scott

I Checked the table or Column name, all are correct. Actually the
column me.field34 is based on the below formula.

=IIf([Forms]![frm800 Analysis - Menu for schedule Analysis]!
[Stage]=1,"Design",IIf([Forms]![frm800 Analysis - Menu for schedule
Analysis]![Stage]=2,"Contract",IIf([Forms]![frm800 Analysis - Menu for
schedule Analysis]![Stage]=3,"Construction","Overall Project
Completion")))

The value in current form is comming from [frm800 Analysis - Menu for
schedule Analysis]![Stage] which is the radio group.

Please try to solve the problem.
Thanks...................

Jun 23 '07 #3

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

Similar topics

3
by: Brian Foree | last post by:
I am developing an ASP.NET application that uses Access 2000 as its backend, and have just started getting the following error on 2 ASP.NET pages that had been working until late last week (and I...
3
by: Grayscale | last post by:
Hello, When I execute the code below, I get: "Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters." error message in the first line. Rs.Open...
2
by: Jim McGivney | last post by:
I have a button on an aspx page. When the user clicks the button I would like to add a new row to an existing table in my Access database. The table is Ante_Admin. The name of the key field is...
3
by: André | last post by:
Hi, I created a button in order to delete all the records at once in a gridview. But i get the error: No value given for one or more required parameters Thanks André The aspx file contains:...
2
by: Hexman | last post by:
Hello All, Well I'm stumped once more. Need some help. Writing a simple select and update program using VB.Net 2005 and an Access DB. I'm using parameters in my update statement and when trying...
21
by: Steven T. Hatton | last post by:
I'm trying to improve my formal understanding of C++. One significant part of that effort involves clarifying my understanding of the vocabulary used to describe the language. This is from the...
15
by: Dave | last post by:
I am getting the error above intermittantly with an ASP 3.0 page using an MS Access 2003 database. I have searched Google extensively and found the following possible causes for this error: A...
0
by: AxleWacl | last post by:
Hi, The below error is what I am receiving. The code im using is below the error, for the life of me, I can not see where any parameter is missing..... Server Error in '/FleetcubeNews'...
4
by: justice750 | last post by:
Hi All, I am using a FormView control. The allows me to update records in the database. However, when a database field is null I can not update the field on the form. It works fine when the field...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.