Results 1 to 6 of 6
  1. #1
    Steven19 is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2020
    Location
    London
    Posts
    110

    Form Design Ideas

    Hi all

    I'm looking for a way of designing a form that operates in the following way. (simplified example below)

    Table_1 Contains the field [Country]
    Table_2 Contains the field [WOWGR]

    I want to design a form that has the data source Table_2 as I will be updated related fields of this table.

    However on the actual form, I want a Label to say if [WOWGR] is valid or not. If Table_1, Country = United Kingdom, Table_2 WOWGR Valid, Table_2 WOWGR Not Valid.

    I've never tried to do anything like this before so would appreciate some pointers.

    There are relationships between Table 1 and Table 2. Each have a Key and Table 2 is a child to Table 1.

    I've not started building this yet, but just looking for ways to make this work.



    Regards

  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,568
    Hi

    The normal structure for these 2 tables would be a Main form based on the Country (Parent Record)
    and a Subform based on WOWGR ??

    It is always best to name a table with a name that relates to its contents.

    table1 would be named tblCountries
    table 2 would be named whatever
    WOWGR represents

    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  3. #3
    Steven19 is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2020
    Location
    London
    Posts
    110
    Hi Mike

    The naming conventions are pretty okay. I've got that down to an art especially after going through an exercise of normalisation with a previous database.

    Thanks for the feedback

  4. #4
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    I think what Mike is trying to say is real table names might assist us in providing you with a sensible solution, and better understand what the fields mean.

    Unless they are tb_MybankAccountNumber and tb_MydateofBirthAndMothersMaidenName

    In which case the obfuscation makes more sense.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    Steven19 is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jun 2020
    Location
    London
    Posts
    110
    Okay
    So the database is a Duee Diligence Database - we will use it to verify customer due diligence

    So, I've got
    Table_1: DueDiligence
    Table_2: tblCompanyDDIdentity

    The Field Country is a DDL called Country

    The user will update the Combo Box in the Table DueDiligence, if they select UK, then I don't really need anything to happen, but if they select any other country other than the UK, I have two options.

    1. A text box in tblCompanyDDIdentity called WOWGRUpdated can accept avalue of valid or not valid or
    2. A Label on a form, (CDDMenu) not yet created to show a lable that says WOWGR Valid if UK is selected.

    I'm also trying to get an idea for , if tblCompanyDDIdentity has no new record yet, one will have to be created,

  6. #6
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,568
    Hi Steven

    OK so you can make the Subform NOT Visible initially

    Then in the Combobox for selecting Country on the Main Form if the user selects anything other than the UK the Subform becomes Visible
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

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

Similar Threads

  1. UI Design Ideas (Just for Fun)
    By AccessPower in forum Database Design
    Replies: 22
    Last Post: 01-13-2017, 04:06 PM
  2. Design Ideas?
    By Voodeux2014 in forum Database Design
    Replies: 3
    Last Post: 10-26-2015, 11:24 AM
  3. Replies: 1
    Last Post: 05-13-2015, 02:25 PM
  4. Replies: 13
    Last Post: 02-25-2015, 06:34 AM
  5. Design Ideas
    By ajs112 in forum Access
    Replies: 4
    Last Post: 10-08-2014, 02:35 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