02 MDB having VB issues on 2k Access

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?
 
M

Michel Walsh

Hi,


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


Hoping it may help,
Vanderghast, Access MVP
 
M

Michel Walsh

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
 

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

Top