BlueChicken
Usually Confused
- Local time
- Today, 06:34
- Joined
- Jun 19, 2009
- Messages
- 88
I made a form to record information on employee travel. Each record has a request number, six (6) flight information sections (ariline, flight number, confirmation number, depart location, depart time, arrive location, arrive time), one hotel (hotel name, hotel confirmation, check in time, check in date, check out time, check out date), and rental car (rental agency, rental confirmation, pick up date, pick up time, drop off date, drop off time).
I am making a report on all of this data so I can send it to the employee who is traveling so that they have all the information they need for their trip in one place. I'll show you what I am doing first then I'll explain my problem.
Here is what the report looks like in design view minus the title:
=Now()
="RE: Trip Request " & [TravelDeskRequestNumber] & "."
="Dear " & [Suffix] & " " & [FirstName] & " " & [LastName] & ","
="Below is your information on your trip that begins " & [AirTravelDate1] & "."
Your airline information is as follows:
="You are on " & [Airline1] & " flight " & [FlightNumber1] & ", departing at " & [AirTravelDepartTime1] & " on " & [AirTravelDate1] & " from " & [AirTravelDepartLocation1] & " to arrive at " & [AirTravelArriveLocation1] & " at " & [AirTravelArriveTime1] & ". The flight locator for this flight is " & [AirTravelLocator1] & "."
^^This is repeated 5 more times with the numbers changing (1-6)^^
="You will be staying at " & [AutoNumber] & " to check in on " & [HotelCheckInDate] & " at " & [HotelCheckInTime] & ", and to check out on " & [HotelCheckOutDate] & " at " & [HotelCheckOutTime] & ". Your confirmation number is " & [HotelConfirmationNumber] & "."
="You have a rental with " & [RentalAgency] & ", to be picked up at " & [RentalPickUpTime] & " on " & [RentalPickUpDate] & ". Please return your rental by " & [RentalDropOffTime] & " on " & [RentalDropOffDate] & ". Your confirmation number is " & [RentalConfirmationNumber] & "."
If you have any questions regarding your itenerary, please contact us immediately.
Thank-you.
Travel Desk
The only problem is that not all of the employees need all 6 flight sections, hotels, or rental cars so in the form the text boxes are blank, but in this report due to the formulas, the words are there but the actual details are just spaces... looks really odd and I want them to disappear if there is no actual data.
I have tried a few things that I can think of and none of them have worked because they were meant for text boxes and bound labels not formulas. Can shrink does not work. *<--EDIT*
If you have any idea how to fix this PLEASE let me know. I have to get this report working as soon as possible.
Thanks!
I am making a report on all of this data so I can send it to the employee who is traveling so that they have all the information they need for their trip in one place. I'll show you what I am doing first then I'll explain my problem.
Here is what the report looks like in design view minus the title:
=Now()
="RE: Trip Request " & [TravelDeskRequestNumber] & "."
="Dear " & [Suffix] & " " & [FirstName] & " " & [LastName] & ","
="Below is your information on your trip that begins " & [AirTravelDate1] & "."
Your airline information is as follows:
="You are on " & [Airline1] & " flight " & [FlightNumber1] & ", departing at " & [AirTravelDepartTime1] & " on " & [AirTravelDate1] & " from " & [AirTravelDepartLocation1] & " to arrive at " & [AirTravelArriveLocation1] & " at " & [AirTravelArriveTime1] & ". The flight locator for this flight is " & [AirTravelLocator1] & "."
^^This is repeated 5 more times with the numbers changing (1-6)^^
="You will be staying at " & [AutoNumber] & " to check in on " & [HotelCheckInDate] & " at " & [HotelCheckInTime] & ", and to check out on " & [HotelCheckOutDate] & " at " & [HotelCheckOutTime] & ". Your confirmation number is " & [HotelConfirmationNumber] & "."
="You have a rental with " & [RentalAgency] & ", to be picked up at " & [RentalPickUpTime] & " on " & [RentalPickUpDate] & ". Please return your rental by " & [RentalDropOffTime] & " on " & [RentalDropOffDate] & ". Your confirmation number is " & [RentalConfirmationNumber] & "."
If you have any questions regarding your itenerary, please contact us immediately.
Thank-you.
Travel Desk
The only problem is that not all of the employees need all 6 flight sections, hotels, or rental cars so in the form the text boxes are blank, but in this report due to the formulas, the words are there but the actual details are just spaces... looks really odd and I want them to disappear if there is no actual data.
I have tried a few things that I can think of and none of them have worked because they were meant for text boxes and bound labels not formulas. Can shrink does not work. *<--EDIT*
If you have any idea how to fix this PLEASE let me know. I have to get this report working as soon as possible.
Thanks!
Last edited: