473,320 Members | 1,978 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,320 software developers and data experts.

Suspend all the activities in Access till the job on SQL Server is over.

I access certain tables of SQL Server on Access front-end. I want to
suspend all the activities on front - end till the job on SQL Server is
over.

Any ideas how I about it ?

Thanks,
Anand

Dec 26 '06 #1
3 1571
So what is the "job" on SQL Server and how do you know when it's over?

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1

Dec 26 '06 #2
On 26 Dec 2006 02:36:27 -0800, an*************@hsbc.co.in wrote:

A "Job" is a very specific object in SQL Server. See Books Online. Is
that what you're referring to?
Otherwise we may need to see some code.

-Tom.

>I access certain tables of SQL Server on Access front-end. I want to
suspend all the activities on front - end till the job on SQL Server is
over.

Any ideas how I about it ?

Thanks,
Anand
Dec 26 '06 #3

1. On the SQL Server, create a Stored Procedure that runs the job.
2. In Access, create a Pass-Thru Query that executes the Stored
Procedure. Make sure to set the Time Out property on this query to 0
(No time out).

That's it!

On 26 Dec 2006 02:36:27 -0800, an*************@hsbc.co.in wrote:
>I access certain tables of SQL Server on Access front-end. I want to
suspend all the activities on front - end till the job on SQL Server is
over.
Any ideas how I about it ?

--
Drive C: Error. (A)bort (R)etry (S)mack The Darned Thing

Dec 26 '06 #4

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

Similar topics

11
by: Keith Langer | last post by:
I have an application which consists of a main work thread and multiple threads which each maintain a TCP socket. When a configuration change occurs, all activity on the socket threads must be...
5
by: byrocat | last post by:
Sybase and DB2 both have the capability of tracking user activities at a number of levels: invalid access attempts to databases, table, etc.; creation/deletion/modification of database...
3
by: Mark Line | last post by:
Hello! I'm a python n00b! I've been writing in c++ for a few years so programming's not new to me, just python that I don't know the syntax!
2
by: Stephan Steiner | last post by:
Hi I'm using several DataTables in my program which are updated periodically. At the same I have those tables bound to DataGrids in my GUI. So far I've been doing all the processing in the same...
7
by: Ford Prefect alias Armin | last post by:
I want to start a Thread and wait till the Thread has been stopped (via Suspend) How to do this. Sub Test Start Thread Wait Till Stopped Go on with this code as sone as the Thread has...
1
by: BobAchgill | last post by:
I am getting poor performance while I am dumping multiple MDB's into a single table of my DataGrid. Is there a way to temporarily suspend the auto sorting of the DataGrid till all the Fills have...
12
by: Andrew Bullock | last post by:
Hi, I'm using a second thread within my program to do some long calculations, without locking up the UI: worker = new Thread(new ThreadStart(myClass.Run)); worker.Start(); I want to be...
3
by: boyleyc | last post by:
Hi I am working on a Access database and have run into a design problem. Bit of background - This is how a booking works. A booking is taken from a client and a date/time begining of booking...
4
by: fAnSKyer/C# newbie | last post by:
I am using winmm.dll and I found that I can't just suspend it and resume it? What should I do? Any better idea? Should I use thread? and thread.suspend will work? Thanks
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.