02 MDB having VB issues on 2k Access

  • Thread starter Thread starter rog
  • Start date Start date
R

rog

I created a MDB with Access 02/XP. On one of the forms
there is an "on dirty" event which runs code that sets a
Type field to "A".

Private Sub COMPANY_NAME_Dirty(Cancel As Integer)
[AccountType].Value = "A"
End Sub

This works fine on my 2002 Access, but when I have
someone using Access 2k, the code doesn't run and the
Type field remains blank.

Any ideas what the problem is? Is this some kind of non-
backwards-compatible issue?
 
Hi,


Are you sure there is a onDirty event with Access 2000?


Hoping it may help,
Vanderghast, Access MVP
 
Hi,

If there is no onDirty event available, have the modification carried
over in each AfterUpdate event of each control "dirtying" the record.



Hoping it may help,
Vanderghast, Access MVP
 
Back
Top