Results 1 to 3 of 3
  1. #1
    nbdwt73 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2009
    Location
    Charlotte NC
    Posts
    8

    Substitute a subform

    I have an order entry system (Access 2003) that is a form (has customer information and record navigation in it) and a subform (for individual item orders for the customer selected in the form). The subform is for entering each item the customer is ordering per purchase order (multiple instances of subforms to one order form). The form and subform are tied to an order ID (a sequential number assigned to each new order - Link Master Field = OrderID (sequential number on form), Link Child Field = orderid (key for order item table)). When a new record is started, a blank order form with a new order ID and blank subform is displayed.

    We have a new customer with requirements for a new product type. I want to know if I can alter the current system such that for this special customer a different subform is displayed than the original. This means that if "newcustomer" is selected in the form, then subform "A" is replaced with subform "B". Is this possible?

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    put both subforms into the main form and toggle their visibility based on which customer

  3. #3
    nbdwt73 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2009
    Location
    Charlotte NC
    Posts
    8
    Thanks - done... Works fine

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

Similar Threads

  1. Substitute Teacher in need of answer key!
    By misssunshine1973 in forum Access
    Replies: 4
    Last Post: 05-14-2009, 02:25 AM
  2. Replies: 1
    Last Post: 12-10-2005, 04:52 PM
  3. Subform in a Subform and relationships
    By St3ph3n in forum Database Design
    Replies: 3
    Last Post: 12-06-2005, 06:34 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