Article ID: 120907
Article Last Modified on 1/19/2007
Macro Name Condition Action
------------------------------------
MainRH SetValue
MainPH [Flag]=0 CancelEvent
SubRH SetValue
SubRF SetValue
MainRH Actions
------------------------------------------------
SetValue
Item: Reports![Categories Main Report]![Flag]
Expression: 0
SubRH Actions
------------------------------------------------
SetValue
Item: Reports![Categories Main Report]![Flag]
Expression: 1
SubRF Actions
------------------------------------------------
SetValue
Item: Reports![Categories Main Report]![Flag]
Expression: 0
Text Box:
ControlName: ProductID
ControlSource: ProductID
Text Box:
ControlName: CategoryID
ControlSource: CategoryID
Text Box:
ControlName: ProductName
ControlSource: ProductName
Label:
ControlName: Text1
Caption: ProductID
Label:
ControlName: Text2
Caption: CategoryID
Label:
ControlName: Text3
Caption: ProductName
RepeatSubHeader.SubRH
RepeatSubHeader.SubRF
Text Box:
ControlName: Flag
Visible: No
Text Box:
ControlName: CategoryID
ControlSource: CategoryID
Text Box:
ControlName: CategoryName
ControlSource: CategoryName
Text Box:
ControlName: Description
ControlSource: Description
RepeatSubHeader.MainRH
RepeatSubHeader.MainPH
Macro Name Condition Action
-------------------------------------------------
MainPH [Flag]=0 SetValue
Item: [Text1].visible
Expression: False
... SetValue
Item: [Text2].visible
Expression: False
... SetValue
Item: [Text3].visible
Expression: False
[Flag]=1 SetValue
Item: [Text1].visible
Expression: True
... SetValue
Item: [Text2].visible
Expression: True
... SetValue
Item: [Text3].visible
Expression: True
Keywords: kbhowto kbusage KB120907