dedwards1960
Registered User.
- Local time
- Today, 11:53
- Joined
- Jun 21, 2006
- Messages
- 27
I have a report which I need to and two fields in an unbound field.
I have written an event to convert a field called rank to full name.
example:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.txtRank = "PO1" Then
Me.txtShowRank = "PETTY OFFICER 1ST CLASS"
Else
If Me.txtRank = "PO2" Then
Me.txtShowRank = "PETTY OFFICER 2ND CLASS"
Else
Me.txtShowRank = ""
End If
End If
End Sub
How I would like to include the firstname and lastname fields to this.
so it will show PETTY OFFICER 2ND CLASS FIRSTNAME LASTNAME.
Can anyone help with this.
Thanks to all that give me ideas.
I have written an event to convert a field called rank to full name.
example:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.txtRank = "PO1" Then
Me.txtShowRank = "PETTY OFFICER 1ST CLASS"
Else
If Me.txtRank = "PO2" Then
Me.txtShowRank = "PETTY OFFICER 2ND CLASS"
Else
Me.txtShowRank = ""
End If
End If
End Sub
How I would like to include the firstname and lastname fields to this.
so it will show PETTY OFFICER 2ND CLASS FIRSTNAME LASTNAME.
Can anyone help with this.
Thanks to all that give me ideas.