Thanks in advance!
Long story short. In the process of upgrading from 97 to 03. Some users still have 97 others 03; may be several weeks until all are converted. Had a database that I could not convert, instead had to create new db in 03 and import all (could not open in 03 because of security). When imported and converted back to 97 the following that was working will not work. Please help me understand what is wrong.
Run-time error '13'
Type mismatch
Dim MyRS As Recordset
Set MyRS = CurrentDb.OpenRecordset("tblMain") 'Debug goes to this line
MyRS.AddNew
MyRS("DateEntered") = Me.txtDateEntered.Value
MyRS("ICT") = Me.cmbICT.Value
MyRS("Department") = Me.cmbDept.Value
MyRS("Station") = Me.cmbStation.Value
MyRS("LineNum") = Me.cmbLine.Value
MyRS("JobCategory") = Me.cmbJobCat.Value
MyRS("StartTime") = Me.txtStart.Value
MyRS("CompletTime") = Me.txtFinish.Value
MyRS("Equip") = Me.cmbEquip.Value
MyRS("ActualTime") = Me.txtActual.Value
MyRS("DownTime") = Me.txtDownTime.Value
MyRS("Completed") = Me.ckComplete.Value
MyRS("Problem") = Me.txtProblem.Value
MyRS("PartSolutions") = Me.txtFix.Value
MyRS("IctComment") = Me.txtComment.Value
MyRS("Shift") = Me.cmbShift.Value
MyRS("SpecificStuff") = SpecificStuff
MyRS("Sensor") = Me.cmbSensor
MyRS.Update
MyRS.Close
Long story short. In the process of upgrading from 97 to 03. Some users still have 97 others 03; may be several weeks until all are converted. Had a database that I could not convert, instead had to create new db in 03 and import all (could not open in 03 because of security). When imported and converted back to 97 the following that was working will not work. Please help me understand what is wrong.
Run-time error '13'
Type mismatch
Dim MyRS As Recordset
Set MyRS = CurrentDb.OpenRecordset("tblMain") 'Debug goes to this line
MyRS.AddNew
MyRS("DateEntered") = Me.txtDateEntered.Value
MyRS("ICT") = Me.cmbICT.Value
MyRS("Department") = Me.cmbDept.Value
MyRS("Station") = Me.cmbStation.Value
MyRS("LineNum") = Me.cmbLine.Value
MyRS("JobCategory") = Me.cmbJobCat.Value
MyRS("StartTime") = Me.txtStart.Value
MyRS("CompletTime") = Me.txtFinish.Value
MyRS("Equip") = Me.cmbEquip.Value
MyRS("ActualTime") = Me.txtActual.Value
MyRS("DownTime") = Me.txtDownTime.Value
MyRS("Completed") = Me.ckComplete.Value
MyRS("Problem") = Me.txtProblem.Value
MyRS("PartSolutions") = Me.txtFix.Value
MyRS("IctComment") = Me.txtComment.Value
MyRS("Shift") = Me.cmbShift.Value
MyRS("SpecificStuff") = SpecificStuff
MyRS("Sensor") = Me.cmbSensor
MyRS.Update
MyRS.Close