Dirty

JEPEDEWE

Registered User.
Local time
Today, 20:23
Joined
Nov 11, 2010
Messages
34
Hallo,
I have following code

if Me.Dirty then Me.Dirty= False

in access 2010 no problem, program runs perfectly
in access 2003 or 2007 I get an errormessage saying:

(I have to translate so maybe not fully correct)
error 2455 during executing
the expression contains an incorrect reference to the property dirty

What to do??

Thanks
 
Not sure what's wrong. I've just tested;
Code:
If Me.Dirty Then Me.Dirty = False
In my sand box DB and it works just fine :confused:
 
in my 2010 version.... no problem
Other versions-> errormessage

Maybe the reference... i don't know

greetz
 
the idea behinf that line is to make sure that all modified entries are stored...
Maybe it is possible with another command as well...
JP
 
Sorry I should have mentioned my sand box is '03 format.

If your form is bound to a table there should be no need for additional code to ensure that changes are stored :confused:
 
in VB i did a compile... took about 2 seconds... no problem mentioned
 
where do I find the decompile commando?

Thanks for your kind help
 
of couse the statement

me.dirty = false may fail with a general run-time error, (if data is invalid/incomplete) although it doesnt look like this is the case.

decompile is a good start for strange errors, as I recently learned
 
dumb, but I wrote something wrong in my dos-code

But, whet I run the code access opens with the correct file and that's it...

the bat file:
"C:\Program Files\Microsoft Office\Office12\MSAccess.exe" "C:\DBI\Projectenplanning .mdb" /decompile
pauze

When I close the project I notice some lines in the dos window but I'm not able to read then because the window closes too fast even when I added the pauze-line..;

What to do?
 
Pauze is the dutch word for Pause... sorry

Anyway... I think I ran the procedure but the problem remains

Within 2 days I am asked to demonstrate the project to some collegues so this whole thing makes me stressy... oeoeoe

any idea?
Thanks
JP
 
If you open the cmd(dos) window first it should leave the "dos" window open when done.
 
did the imprt-stuff... nothing changed...
for whatever reason now, I get a message a table is exclusively opened by another user...blablabla

Dono where that comes from..

My God this alle get worse by the minute

JP
 

Users who are viewing this thread

Back
Top Bottom