Hello,
I'm hoping some of the programming gurus will be able to help this newbie with her code.
I am trying to insert values from a form into a temp table I have created. I have the columns correct in the statement but I still getting this error. I watch this video on Youtube that helped me alot by something is up with my coding.
http://www.youtube.com/watch?v=BH_LNnNuK-k
Error:
Run-Time error '3601'
Too Few parameters. Expected 1.
Code:
'add data to table
CurrentDb.Execute "INSERT INTO METAFIELDS_TEMP_TABLE(DB_SCH, DB_OBJ_NAME, DB_COL_NAME, BIZ_NAME, BIZ_DEF, DRVD_IND, BIZ_LOGIC, DATA_TYPE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE, NULLABLE) " & _
" VALUES(" & Me.addSch & ",'" & Me.addTable & "','" & Me.addCol & "','" & Me.addBizName & "','" & _
Me.addBizDef & " ','" & Me.addDrvd & "','" & Me.addBizLogic & "','" & Me.addDataLength & "','" & Me.addDataType & "','" & _
Me.addPrecision & "','" & Me.addDataScale & "','" & Me.addNullable & "');"