![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I wish to create a temporary table that on closing will tranfer data to a main table. My problem is that on a network if more than one person opens the tempory table, CONFUSION. I would like to use a time stamp in the name of the temp table to eleviate this problem. |
|
could some one show me the code needed to create a unique table title for each user. also the method to transfer my temporary table data to the main table. |
#3
| |||
| |||
|
|
I wish to create a temporary table that on closing will tranfer data to a main table. My problem is that on a network if more than one person opens the tempory table, CONFUSION. I would like to use a time stamp in the name of the temp table to eleviate this problem. If you have multiple users, each should have their own copy of the front end, and that is where a temporary table will be created, so you will not face this problem. could some one show me the code needed to create a unique table title for each user. also the method to transfer my temporary table data to the main table. If you feel compelled to do otherwise, then, no, (at least) _I_ will not try to explain to you how to do what you shouldn't be doing. The CurrentUser function will return the login name of the current user, if you have put a password on the Admin user and require Access users to log in; there are API calls to obtain identification of the user's machine or network station in the API list at http://www.mvps.org/access. Larry Linson Microsoft Access MVP |
#4
| |||
| |||
|
|
Larry Linson wrote: I wish to create a temporary table that on closing will tranfer data to a main table. My problem is that on a network if more than one person opens the tempory table, CONFUSION. I would like to use a time stamp in the name of the temp table to eleviate this problem. If you have multiple users, each should have their own copy of the front end, and that is where a temporary table will be created, so you will not face this problem. could some one show me the code needed to create a unique table title for each user. also the method to transfer my temporary table data to the main table. If you feel compelled to do otherwise, then, no, (at least) _I_ will not try to explain to you how to do what you shouldn't be doing. The CurrentUser function will return the login name of the current user, if you have put a password on the Admin user and require Access users to log in; there are API calls to obtain identification of the user's machine or network station in the API list at http://www.mvps.org/access. Larry Linson Microsoft Access MVP Thanks Larry, I have never designed a database to work across a network before. I didnot think this through to the end. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...ccess/200802/1 |
#5
| |||
| |||
|
|
Almost always, there is a better approach to problems than a temporary table. |
#6
| |||
| |||
|
|
Almost always, there is a better approach to problems than a temporary table. Sometimes, though, it seems unavoidable. |
#7
| |||
| |||
|
|
Almost always, there is a better approach to problems than a temporary table. I've used a temporary table just once when trying to deal with an "abnormal" design inherited from a web genealogy site. Even then I was careful to create it within a Transaction and to do a Rollback after using it so that it never really caught, or had to be deleted. |
#8
| |||
| |||
|
|
Almost always, there is a better approach to problems than a temporary table. [quoted text clipped - 5 lines] after using it so that it never really caught, or had to be deleted. I used temp tables a few times during my early experiences* using Access, while I was still learning "The Access Way." Once I learned to work with Access rather than against it, my perceived need for temporary tables dwindled to near-nothing. * Those were the days when I wished there was some gaunt-faced Master with a scraggly beard whose advice began, "Grasshopper..." But all the Masters, gaunt-faced and otherwise, were still learning Access just as the rest of us** were. ** That is, we of the Great Access Unwashed. But, that does not mean there are not situations which demand them. I certainly make no claim to have worked in all the application areas for which Access can be used, and some of those may present problems for which a temporary table is the proper solution. I never had a need for page-after-page of from-scratch SQL but I understand why Tom Ellison needed it -- we worked on entirely different types of application. I've done some rather complex reports, but never needed a temporary table. Larry |
![]() |
| Thread Tools | |
| Display Modes | |
| |