2000 form via 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form where I'm using two dropdown boxes in order to select a record.
I built this portion in a 2000 database using Access 2003. The record
select process works fine when I am using it on '03, but does not when using
'00. Below is the code for the two combo boxes. ComboContract is updated
before ComboLoannum. Is there something in the code that '00 does not
recognize? Any suggestions would be appreciated.


Private Sub ComboLoannum_AfterUpdate()
DoCmd.ApplyFilter , "LOANNUM = forms![frmSecondCheck].[ComboLoannum]"
End Sub
---------------------
Private Sub ComboLoannum_Change()
Me.LOCK = fOSUserName()
DoCmd.RunCommand acCmdSaveRecord
Forms![frmSecondCheck].ACTIVEMERS.SetFocus
Me.ComboLoannum.Enabled = False
Me.ComboLoannum.Visible = False
End Sub
--------------------
Private Sub ComboContract_AfterUpdate()
Me.LOCK = Null
DoCmd.RunCommand acCmdSaveRecord
Me.FilterOn = False
DoCmd.GoToRecord , , acFirst
Me.ComboLoannum = Null
Me.ComboLoannum.Requery
Me.ComboLoannum.Enabled = True
Me.ComboLoannum.Visible = True
End Sub
 
hi,
Check your reference library to verify that there is no missing references.

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top