473,326 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,326 software developers and data experts.

Run-time error 3075 only for one user

jr
Hello everyone! I am new to this sort of postings so I'm not even
sure
if this is the correct place to start. Anyway, I would realy
appreciate any help. I have a some VBA code that works quite happily
in a number of machines and for different users. Recently we had to
open a new account for a user in one of the machines and when the
code
runs it shows a run-time error '3075'. Nonetheless if I switch users
in the same machine and run the code there are no problems at all. Is
there any sort of settings that would be different in the newly
created account?
Thanks in advance,

Feb 15 '07 #1
2 4747
Hi, JR.
I have a some VBA code that works quite happily
in a number of machines and for different users.
Hmm. Too vague.
Recently we had to
open a new account for a user in one of the machines and when the
code
runs it shows a run-time error '3075'.
Let's take a look at that error number in the Immediate Window:

?error(3075)
Application-defined or object-defined error

Hmm. Vague. The Access developer's code is using an application-defined or
a user-defined object inappropriately in some way.
Is
there any sort of settings that would be different in the newly
created account?
Depends upon permissions, installation choices, workstation configuration
(including OS version, Access version, Jet version, MDAC version, and all
the service packs), network configuration, Windows group policies, and/or
user preferences. Sorry, but I can't get any more precise than that due to
your unwillingness to reveal any useful information about your problem.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
"jr" <j.*****@gmail.comwrote in message
news:11*********************@h3g2000cwc.googlegrou ps.com...
Hello everyone! I am new to this sort of postings so I'm not even
sure
if this is the correct place to start. Anyway, I would realy
appreciate any help. I have a some VBA code that works quite happily
in a number of machines and for different users. Recently we had to
open a new account for a user in one of the machines and when the
code
runs it shows a run-time error '3075'. Nonetheless if I switch users
in the same machine and run the code there are no problems at all. Is
there any sort of settings that would be different in the newly
created account?
Thanks in advance,

Feb 15 '07 #2
jr
Hi again! OK, the Excek VBA macro connects to a database in access and
queries a table to write a report. If I run it from the account of say
user "user1" there are no problems at all. Then I switch to user
"user2" and run the macro, things go well until it arrives to the
following statement:
"select distinct dealer,target,qsl,msl,drawdown,fx_delta,capital " _
& "from 03_capital a " _
& "where a.effective = (select max(c.effective) from
03_capital c where c.dealer=a.dealer) " _
& "and isnull(strategy) and not dealer in ('DTG') " _
& "and a.dealer in " & dealer_string

My guess if that the 3075 error is triggered by the use of the
apostrophed in 'DTG'. Nonetheless, I can't undertand why I would work
for every other user except for "user2". That's why I was asking if
there are any settings that would have to be adjusted. I apologise for
the vagueness, but as you yourself suggested '69 Camaro, the error
description is not too helpful either...

JR


On Feb 15, 9:03 pm, "'69 Camaro" <ForwardZERO_SPAM.To.
69Cam...@Spameater.orgZERO_SPAMwrote:
Hi, JR.
I have a some VBA code that works quite happily
in a number of machines and for different users.

Hmm. Too vague.
Recently we had to
open a new account for a user in one of the machines and when the
code
runs it shows a run-time error '3075'.

Let's take a look at that error number in the Immediate Window:

?error(3075)
Application-defined or object-defined error

Hmm. Vague. The Access developer's code is using an application-defined or
a user-defined object inappropriately in some way.
Is
there any sort of settings that would be different in the newly
created account?

Depends upon permissions, installation choices, workstation configuration
(including OS version, Access version, Jet version, MDAC version, and all
the service packs), network configuration, Windows group policies, and/or
user preferences. Sorry, but I can't get any more precise than that due to
your unwillingness to reveal any useful information about your problem.

HTH.
Gunny

Seehttp://www.QBuilt.comfor all your database needs.
Seehttp://www.Access.QBuilt.comfor Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.comhttp...utors2.htmlfor contact
info.
Feb 19 '07 #3

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

Similar topics

3
by: leroybt.rm | last post by:
Can someone tell me how to run a script from a interactive shell I type the following: >>>python filename >>>python filename.py >>>run filename >>>run filename.py >>>/run filename >>>/run...
4
by: Ed | last post by:
Hello, I took a course in asp about 2 years ago and I was practicing with IIS 5.0. Then I put it down for a while. Now trying to get back to it. I can't run asp files from subdirectories of...
2
by: Jenna Olson | last post by:
Hi all- I've never seen this particular issue addressed, but was wondering if there's anything to support one way or another. Say I have a class: class ManipulateData { public:...
15
by: mg | last post by:
How can I run an .exe using C# from within the code behind of a WebForm app?
6
by: billr | last post by:
I have developed a small API for taking care of a lot of boiler plate stuff in a multi formed windows application, for example setting up a messaging thread framework. New Forms, in the...
13
by: Bob Day | last post by:
Using vs2003, vb.net I start a thread, giving it a name before start. Code snippet: 'give each thread a unique name (for later identification) Trunk_Thread.Name = "Trunk_0_Thread" ' allow...
6
by: Joel | last post by:
2 Questions: (1) The documentation says application.run() creates a standard message loop on the current thread and "optionally" shows a form. This is really confusing because I was of the...
9
by: Brett Wesoloski | last post by:
I am new to VS2005. I changed my program.cs file to be a different form I am working on. But when I go to run the application it still brings up the form that was originally declared as new. ...
7
by: Lee Crabtree | last post by:
I remember when I was first getting into .NET Forms programming that there was a rather emphatic rule about not constructing a form before calling Application.Run with it. So this: ...
3
by: traceable1 | last post by:
Is there a way I can set up a SQL script to run when the instance starts up? SQL Server 2005 SP2 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...
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.