VBA code to change the background of a form?

MsLady

Traumatized by Access
Local time
Today, 02:54
Joined
Jun 14, 2004
Messages
438
what's it?
I want to open the same form with different buttons (cos different criteria are attached to those buttons).
When i click i want the background to change based on the button.

So im asking for just one line of code: What's the vba to change background property of a form dynamically. cna't seem to find it :o
 
never mind.
got it.

Form_frmSearchResults.Detail.BackColor = 13893544
 

Users who are viewing this thread

Back
Top Bottom