Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OldValue Not Working

Status
Not open for further replies.

smdemo

Programmer
Sep 15, 2002
63
0
0
US
I have a form where I had a field being reset to the original value if other criteria was not met. After a few updates were made to the database this code is no longer working. I am getting an "Operation is not supported for this type of object." error.

If I save the record upon entering the field, making my changes and saving again I do not get the error though.

I have linked it to the Me.TaskStatus.Value = Me.TaskStatus.OldValue in my code but have no idea why it worked before and no longer does.

Does anyone know how to get this to work again?
 
How are ya smdemo . . .

Call VBA's immediate window (Ctrl + G). Enter [blue]OldValue[/blue]. Makesure the cursor is on the word and hit [blue]F1[/blue] . . .

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top