Private Function IAmCurrent()
IAmCurrent = (Me.JobID = Nz(TheJobID, 0))
End Function
JobID is the primary key of the recordset on the formPrivate Sub Form_Current()
TheJobID = Me.JobID
Me.chkCurrent.Requery
End Sub
Syntax
------------------------------------ ---------- ---------- ---------- ---------- ----
expression .BackColor
expression A variable that represents a TextBox object.
Remarks
------------------------------------ ---------- ---------- ---------- ---------- ----
The BackColor property contains a numeric expression that corresponds to the color used to fill a control's or section's interior.
You can set the default for this property by using a control's default control style or the DefaultControl property in Visual Basic.
To use the BackColor property, the BackStyle property, if available, must be set to Normal.
New way is to use conditional formatting on a control (same technique as the sample DB, use a control and set it behind all the other controls, apply conditional formatting as needed, then make all your controls backgrounds transparent).
Holler if you need more.
Jim.