Results 1 to 4 of 4
  1. #1
    needafix is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2009
    Posts
    19

    Multiple detail items per line

    I need to print multiple detail items on a single line when it is not known how many items are in the table. I have seen some old DOS apps do this and the user would like to use the same format to save space. They are right that the line listing will be long as opposed the current format.
    Current format:


    ID 12A11 12A12 13C00 14T05
    10D06 11A66 ect.

    I can do the standard Access item per line:
    ID
    12A11
    12A12
    13C00
    14T05
    10D06
    ect.

    Any ideas?

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    You could use Replace(<<[YourFieldName]>>," ", VbCrLf) This will replace each space with a carriage return and line feed. Remember to set your textbox to shrink and grow = true.

    David

  3. #3
    needafix is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2009
    Posts
    19
    Thanks for the response. I will try this code but initially it looks like the code would get the current format to the second list. I am actually trying to get it to go the other way. Sorry if I wasn't very clear on that.

  4. #4
    needafix is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2009
    Posts
    19
    I have used your idea but concatenated the fields with a space, using a vbcrlf every five times and it works great. Thanks for your help.

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

Similar Threads

  1. report detail duplication
    By archie in forum Reports
    Replies: 5
    Last Post: 09-17-2009, 08:51 PM
  2. Space Between Header and Detail in Report
    By tigers in forum Reports
    Replies: 3
    Last Post: 06-23-2009, 12:01 AM
  3. On click menu items do not work
    By mrk68 in forum Access
    Replies: 1
    Last Post: 03-23-2009, 07:29 PM
  4. Replies: 1
    Last Post: 11-11-2006, 08:23 PM
  5. Added items in a column.
    By Wrangler in forum Forms
    Replies: 3
    Last Post: 03-25-2006, 07:56 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