473,405 Members | 2,300 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,405 software developers and data experts.

RunSQL vs Execute rehashed

All,

A month or so ago I started a thread titled "I was *forced* to use RunSQL."

At that time, I said I'd get back to you after trying the dbSeeChanges constant
in the Execute method. I was very confident that it was going to solve the
problem.

It didn't. I've resigned myself to using RunSQL instead of dbs.Execute in this
context...first time ever. The bottom line from the JET lovers in here is that
my code is messed up somewhere (understandably). Of course, I'm blaming JET!
:)

I'm not going to post the entire module in this newsgroup, but if someone
really wants to see ALL of the code in context, send me email to the address in
here, and I'll be happy to send a response email with module text intact.
Otherwise, I consider the issue dead.
Nov 13 '05 #1
3 1872
You could of course explain what is the problem you are having (most often
due to the fact that the Jet Expression Service exists for RunSQL but not
for Database.Execute, which allows you to have expressions using form
controls and such), but occasionally there are the concurrency issues that
are assisted by things like the dbSeeChanges constant.

But if you post a generic message like this one that has no actual content
other than a pointer to an old thread and an announcement that the issue is
dead for you, then it is unclear how you expect people to respond?

--
MichKa [MS]
NLS Collation/Locale/Keyboard Development
Globalization Infrastructure and Font Technologies

This posting is provided "AS IS" with
no warranties, and confers no rights.
"DCM Fan" <dc****@aol.comSPNOAM> wrote in message
news:20***************************@mb-m20.aol.com...
All,

A month or so ago I started a thread titled "I was *forced* to use RunSQL."
At that time, I said I'd get back to you after trying the dbSeeChanges constant in the Execute method. I was very confident that it was going to solve the
problem.

It didn't. I've resigned myself to using RunSQL instead of dbs.Execute in this context...first time ever. The bottom line from the JET lovers in here is that my code is messed up somewhere (understandably). Of course, I'm blaming JET! :)

I'm not going to post the entire module in this newsgroup, but if someone
really wants to see ALL of the code in context, send me email to the address in here, and I'll be happy to send a response email with module text intact.
Otherwise, I consider the issue dead.

Nov 13 '05 #2
On Sat, 5 Jun 2004 08:24:27 -0700, "Michael \(michka\) Kaplan [MS]"
<mi*****@online.microsoft.com> wrote:
You could of course explain what is the problem you are having (most often
due to the fact that the Jet Expression Service exists for RunSQL but not
for Database.Execute, which allows you to have expressions using form
controls and such), but occasionally there are the concurrency issues that
are assisted by things like the dbSeeChanges constant.

But if you post a generic message like this one that has no actual content
other than a pointer to an old thread and an announcement that the issue is
dead for you, then it is unclear how you expect people to respond?


I think the point of the post was to see if anyone would review a copy of the
entire set of code, sent by e-mail because he's tried everything short of that
with no success.
Nov 13 '05 #3
<<then it is unclear how you expect people to respond?>>

Since I consider the issue dead, I don't care if anyone responds. I was very
clear in the original posts on the subjects, and I don't care to rehash them
again...so I made sure to include the precise title, allowing the curious to
look it up.

At the end of the original thread I said I'd get back to the NG about my
findings, so I was honoring that promise with this new message, and giving the
readers "control" by having them email me if they wish to persue any further.

That's all, folks!
Nov 13 '05 #4

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

Similar topics

4
by: Rotsj | last post by:
Hi, i try to execute an update query from within a form, but i get the message: run time error '3144'. Syntax error on the update statement when i try something like this: DoCmd.RunSQL...
19
by: DCM Fan | last post by:
Access 2000/Windows 2000 Pro with all current updates on the client; SQL Server 7.0/Windows 2000 Server with all current updates on the server. Bottom line: In a certain context dbs.Execute...
7
by: Richard Hollenbeck | last post by:
Help! I don't know why this isn't working: Private Sub Combo9_Change() Dim UsersCourseSelection As String UsersCourseSelection = Me("Combo9").Value Combo13.Visible = True 'the following...
8
by: RC | last post by:
In my Access 2002 form, I have a combo box and on the AfterUpdate event I use DoCmd.RunSQL ("UPDATE .... to update records in a table. When it starts to run I get a message "You are about to...
7
by: Jimmer | last post by:
What's better/ faster/ more efficient. Using Docmd.RunSql or Execute to run sql? When is one better than the other or inappropriate to use? Thanks. jim
2
by: ben | last post by:
I have the following code in a VBA module: DoCmd.RunSql "Update tData Set sd = Log(Strike/Price) where symbol = '" & symbol & "'" This statement worked fine, and was using the built in math...
1
by: TriednTested | last post by:
Hello I have a subform and to edit the data I place it on the main form where changes can be made, then a cmd button is used to execute the docmd.runsql update query. However I am constantly getting...
2
by: Trish | last post by:
I have been trying to create a local table from a linked Excel Spreadsheet using a simple query string like this: SELECT * INTO LocalTable FROM LinkedExcelSheet; If I use CurrentDB.Execute, I...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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.