473,320 Members | 2,110 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.

How do I set a query's "Use Transaction" property to NO?

2
I have MS Access 2007. How do I set a query's "Use Transaction" property to NO? I don't see this in the list of query properties. Please see attached document. I have Access 2007.
Ben


Ps. I have queries that run for very long just to get a message that there is not enough memory to undo the transaction. I always reply Yes. I do not need the undo functionality. I read that by setting the "Use Transaction" property to NO will stop Access from trying to do the undo.
Attached Files
File Type: docx Query Properties.docx (186.0 KB, 341 views)
Apr 14 '16 #1
3 4638
ADezii
8,834 Expert 8TB
Try:
Expand|Select|Wrap|Line Numbers
  1. Dim strSQL As String
  2.  
  3. strSQL = "<SQL for some action Query>"
  4.  
  5. 'Do NOT run the Action Query defined in strSQL in a Transaction (False)
  6. DoCmd.RunSQL strSQL, False
Apr 14 '16 #2
ben101
2
ADezii,
Thanks for responding. I am not running VB. I am just running the query from the Access foreground. See the image I provided. Is there any way to do it when running in this manner?
Ben
Apr 18 '16 #3
NeoPa
32,556 Expert Mod 16PB
Hi Ben.

I'm afraid your image isn't an image. It's a document. Most won't download documents from the web that lightly. OTOH you can upload an image instead, and even get it to show in the thread using BB tags (See BB Code). I'd have happily done this for you if you'd uploaded an image.

As for your question, it could be very interesting to a lot of people I'd guess. The Use Transaction property is available for queries, but only action queries. You'll not see it for a SELECT query.

To see the query properties when looking at a query click anywhere in the top portion that isn't on a table or query source (The background. Typically it's grey).
Here's an illustration taken from a web page that I found while looking into it for you (Transactions and how to use them in Microsoft Access):

Apr 18 '16 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Brian | last post by:
Hello I am using version 4.0.12-nt of MySQL and when I hit the enter key rapidly I can't connect to the database. The result is a message is returned to me from mysql that says I can't connect...
1
by: Josué Maldonado | last post by:
Hello list, I have a table with an index in a foreing key field (int4), if I do select from pedido where prvdfk=3, explain says is using seq scan to access it. I noticed all my querys runs in...
0
by: George | last post by:
Hi, The storeprocedure fails with null exception on the DB2 development centre for SELECT querys for all tables that has the number of columns greater than 10. Strange ,but true ..i reinstalled...
2
by: Merja | last post by:
Is there a quick and easy way to locate tables/querys in the relationships view? If you have over 100 tables in your database it usually takes a long time before you find something in the...
3
by: Chifo | last post by:
hello. i have a problem with a populate html table with data from table here it's the problem two querys retrieving data from table, one of querys show me a colletion of data from 6:00 am to...
6
by: Fuzzydave | last post by:
I am back developing futher our Python/CGI based web application run by a Postgres DB and as per usual I am having some issues. It Involves a lot of Legacy code. All the actual SQL Querys are...
6
by: epz | last post by:
There is any tool for write & test & execute querys via command line like the old dbase IV style or the sql analyzer tool? (from the Sql Server Database System) Thanks. Eric
1
by: gonalli | last post by:
hello dear friends, is possible to export many querys to single spredsheet like this (1) create an excel object (2) cells(1,1).value = query1 (3) cells(1,2).value = query2 (4)...
1
by: MarkCSharp24 | last post by:
Hi, What I am trying to achive is a form with two datagridviews of the same invoice table but showing diffrent querys. In my invoice table I have a 'Paid' boolean value. I would like one of...
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.