Results 1 to 3 of 3
  1. #1
    sgtclark is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2020
    Posts
    24

    Continues Tabular Name Form

    I am sure one of you super smart people have figured out acool way to do this!

    I want to have a form that displays everyone name in tabularform on basically one sheet of paper. Of course tabular is column with eachrow. I can add a duplicate of that column, however it shows up as just that aduplicate. What I want is for the next column to pick up where the last ended.

    I am thinking that there is some way to create a query that takes the first 25in a record sources and I can use some form of an expression to make a columnfor that group, and it take 26-50 and do the same for the second column, and soon and so on.


    Column 1 Column2
    John Doe LittleJohn
    Jane Doe LittleJane
    Attached Thumbnails Attached Thumbnails Capture.JPG  

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,428
    easy to do in a report - does it have to be a form?

    you can try this query - change table and field names to suit. Based on max 50 persons in two columns of 25

    Code:
    SELECT A.Person, B.Person
    FROM (SELECT TOP 25 P.PersonPK, P.Person, (SELECT Count(*) FROM tblPersons R WHERE PersonPK<=P.PersonPK) AS rs
    FROM tblPersons AS P
    ORDER BY P.PersonPK)  AS A LEFT JOIN (SELECT TOP 25 P.PersonPK, P.Person, (SELECT Count(*) FROM tblPersons R WHERE PersonPK<=P.PersonPK)-25 AS rs
    FROM tblPersons AS P
    WHERE (((P.PersonPK) Not In (SELECT TOP 25 PersonPK FROM tblPersons ORDER BY PersonPK)))
    ORDER BY P.PersonPK)  AS B ON A.rs = B.rs
    Edit: corrected the join from INNER to LEFT
    Last edited by CJ_London; 03-20-2020 at 03:29 AM.

  3. #3
    Bullschmidt's Avatar
    Bullschmidt is offline Freelance DB Developer
    Windows 10 Office 365
    Join Date
    Mar 2020
    Location
    USA
    Posts
    64
    And for the report here's an article that you may find helpful...

    Microsoft Access Multi-Column Reports
    http://www.databasedev.co.uk/multi-column_report.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 04-04-2018, 10:36 AM
  2. Tabular form
    By Jishnu Surendran in forum Forms
    Replies: 4
    Last Post: 02-25-2018, 12:09 PM
  3. Open report from continues form
    By rscott1989 in forum Reports
    Replies: 1
    Last Post: 11-16-2015, 11:29 PM
  4. Replies: 20
    Last Post: 07-07-2014, 03:04 PM
  5. Issues with Continues form
    By ducecoop in forum Access
    Replies: 3
    Last Post: 11-11-2010, 01:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums