Results 1 to 4 of 4
  1. #1
    vik808 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    2

    Table/Linked Table with Specific number of rows

    Hi,



    This maybe a starnge situation but I have an Ordering form where I have to show X number of options
    for each order. So if I have to display all the options to the user (say 30 types of products).
    Would I have to prefill a LineItem table with each option type?

    See below.
    Thx!!



    for ea

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,970
    If you use a bound form then yes, would have to create the records and open or refresh form to that set of records for user to complete entries for quantity. In which case, the combobox is of no use. You would not want user to changed the item. Make it a Locked textbox.
    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
    vik808 is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    2
    This would really bloat the LineItem table with blank rows wouldn't it?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,970
    Yes, if quantity is not required for each item then would need code to remove those 'blanks'. This could possible be a DELETE sql action triggered when the form closes.
    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.

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

Similar Threads

  1. Replies: 3
    Last Post: 10-15-2012, 01:18 PM
  2. Limit rows of linked excel table
    By FJM in forum Access
    Replies: 1
    Last Post: 06-15-2012, 02:43 PM
  3. Replies: 2
    Last Post: 05-30-2012, 10:38 AM
  4. Replies: 2
    Last Post: 08-22-2010, 07:59 PM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 AM

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