H
H. Martins
In a report I need a TextBox to be filled depending on a couple 'IFs'
In code area of the report I've done this:
Static Function fnIdAluno() As String
fnIdAluno = "Certifica-se que " & [strNome] .... etc, etc, etc.
End Function
This code works OK if placed in the TextBox.ControlSource itself but,
of course, for a single case only.
First I want to be able to get it running for a single case and then I
will add some IFs.
Then I tried to use the function in the TextBox as ...
= fnIdAluno
Didn't work.
I tried inserting an Exp: in the query, I didn't succeed.
Am I doing something fundamentally wrong?
Thanks
Henry
In code area of the report I've done this:
Static Function fnIdAluno() As String
fnIdAluno = "Certifica-se que " & [strNome] .... etc, etc, etc.
End Function
This code works OK if placed in the TextBox.ControlSource itself but,
of course, for a single case only.
First I want to be able to get it running for a single case and then I
will add some IFs.
Then I tried to use the function in the TextBox as ...
= fnIdAluno
Didn't work.
I tried inserting an Exp: in the query, I didn't succeed.
Am I doing something fundamentally wrong?
Thanks
Henry