473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Combining (joining) Fields together in a Report.

36
I am tyring to join two join fields together in a Report in the follwoing format:

Date: [DateOfDetention]
Time: [TimeOfDetention]


i have attempted this using the following code, but doesnt work:

="Date:" & " " & [DateOfDetention] & "
" & "Time:" & " " & [TimeOfDetention]


Can someone help me solve this problem. Thanks
Apr 10 '07 #1
3 2008
pks00
280 Expert 100+
I am tyring to join two join fields together in a Report in the follwoing format:

Date: [DateOfDetention]
Time: [TimeOfDetention]


i have attempted this using the following code, but doesnt work:

="Date:" & " " & [DateOfDetention] & "
" & "Time:" & " " & [TimeOfDetention]


Can someone help me solve this problem. Thanks
Easier solution might be just to create two labels on the left hand side. These labels will be captioned with Date and Time. This way u dont need to worry about prefixing DateOfDetention and TimeOfDetention

alternative is to modify the query. If this report is based on a query, then u can tweak the query to prefix it with Date and Time. Note though, u will have to reformat date as well
eg

select "Date: " & Format(DateOfDetention,"Short Date") AS DOD, ...

then the report picks up from DOD instead of DateOfDetention
Apr 10 '07 #2
atiq
36
Nice one! never though of that simple alternative method. like they say, two heads r beta den 1. Thanks for your help.
Apr 10 '07 #3
pks00
280 Expert 100+
No probs :)
Apr 11 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: epascual | last post by:
I need to combine fields values: FirstName and Last Name to Full Name in the same table. I like to put the value on the full name after completing entry for the full name. Thanks for the help. ...
5
by: ND | last post by:
I need to create a separate field from 4 fields, "street address", "city", "State" and "zip code". For example, Street address - 100 Forest Street City - Seattle State - WA Zip - 05555 ...
2
by: Will | last post by:
I have a table, tblManinstructions with fields Code & InstructionID, one Code can have many InstructionID. I also have tblinstructions (fields instructionID & instruction). What I want to do is...
6
by: Don | last post by:
I'm thinking this is simple and I'm just not understanding how to do it but I have to ask because I'm stumped. I have a query (which is used to create a report) and three of the columns in this...
4
by: justin tyme | last post by:
Hello Experts! I would like to combine (which may not be the correct technical term) two text fields from the same table in a query. Specifically, text field A and text field B are both lists of...
3
by: John Smith | last post by:
I have two text fields in a table. One is Height, one is width. Some examples of what might be each field: Height Width 35' 35' 8' 6' 4 to 6...
5
by: KewlToyZ | last post by:
Good day, I am stuck in a strange situation. SQL 2000 Server, creating a stored procedure to use in Crystal Reports 11. I am trying to build a report without creating a table or temprorary table in...
10
by: ckeller06 | last post by:
i have 2 tables which are linked together table 1: { EventID, EventName, CustomerID } table 2: { CustomerID, CustomerFirstName, CustomerLastName, AGE } they are join by CustomerID...
13
by: anthony | last post by:
I'm creating a report that will present information split into several sections with each section dealing with a particular aspect of data. No problem there. However, one of the sections will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.