Report/Query

monbri

Board Regular
Joined
Sep 11, 2003
Messages
52
I have two issues that I am trying to resolve.

1. How do I get only one record to display per page. My report is displaying up to three records per page.

2. Each record is sorted by a assignment number (LL0001012345). I want to create a query to pull up the record in a form using only the last five digits. How would I write the query.

Thanks in advance for anyone who can assist.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

You can change the page breaks in your report as follows :

View the report in design mode, Click on the section where you want the page break (i.e. the detail section), Click View -> Properties -> Force New Page -> After Section. Save.

This will put one record onto each page in your report.

For the other part, you could use something like =Right([assignment number],5) in a query to look at the last 5 digits of the assignment number. {Remember to use your variable name}. In your query include the original assignment number and the short version. This query can then be used on the form in a dropdown / combo box.

HTH, Andrew. :)
 
Upvote 0

Forum statistics

Threads
1,221,816
Messages
6,162,149
Members
451,746
Latest member
samwalrus

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