Report Text box

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I have a report that i would like to have some text with a delivery
day that is from the query the reportis based on

So i need a text box in the report somthing like below but it does not
work

= You parcel will be delivered on [DeliveryDay] at [Deliverytime]


Please can somesone tell me how i edit the code to work

Thanks

SImon
 
I have a report that i would like to have some text with a delivery
day that is from the query the reportis based on

So i need a text box in the report somthing like below but it does not
work

= You parcel will be delivered on [DeliveryDay] at [Deliverytime]

Please can somesone tell me how i edit the code to work

Thanks

SImon

Any text must be enclosed within quotes.
Any field data must then be concatenated into the text, using the &
symbol.

= "Your parcel will be delivered on " & [DeliveryDay] & " at " &
[Deliverytime]
 
Use an expression similar to this as the Control Source of that textbox:

="Your parcel will be delivered on " & [DeliveryDay] & " at " &
[Deliverytime]


Note that you may want to use the Format function to display the two fields
in the correct format:

="Your parcel will be delivered on " & Format([DeliveryDay], "mmmm d\,
yyyy") & " at " & Format([Deliverytime], "h\:nn AMPM")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top