Hey Folks,
I got a complicated issue here ... this has to do with tables and forms. I am using MS Access front end linked to SQL Server back end for a gigantic survey for a non-profit. The survey is so large that it goes well over the 255 field limit per table/form with Access. In order to make this work, because removing fields is not an option at all, I split the large table into two smaller ones to get away from the field size limitation for both the tables and forms. The table that holds all of the primary info has a primary key that is set by SQL that works fine - int auto number ID unique non null with retired numbering if a delete occurs. Here is what I am struggling with: I need to somehow link the two tables together so that each time a user creates a new record via the form or via command buttons or any other means, I need that second table to automatically create a record for that person and populate the ID key on that table to match the primary table's key so I can link the data. I am unsure what is the most thoural and complete fool proof way to do this so I wont end up with this app errering out or worse yet somehow end up with not being able to join the info from the two tables properly and to the same person in question.
If I can figure the above out, I can then try to dump the second table, then linked, to the main forn to allow the users to update that info as well. Of course two separate forms are necessary due to fields on each form having the 255 limit.
Any help would be greatly appreciated.
Thanks,
Joe
I got a complicated issue here ... this has to do with tables and forms. I am using MS Access front end linked to SQL Server back end for a gigantic survey for a non-profit. The survey is so large that it goes well over the 255 field limit per table/form with Access. In order to make this work, because removing fields is not an option at all, I split the large table into two smaller ones to get away from the field size limitation for both the tables and forms. The table that holds all of the primary info has a primary key that is set by SQL that works fine - int auto number ID unique non null with retired numbering if a delete occurs. Here is what I am struggling with: I need to somehow link the two tables together so that each time a user creates a new record via the form or via command buttons or any other means, I need that second table to automatically create a record for that person and populate the ID key on that table to match the primary table's key so I can link the data. I am unsure what is the most thoural and complete fool proof way to do this so I wont end up with this app errering out or worse yet somehow end up with not being able to join the info from the two tables properly and to the same person in question.
If I can figure the above out, I can then try to dump the second table, then linked, to the main forn to allow the users to update that info as well. Of course two separate forms are necessary due to fields on each form having the 255 limit.
Any help would be greatly appreciated.
Thanks,
Joe