Results 1 to 12 of 12
  1. #1
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229

    Display multiple records horizontally on form

    I have a form with just two fields.
    I want to display more than one record horizontally.
    At the moment, the records are displayed vertically.
    I can't find the multi-column option for Access forms.


    Is there a way to do this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    There is no 'multi-column' formatting for a form, that is a report setup. VBA code can arrange records to display across, but they would not be editable. http://allenbrowne.com/func-concat.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    Thanks, June7. I do not need edit capability, just need to intercept the click and doubleclick events.

  4. #4
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    I just checked the link you gave; it is not at all related to my problem as it concatenates fields of the same record. Whereas I am asking to 'display' more than one record horizontally on a form. Actually, the records on my form consist of a single picture field each. And I want them to display as many as can fit across the width of the form.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    You should review that link again. It is a method to concatenate data from many records, NOT the fields of same record. However, I have doubts it will serve your purpose with images. Not sure any technique will. Are you storing image or link in the field?

    Here is example of how I rearrange data to run across http://forums.aspfree.com/microsoft-...ry-322123.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    Thanks, June7, I reviewed the ConCatRelated function code, you are right.
    And yes again, it will not serve my purpose. Even if it were another data type, all I want is to arrange the fields across the form width while leaving them as they are with all their functionality of event code, etc.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    You have to rearrange the data by query or VBA or some combination. That is presented in my example. Then bind form to the query or as in my example, a temp table. How many related records would be involved? I.e., how many 'columns' would result? My example has no limit.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    Thanks, June7. Since it will not achieve wat I want it to, I am shelving this.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    What did you mean by 'leaving them as they are with all their functionality of event code, etc'? Data does not have event code.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  10. #10
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    I wanted to implement click funtionality into the image controls and if possible, drag and drop too.

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    Click functionality is an event of objects and controls, not the data. With regular data this is possible with rearrangement. I have little experience with querying image data. Rearrange the data, bind field to an image control. What happens? I don't know when drag and drop is ever a functionality in Access.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #12
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    OK, issue shelved till further notice.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-27-2011, 08:55 PM
  2. How to Display multiple tables in one form
    By saruafra in forum Access
    Replies: 4
    Last Post: 03-06-2011, 07:23 PM
  3. Multiple column display on form
    By RANCHLAW56 in forum Forms
    Replies: 1
    Last Post: 01-06-2011, 02:44 PM
  4. Display ALL records in a form?
    By evander in forum Forms
    Replies: 3
    Last Post: 07-15-2010, 07:59 AM
  5. Report to display multiple records by date.
    By af01waco in forum Reports
    Replies: 1
    Last Post: 03-21-2009, 02:12 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