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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"hide records"

Status
Not open for further replies.

troix

Technical User
Jan 20, 2004
46
US
I've done this before, and I have totally forgotten how.

I want to create a command that, when a certain box is "dirty" (with text), a button can be pressed that says "Clear Copy". Once "Clear Copy" is pressed, those records are not seen. They are NOT deleted from the table, but those records are deleted from view. However, they can NOT be deleted from view until the button is pressed.


Thanks guys!
 
Troix

To test for dirty...

Use the OnDirty event procedure for both the form and the control fields.

...and then
Me.Dirty = False

Richard

 
I know how to test for dirty.

The thing is if the field becomes dirty, after pressing a Dialogue button, I need those records to "hide".
 

Using the OnDirty event procedure for a specific control, such as a text box...

Me.YourTextBoxName.Visible = False
 
but i want them to have ONE last chance by being forced to have to press a button and clear out any errors.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top