J
J-P-W
Hi,
I have a function that looks up various values and then results in a
value to a variable:
Function ShouldItBeReferred
If Claim3Date <> "" Then
'Do stuff......
TheAnswer = "Yes"
Else
TheAnswer = "No"
End If
'and various other stuf.........
If TheAnswer = "Yes" Then
TheMessage = "Yes, for now." 'real messageto follow..
Else
TheMessage = "No, for now." 'real messageto follow..
End If
End Function
Elsewhere on the page, a number of times, I need to Call the Function
and find out the value of 'TheMessage' to display.
I've tried:
Call ShouldItBeReferred .......... nothing
DisplayMessage = ShouldItBeReferred ..........nothing
Please can you tell me how to call the function 'run it' and find out
the value of 'TheMessage'
Many thanks
Jon
I have a function that looks up various values and then results in a
value to a variable:
Function ShouldItBeReferred
If Claim3Date <> "" Then
'Do stuff......
TheAnswer = "Yes"
Else
TheAnswer = "No"
End If
'and various other stuf.........
If TheAnswer = "Yes" Then
TheMessage = "Yes, for now." 'real messageto follow..
Else
TheMessage = "No, for now." 'real messageto follow..
End If
End Function
Elsewhere on the page, a number of times, I need to Call the Function
and find out the value of 'TheMessage' to display.
I've tried:
Call ShouldItBeReferred .......... nothing
DisplayMessage = ShouldItBeReferred ..........nothing
Please can you tell me how to call the function 'run it' and find out
the value of 'TheMessage'
Many thanks
Jon