Hi Everyone..
Been forever since I've posted to the Access newsgroups, and even longer
since I've needed to post a question, but I've never had to use or try
Access on a Terminal Server so I'm hoping to Brain Scrape some info from
those of you that have.
Schema:
MS Access 2000 .adp sitting on a Terminal Server with SQL Server
Database backend.
Issue:
Need to have User specific Temporary Tables.
Assumptions:
As the logged-on TS User is presented with an instance of Access, this
Instance is user specific, so any temporary tables created in the
"Front-end" would be specific to that user.
On ending the TS Session the MS Access instance is destroyed and any
temporary tables with it so no clean-up / table destruct is required on
closing the App.
Question:
Are the above assumptions correct ?
Supplemental Question.
Other than using Temp Tables so an additional Field (value holder) can
be added ( SQL Database cannot be altered ) is there any -other- way to
conditionally format selected records in a continuous form that anyone
has devised/discovered ?
TIA
Henry Craven. 8 2728
On Sun, 18 Jul 2004 23:55:38 GMT, "Henry Craven" <IU******@Dot.Nyet>
wrote:
Hi Henry,
Good to have you back.
ADP doesn't have tables in the front-end, only in the back-end.
However, since the back-end is SQL Server, you can certainly have
temporary tables there. Their names start with # or ##. See BOL for
details. An alternative I've used several times is to have a permanent
table, with an extra MachineName column, used to separate the
temporary data from the several users.
You give TS too much credit. It's a pretty stupid window into the
server. If you set up each user with her own home folder, and her own
copy of the front-end (after all, disk space is cheap), then each user
would be using a personal version of the FE.
Of course if you BADLY wanted local tables, you could always use
Automation to connect to an MDB (one for each user in their own home
folder).
Regards,
-Tom. Hi Everyone.. Been forever since I've posted to the Access newsgroups, and even longer since I've needed to post a question, but I've never had to use or try Access on a Terminal Server so I'm hoping to Brain Scrape some info from those of you that have.
Schema: MS Access 2000 .adp sitting on a Terminal Server with SQL Server Database backend.
Issue: Need to have User specific Temporary Tables.
Assumptions: As the logged-on TS User is presented with an instance of Access, this Instance is user specific, so any temporary tables created in the "Front-end" would be specific to that user.
On ending the TS Session the MS Access instance is destroyed and any temporary tables with it so no clean-up / table destruct is required on closing the App.
Question: Are the above assumptions correct ?
Supplemental Question. Other than using Temp Tables so an additional Field (value holder) can be added ( SQL Database cannot be altered ) is there any -other- way to conditionally format selected records in a continuous form that anyone has devised/discovered ?
TIA
Henry Craven.
Tom van Stiphout <no*************@cox.net> wrote: An alternative I've used several times is to have a permanent table, with an extra MachineName column, used to separate the temporary data from the several users.
Which will be difficult given that the MachineName will be the same for everyone on
the same TS system. You could try userid except that there might be a generic user
such as say Counter or Warehouse, (a concept I disagree with but I digress) or the
user might want to run the app twice.
Now if there was an API for a unique TS task id or something like that.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at http://www.granite.ab.ca/accsmstr.htm
On Mon, 19 Jul 2004 05:11:52 GMT, Tony Toews <tt****@telusplanet.net>
wrote:
Good point.
How about @@SPID?
I haven't tried this. but it seems promising.
-Tom. Tom van Stiphout <no*************@cox.net> wrote:
An alternative I've used several times is to have a permanent table, with an extra MachineName column, used to separate the temporary data from the several users.
Which will be difficult given that the MachineName will be the same for everyone on the same TS system. You could try userid except that there might be a generic user such as say Counter or Warehouse, (a concept I disagree with but I digress) or the user might want to run the app twice.
Now if there was an API for a unique TS task id or something like that.
Tony
On Jul 19 2004, 01:22 am, Tom van Stiphout <no*************@cox.net> wrote
in news:ve********************************@4ax.com: How about @@SPID? I haven't tried this. but it seems promising.
Only if you can ensure that each instance of the app opens only one
connection to the server in its lifetime.
I would probably suggest SUSER_SNAME() function, possibly even using it as
the default for a column in the temp table. This requires every user to
use a unique SQL Server login.
--
remove a 9 to reply by email
Thanks Guys.
I've only ever had a brief look at .adps and I've inherited this mess.
Not the way I'd write this at all, and they haven't left me much room
to manoeuvre in ( eg. I can't alter the SQL Database.)
--
Henry Craven
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:ve********************************@4ax.com... On Mon, 19 Jul 2004 05:11:52 GMT, Tony Toews <tt****@telusplanet.net> wrote: Good point. How about @@SPID? I haven't tried this. but it seems promising.
-Tom. Tom van Stiphout <no*************@cox.net> wrote:
An alternative I've used several times is to have a permanent table, with an extra MachineName column, used to separate the temporary data from the several users.
Which will be difficult given that the MachineName will be the same
for everyone onthe same TS system. You could try userid except that there might be
a generic usersuch as say Counter or Warehouse, (a concept I disagree with but I
digress) or theuser might want to run the app twice.
Now if there was an API for a unique TS task id or something like
that. Tony
Henry
I guess you are referring to the (SQLServer) "local" temporary Table (with 1
# in from of the Table name - MSKB article 287728) then you assumption is
correct, AFAIK according to B.O.L.
Not sure of the 2nd question as I hardly use ADPs besides a few for testing.
--
HTH
Van T. Dinh
MVP (Access)
"Henry Craven" <IU******@Dot.Nyet> wrote in message
news:_5*****************@news-server.bigpond.net.au... Hi Everyone.. Been forever since I've posted to the Access newsgroups, and even longer since I've needed to post a question, but I've never had to use or try Access on a Terminal Server so I'm hoping to Brain Scrape some info from those of you that have.
Schema: MS Access 2000 .adp sitting on a Terminal Server with SQL Server Database backend.
Issue: Need to have User specific Temporary Tables.
Assumptions: As the logged-on TS User is presented with an instance of Access, this Instance is user specific, so any temporary tables created in the "Front-end" would be specific to that user.
On ending the TS Session the MS Access instance is destroyed and any temporary tables with it so no clean-up / table destruct is required on closing the App.
Question: Are the above assumptions correct ?
Supplemental Question. Other than using Temp Tables so an additional Field (value holder) can be added ( SQL Database cannot be altered ) is there any -other- way to conditionally format selected records in a continuous form that anyone has devised/discovered ?
TIA
Henry Craven.
"Tom van Stiphout" <no*************@cox.net> wrote in message
news:ve********************************@4ax.com... On Mon, 19 Jul 2004 05:11:52 GMT, Tony Toews <tt****@telusplanet.net> wrote: Good point. How about @@SPID? I haven't tried this. but it seems promising.
use the SPID of the CurrentProject.Connection object. This will be
a) unique to each running instance of the Access ADP
b) unchanging from the time the app launches to the time it closes
On Jul 20 2004, 12:55 pm, "John Winterbottom" <as******@hotmail.com> wrote
in news:2m************@uni-berlin.de: "Tom van Stiphout" <no*************@cox.net> wrote in message news:ve********************************@4ax.com... On Mon, 19 Jul 2004 05:11:52 GMT, Tony Toews <tt****@telusplanet.net> wrote: Good point. How about @@SPID? I haven't tried this. but it seems promising.
use the SPID of the CurrentProject.Connection object. This will be
a) unique to each running instance of the Access ADP b) unchanging from the time the app launches to the time it closes
John,
I am not too familiar with ADPs, but if the connection gets reset for some
external reason (bad network connectivity, etc.), is it not possible that
the ADP will reconnect while the app is still running, and get a different
SPID?
--
remove a 9 to reply by email This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rebecca |
last post by:
I have a large Access 97 database that's been split into a front and
back end. We've used it successfully with several computers networked
together, but now some of the people in my organization...
|
by: NB |
last post by:
In a small business environment where budget does not allow more
licence for Access, is there any way to have more users to use the
current Access application (built on Access 2002 and VBA with DAO...
|
by: Angel Mazo |
last post by:
Dear all,
I have a very weird Access 97 MDE behavior that I don't know how to
explain and, of course, how to solve:
.. I have a site with 14 PC's, mixed Windows XP Pro and Windows 98,
running...
|
by: premmehrotra |
last post by:
I currently have a multi-user access database which is put on a shared
drive L: on a Windows Servers. Entire database is one file premdb.mdb.
Users access this database from their laptops....
|
by: Terry Bell |
last post by:
We've had a very large A97 app running fine for the last seven years.
I've just converted to SQL Server backend, which is being tested, but
meanwhile the JET based version, running under terminal...
|
by: Zen |
last post by:
From http://support.microsoft.com/kb/828956/
"Note Microsoft does not support the use of multiple versions of Microsoft
Office on a Terminal Server. Coexistence is not supported on versions...
|
by: John |
last post by:
Hi
We have an access app (front-end+backend) running on the company network. I
am trying to setup replication for laptop users who go into field and need
the data synched between their laptops...
|
by: James |
last post by:
Dear Access Guru's,
Hopefully you can help me (as Microsoft don't seem to be able to)
We have an Access database on a Windows 2003 server with 5 CALS in our
office.
Access is loaded onto...
|
by: mike |
last post by:
We have numerous Access 97 apps that we run on our Terminal Server,
but two apps in particular is giving us a problem. The problem we are
running into is when you select a drop down menu, it errors...
|
by: evancater |
last post by:
My client wants to make their Access 2007 database available to
offices around the country with multi-user permissions set to control
access to the tables and forms, etc. The easiest thing would be...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |