N
Niklas Östergren
Hi!
Is it possible to have conditional format in a continious form?
I have a subform (subform No 2 = Continious form) in a subform (subform No 1
= Singel form) . In subform No 2 I´d like to perform a conditional formating
on a value.
I´d like to format a membership fee bold and red if the value <> from the
value correct value for that type of membership (we have 4 different types
of memberships.
This is what I have so far but I havn´t got it to work the way I want. If I
put the code in the form´s Open_Event it format ALL value red which isn´t
true.
It´s late here so I´ll be back tomorrow morning!
TIA!
// Niklas
'===========================================
With Me.txtEntryFeePayed
If .Value <> DLookup("MemberShipPrice",
"tblLookUpMemberShipType", "MemberShipTypeID = " & Me.cboMemberShipType)
Then
.ForeColor = 255
.FontBold = True
.FontSize = 8
.Height = 300
Else
.ForeColor = -2147483640
.FontBold = False
.FontSize = 8
.Height = 300
End If
End With
End With
'==========================================
Is it possible to have conditional format in a continious form?
I have a subform (subform No 2 = Continious form) in a subform (subform No 1
= Singel form) . In subform No 2 I´d like to perform a conditional formating
on a value.
I´d like to format a membership fee bold and red if the value <> from the
value correct value for that type of membership (we have 4 different types
of memberships.
This is what I have so far but I havn´t got it to work the way I want. If I
put the code in the form´s Open_Event it format ALL value red which isn´t
true.
It´s late here so I´ll be back tomorrow morning!
TIA!
// Niklas
'===========================================
With Me.txtEntryFeePayed
If .Value <> DLookup("MemberShipPrice",
"tblLookUpMemberShipType", "MemberShipTypeID = " & Me.cboMemberShipType)
Then
.ForeColor = 255
.FontBold = True
.FontSize = 8
.Height = 300
Else
.ForeColor = -2147483640
.FontBold = False
.FontSize = 8
.Height = 300
End If
End With
End With
'==========================================