Having problems with forms

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kasghost
    New Member
    • Feb 2007
    • 15

    Having problems with forms

    I started working on my first Access Dbase about a week ago, Thanks NeoPa for the initial help. Now I am trying to create a form. What I would like to do is have one form that I can fill out. The table the form is going to has 3 fields Office ID, Phone Number (Primary Key), and Purpose. I would like to be able to have the form so I can put the Office ID in 1 time and then fill in the Phone Number and Purpose for the different numbers in that office. So far I have a form that "looks" like what I want but when I put data in the same data populates all the fields. Please help. Also from reading other posts it seems as metadata is something that you might want to see. If you could give me a quick explanation how to get it I will be happy to post it.
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Originally posted by Kasghost
    I started working on my first Access Dbase about a week ago, Thanks NeoPa for the initial help. Now I am trying to create a form. What I would like to do is have one form that I can fill out. The table the form is going to has 3 fields Office ID, Phone Number (Primary Key), and Purpose. I would like to be able to have the form so I can put the Office ID in 1 time and then fill in the Phone Number and Purpose for the different numbers in that office. So far I have a form that "looks" like what I want but when I put data in the same data populates all the fields. Please help. Also from reading other posts it seems as metadata is something that you might want to see. If you could give me a quick explanation how to get it I will be happy to post it.
    MetaData
    TableName
    PrimaryKeyName
    OtherFieldNames

    In this case you need a main form and a subform. The main form would be based on the Office table and the subform on the Phone table. This would allow you to enter records in the Phone subform for each record in the Office Mainform.

    Mary

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32633

      #3
      Ideally, your MetaData should look something like this.
      You would need to fill in the blanks and amend any errors.
      Use the Reply button on this post to get the code that you can amend to show it like this.
      Code:
      [b]Table Name=tbl???[/b]
      [i]Field; Type; IndexInfo[/i]
      PhoneNumber; Text; PK
      OfficeID; Number; FK
      Purpose; ???

      Comment

      Working...