Tables are joined wrong, need to change them maybe(?) - InfoPath Dev
in

InfoPath Dev

Tables are joined wrong, need to change them maybe(?)

Last post 05-15-2008 11:22 AM by trufooser. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-13-2008 09:17 PM

    Tables are joined wrong, need to change them maybe(?)

    I have a list of patients that are seen at our clinic in an Access DB in a structure as follows. 

    demographics
          insurance
          episode
              visit
              dx
          financialInfo 

    The form in question is a master/detail, my first master/detail.  The form should work by entering a date into the visitDate query field, and the form will return just the visits (and episode and demographic info) that occured on that date. 

     Right now, the form is doing a left join(???), returning all patients, regardless if that patient had a visit that day. 

     Thanks for any help

  • 05-13-2008 09:44 PM In reply to

    Re: Tables are joined wrong, need to change them maybe(?)

    I think you would want to structure your data by Visit data primary and then with a key field to the patient and episode.

    That way you could query by visit date.

  • 05-15-2008 11:22 AM In reply to

    Re: Tables are joined wrong, need to change them maybe(?)

    But wouldn't that prevent me from entering data into the Episode by causing a many to one relationship?

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.