Establihing relationship between related records & Displaying - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Establihing relationship between related records & Displaying

Last post 08-29-2007 05:34 AM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-28-2007 09:42 AM

    Establihing relationship between related records & Displaying

    Hi All,

    I have a Access Database that stores large number of records. One of the new requirement that I got for this app is to allow establishing relationships between the records in the DB and any new record that is being added to the DB. I am using infopath form to add the records to the database.

    What specific control on the infopath form should I use to create this relationship.

    What specific control on the infopath form should I use to display this relationship.

    The relationship will be 1-Many.

    Thanks,

     

  • 08-29-2007 05:34 AM In reply to

    Re: Establihing relationship between related records & Displaying

    First Best Practice is to look at using SQL Express instead of Access.

    So if I understand right, you have multiple secondary tables, which you need to link together by company or category or something.

    For this would would need to create this new Primary table or Identify an existing primary table and it would need an ID field which is a primary key.  Then in each of your other table you would need to create a field to hold this primary key as well.  This would be your relationship field to link a secondary row to the primary row.

    One optino would be to create a whole new table strucutre for your data and as you process your data move it into this new architecture.  This culd be accomplished via InfoPath. Otherwise, you would need to go through all of your existing data first in Access or SQL and get it fixed then setup your InfoPath form to add new in the same relationships.  InfoPath, database forms have to be setup as such from the beginning and are completely dependent on the existing table relationships, these have to be established and working for InfoPath to work, especially submit back to the database. You would not be able to perform table maintenance via a form, at least not without WebServices.

    You may want to look at the Database Accelerator, which includes a whole suite of web services for interacting with your database, but it requires SQL or SQLExpress.  Qdabra Database Accelerator Suite Version 2.1 - Developer

    Let me know if you need anything else.

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