+ Reply to Thread
Results 1 to 6 of 6

UserForm via Join Table

  1. #1
    Registered User
    Join Date
    06-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    26

    UserForm via Join Table

    Hello,
    I'm making a database where I want to fetch a record from a table "Customer Details", from a drop down box in an order form, additionally, if the customer does not exist, I'd like it to add the customer name to "Customer Details" if a user types a name in.

    I've managed to do this with other tables, however these are directly linked to the form by a foreign key, however the Customer Details were many-to-many and have been broken up with a weak entity, yet I'm not sure how to get this to work like other parts of the form.

    How do I get it so I can link a table via a weak entity?

    I'll then be doing the same for Circuit and Site...although one step at a time!

    Thank you.

    I've attached my Database. =)
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: UserForm via Join Table

    I'm afraid your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    cross posted: http://www.access-programmers.co.uk/...d.php?t=240452
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: UserForm via Join Table

    Sorry about this, can you close this post? I'll leave the access one open.
    Sorry!
    http://www.access-programmers.co.uk/....php?p=1226251

    If anyone does have a solution feel free to PM me.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: UserForm via Join Table

    No reason to close it. The issue is notifying others when you do cross post.

  5. #5
    Registered User
    Join Date
    06-06-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: UserForm via Join Table

    Hello, managed to solve this issue of the joins, etc.

    But have another question.
    Say I have Order Type with 2 options: "Provide" and "Cease" on a combo box.
    If the value is "Provide" I'd like an option to add circuit to come up on the form, which in turn would lead to another form.
    However, if the value is "Cease", then I'd like the option to be either; No option, which I can solve myself, or the option to save and look up existing circuit from the "Circuit" Table.

    Cheers.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: UserForm via Join Table

    In the after update event for the combo box, you could create some VBA that uses the IF then sequence to do what you want.

    something similar to this:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1