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