Report - Function combine last name and first name

sellis

New Member
Joined
May 17, 2011
Messages
33
Doing something stupid again - I just know it. I have this function that works perfectly in a query, but when I try and introduce the same function on a report it blows up. It have a first name field and a last name field, and I need to combin them into a Full Name. I do not really want to store this as I do not see the point. I have Access 2007 and in my queries I just have First Name&" "&Last Name. Low and behold it gives me the first name a space and them the last name. I am trying to do the exact same thing for the Report, but when I try and enter this function, the report runs, but a box appears before the report comes up that has my table name and and blank and the box says enter parameter value. Then if I just hit enter the report comes up and instead of the "Full Name" I get #error. Any help would greatly appreciated.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Store the calculation in a calculated field in a query, and then use the query as the Data Source of your report. Then just insert the calculated field into your report.

My personal preference is to attempt to do most of the calculations in the query instead of the report. For things such as totals and sub-totals, it makes sense to do them on the Report, but for single record item calculations, I prefer to do them in the query. I think it makes them easier to maintain,
 
Upvote 0

Forum statistics

Threads
1,224,614
Messages
6,179,906
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top