Auto Populate fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blue310
    New Member
    • Mar 2012
    • 1

    Auto Populate fields

    Hi

    I am need of some help with my database design. I am no expert to Access/VBA by any means.

    I have a form (see attached) which has a field called PropertyID. Originally I had Indexed set to yes(duplicates OK). When I would enter an ID the manufacturer, model, and serial # fields would auto populate. I then realized that with that setting users can enter duplicate data. When I changed Indexed to Yes(No Duplicates) I lost the auto populate function.

    I would like to have the best of both worlds. I need the field to stay Unique as well as populate those 3 fields.

    Thank you for your help.
    [imgnothumb]http://bytes.com/attachments/attachment/6177d1330968134/relationships.j pg[/imgnothumb]
    [imgnothumb]http://bytes.com/attachments/attachment/6178d1330968134/formdetail.jpg[/imgnothumb]
    Attached Files
    Last edited by NeoPa; Mar 5 '12, 09:49 PM. Reason: Made pics viewable.
  • Mihail
    Contributor
    • Apr 2011
    • 759

    #2
    I think there are 3 ways to do that:

    1) Create a separate query and set it as record source for your form;
    2) Edit the record source for your form then change in this place the query.
    3) Define for each table a form and use this as sub-form in their parent form.

    Comment

    Working...