I inherited an Access 2003 database runs fine in 2003 but in 2007 I get an error on updating a form. Record Not available on the last statement
!ItemNumber.Set Focus
Does anyone know why Access 2007 is different and any clues on how to get it to work?
!ItemNumber.Set Focus
Does anyone know why Access 2007 is different and any clues on how to get it to work?
Code:
With Forms!frmMain!frmSKUInput.Form
!WhichSKUCombo.Value = ""
!WhichSKUList.Value = ""
.RecordSource = strSQL1
.Requery
!WhichSKUList.RowSource = strSQL2
!WhichSKUCombo.RowSource = strSQL2
!WhichSKUList.Requery
!WhichSKUCombo.Requery
!ItemNumber.SetFocus
End With
Comment