473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Passthrough connection help

I have a set of passthrough queries that rely on a temporary table in
SQL and currently I am dealing with this by creating a passthrough that
builds the table and leaves the connection open for an extended period
of time. However, rather than doing this I would like to open a
connection at the onset of opening the Access app and closing it when
done. My problem is: how do I create the open connection and use it in
all other passthrough queries? Any help would be apprecieated. Thanks.

Nov 13 '05 #1
1 1571
I don't know if what you want to do is possible. But, instead of using a SQL
temporary table, why not just create your own temporary table, using the
current user's ID as a value in the table to make it unique to the user.
Populate the table when the app is opened, and clear it when it's closed.
Then you don't need a persistent connection.

Neil
<hr******@csatravelprotection.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I have a set of passthrough queries that rely on a temporary table in
SQL and currently I am dealing with this by creating a passthrough that
builds the table and leaves the connection open for an extended period
of time. However, rather than doing this I would like to open a
connection at the onset of opening the Access app and closing it when
done. My problem is: how do I create the open connection and use it in
all other passthrough queries? Any help would be apprecieated. Thanks.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ron_A | last post by:
NewBee, Got some clues from some databases written using passthrough queries but don't understanc the case... statements. Is there any books anywhere that wiill include help on the syntax required...
7
by: Bri | last post by:
Greetings, I have a Passthrough Query to SQL Server that I want to know the RecordsAffected, but it always returns 0. This worked perfectly when it was an Access Query on the ODBC linked...
1
by: KayC | last post by:
Hi I use Access2002 I have created a simple form with 3 parameter UserID, Password & Database When a user enters values into these text boxes a passthrough query to a Sybase database is envoked...
2
by: TjS | last post by:
Hellow, i am quite new to access, but i am searching for a visual basic script to change the connection string for all the passthrough queries which are in my access database. These passthrough...
2
by: RoadrunnerII | last post by:
Hi All I am new to this forum and still learning MS Access. Hoping this is the right place to ask If not please let me know! Looking for some help with the SQL statements in Access 2003 with the...
1
by: BharathP | last post by:
Hi, I need to transfer data of one of the table in DB2 to Microsoft Access. I tried using DBOP data source using Configuration assistant in DB2 and SQL passthrough in Microsoft Access. I think I'm...
10
by: raphfrk | last post by:
Is there any way to pass a variable list to a function, so as to act as a passthrough? for example: void new_printf ( char *buf , ... ) { va_list vlist; <modify buf slightly>
3
by: lukethegooner | last post by:
My quesion is, can I use a look up, of sorts, in an SQL Pass Through query? My problem is I have built an application that uses pass through queires to retrieve information from an Oracle source...
3
by: ryanjkoffler | last post by:
Hello... I have a single passthrough query where the possiblity for it to return zero records exists. If zero records will be returned, is there a way to add some logic that will catch this and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.