I have an application that works with our SQL-based collections package. In the SQL tables is a personal history table for each individual user that logs each account looked up w/date and time, etc. In my Access app, I want each user to be linked to his own personal table so that the app can fetch the most recently looked up account when a button is clicked.
The problem is that there are dozens of individual, personal history tables. I don't want to create links in my Access app to all of them, just the one appropriate for each user. NEED: I need a way, based on a variable associated with a person's login credentials to my app, to connect a user to his own table and no others. If the SQL Table is named dbo_history_Huff for example, the "Huff" part would be a value in my login credentials and would be used to uniquely identify my own history table apart from all others. I tried editing the referent to the SQL table in the MSysObjects table, but it was read-only.
Any ideas on how to pull this off, or alternately, how to open the MSysObjects table in an editable mode? That would sure be a handy way to correct the table referent. If there is a way to do this in objects rather than code, that would be my preference, but whatever!
Thanks,
Scott Huff,
Evanston (Chicago) IL USA
The problem is that there are dozens of individual, personal history tables. I don't want to create links in my Access app to all of them, just the one appropriate for each user. NEED: I need a way, based on a variable associated with a person's login credentials to my app, to connect a user to his own table and no others. If the SQL Table is named dbo_history_Huff for example, the "Huff" part would be a value in my login credentials and would be used to uniquely identify my own history table apart from all others. I tried editing the referent to the SQL table in the MSysObjects table, but it was read-only.
Any ideas on how to pull this off, or alternately, how to open the MSysObjects table in an editable mode? That would sure be a handy way to correct the table referent. If there is a way to do this in objects rather than code, that would be my preference, but whatever!
Thanks,
Scott Huff,
Evanston (Chicago) IL USA