Xeseus . . .
[ol][li]Open the report in [blue]design view.[/blue][/li]
[li]Clear the [blue]Record Source[/blue] property of the textbox.[/li]
[li][blue]Double-Click[/blue] the box just to the left of the ruler (brings up the [blue]properties window[/blue]). ([/li]
[li]Select the [blue]Events Tab[/blue].[/li]
[li]Click the [blue]Detail Section bar[/blue].[/li]
[li]Put the cursor on the [blue]On Format[/blue] property line.[/li]
[li]Click the [blue]three elipses[/blue]
just to the right:
[ol a][li]If the [blue]Choose Builder Dialog[/blue] comes up, select [purple]
Code Builder[/purple].[/li][/ol][/li]
[li]You should now see the [blue]Detail Format event[/blue] routine for the detail section . . . looks like:
Code:
[blue]Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
End Sub[/blue]
[/li]
[li][blue]Copy/paste[/blue] the following to the event ([blue]
you[/blue] substitute [purple]
TextboxName[/purple]):
Code:
[blue] Me![purple][b][i]TextboxName[/i][/b][/purple] = Trim(Me!AgencyCity) & ", " & _
Trim(Me!AgencyStateOrProvince) & " " & _
Trim(Me!AgencyPostalCode)[/blue]
The event [blue]should now look like[/blue]:
Code:
[blue]Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me![purple][b][i]TextboxName[/i][/b][/purple] = Trim(Me!AgencyCity) & ", " & _
Trim(Me!AgencyStateOrProvince) & " " & _
Trim(Me!AgencyPostalCode)
End Sub[/blue]
[/li]
[li]Alt + F4[/li]
[li][blue]Save & Close[/blue] the report.[/li]
[li]Open the report like you normally would . . .[/li][/ol]
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .