Show 4 records per page in Access form - ms-access

I am working on a small project using access. The access file has a table and I want to build a form which has a background image like this:
From the table, i want to put the first 4 records into the image in the form of a text box/field. Then the next 4 in the next page and so on.
This is my first form:
Finally, I want to print out all of the pages. I tried using multiple records form to get 4 records in a page, but it creates another Form2 I am getting all the records from the table in that form and I don't know how I can get just the four I want. The boxes are also immovable somehow. It looks like this:
I don't know where to go from here.

Related

SSRS Exact copy of a table does not stay within the page

I am trying to set up a 3 part check where the header of the report is the check itself, and the next 2 sections are each a table with the detail data. One copy stays here while the other goes with the check as a stub. I want the data to be exactly the same and print on the same page. The problem I am having is that if I print 2 checks the second table does not appear on the first page but shows up on the second page with the second check (2 tables in the bottom of the second page). How do I get the second table to print on the page with the proper check? I have put both into a rectangle in the body but that has not helped.
I also need the second table to be in a specific location on the page so it can't be put into the first table since the number of detail rows may vary.
How do I share the report design when I can't upload files? It's also hard to get a 2 page pdf file into a single snapshot. The image I uploaded is the second page. The second table should be on the first page not the second page.
The other issue with this is that my page header is expecting to find a total of the fields in the table, so if I use 2 subreports and remove the tables it can't calculate the total.
I am still confused as to what to do. The ultimate goal is to have the check print like this (works fine if only printing one check):
Here is a snapshot of what my rdl looks like in report builder:
I want the exact same table repeated on the same page. I have tried putting them both in a rectangle but that didn't work. I have tried making the second table a subreport but that didn't work. I have tried making 2 subreports with each containing a table but that didn't work. The check part of it is in the page header and it uses the sum of the data from the table to get the total check amount.
I finally got it working! Here is what I did.
1 - Created a subreport that holds the copy of the first table
2 - Added 2 rows below the detail group and put it outside of the group
3 - Put the subreport on the second added row
4 - Made the first added row below the detail big enough to force the subreport to be on the page where I want it.
Here is what the rdl looks like in report builder

pdf print multiple forms with image in access

I have one form in Access, which i use to print the informations from my table, with different date and different images. I want to print all form pages (one row from the table is one page in form) at once, but the problem is that on every page is the same image, the image that is connected to the first row of my table. so the form takes the data for each row (infomation for every row), but for the image takes the first one for every page of the form.
Any solution?

Subform Table Source Show all records

I'm creating an Access database for data entry, so I put together the form shown in the image below. It works great besides one problems I'm having that I can't seem to nail down.
I want to create a form that navigates by hiding and un-hiding subforms when clicking the buttons in the top bar. The subforms themselves are linked directly to the table (not a form, but the table itself). I did this in order to have an easy way to enter multiple entries in an excel like fashion that the users are familiar with. Entering the data works fine. Closing the form and re-opening it however causes the subform to show each individual record and the record navigations must be used to cycle through each one.
The intention was for the records be shown in the same fashion as if I just opened the table. Is there any viable way to accomplish this?

Create multiple pages in an HTML file with navigation links

I have a table in a SQL server database, that holds about 20 000 records. I want to display all the records in an HTML or ASP page. But it must be displayed in such a way that the user can only see the first 100 records and with a navigation link or button he can go to another page where, he can see the next 100 records.
For instance the user should have the following options available for navigation:
First page, Previous page, Next page, Last page
With the First page - the user can navigate and view the first 100 records.
Previous page - view the previous 100 records
Next page - view next 100 records
Last page - view last 100 records
I am not a 100% sure how to go about this. I thought of embedding other HTML pages within another that hold each set of 100 records, but sounds oddly wrong. I also thought about a sql query that for the first page it chooses the top 100 records and when a user press Next page, the query adjust and checks the current records/position and choose the next 100 records, which sounds like a viable option. But can someone give a few tips or examples, just so i can get some kind of reference that can help me on where to start.
You can use the property of a Recordset like below:
Set objRS = Server.CreateObject("ADODB.RecordSet")
objRS.PageSize = 10
objRS.CacheSize = 10
objRS.AbsolutePage = 1
objRS.PageCount
Those are some you can use. You can maybe also learn more about it through this links: Site 1 & Site 2
Thats what I've used

Mimicking Spreadsheet Style in a MS-Access Report

I've been tasked with creating a report in MS-Access that looks exactly like a spreadsheet that a vendor supplies to us for my company to fill in.
The number of records per page is about 40 and there are usually 3-6 pages that need to be prepared. Each month there is a new report sent out and I just got finished writing it all in manually while looking at a report I generated. The purpose of this is to avoid manually transcribing the data.
They are adamant about using their format and will not accept a different report, so I'm trying to be sneaky about it.
Problems
I can duplicate the header of the spreadsheet and the rows just fine, I've just run into a few snags.
Blank rows need to be displayed on the last page of the report instead of nothing being printed (whitespace) and then the page footer.
Whitespace that exists between the Details and the Page Footer is present. The page footer should instead appear to be another row of cells, except that it has the text Page Total and the page total on that row.
The second item happens because the Page Footer always appears at the bottom of the page in a set location as opposed to where the records ended (even if they took up the entire page).
Ideas
If there is someway I could create a
group based on page, then I could
stick that right after the details
section so that it would line up
nicely as opposed to the page total
and still be able to display the page
total.
Inserting blank rows into the rows to
match the number of records, is this
possible? I could calculate how many
extra rows I would need to complete
the page, but how would I insert
those rows into the data source?
Creating a new excel spreadsheet from a template and just writing to there the rows.
I'm using MS-Access 2007 here with a MS-Access 2003 MDB.
Any help is greatly appreciated.
If you need gridlines to print at the end of an Access report, one option is to create a background bitmap that you insert into the report's picture property.
This would be rather fussy, as you could use it only if your headers and footers are identical on all pages, and you'd have to be sure that controls entirely cover the whole detail area so that the background graphic will not show through except on pages where there is blank space. Also, if you altered the width of your detail fields, you'd need to edit the graphic to harmonize with those changes.
Let me just say that I consider the insistance on replicating the look of the spreadsheet to be incredibly boneheaded stupid. What purpose is served by these gridlines except to replicate the visual appearance of a spreadsheet? Are they going to use the grid to write things in? If not, then it's just a really idiotic requirement.
Start by turning a copy of their Excel report into a template file. Remove the data, but keep headers, formating, and formulas as needed (Some data manipulation will be easier in Access.).
This way you can enter and store data in Access. Instead of having users fill-in the spreadsheet in Excel with VBA based on the template file.
You'll run into different issues of how to place the results of a query to a worksheet and filling in formulas in specific fields, etc., but those can be later questions to post.