473,320 Members | 1,951 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.

Error Number: 3010

1
Im not an expert on creating Macros but does anyone no why this wont run and extract the information anymore?

Expand|Select|Wrap|Line Numbers
  1. Private Sub cmdExecuteProgram_Click()
  2.  
  3. Select Case [frmSelectOptions]
  4.     Case 1
  5.   DoCmd.RunMacro "mcrImportData"
  6.     Case 2
  7.   DoCmd.RunMacro "mcrCleanData"
  8.     Case 3
  9.   DoCmd.OpenTable "tblData"
  10.     Case 4
  11.   DoCmd.RunMacro "mcrExtHospital"
  12.     Case 5
  13.   DoCmd.RunMacro "mcrCalculate&PrintReport"
  14.     Case 6
  15.   DoCmd.RunMacro "mcrDeleteAll"
  16.     Case 7
  17.   DoCmd.RunMacro "mcrExeptions"
  18.  
  19.  
  20.  End Select
  21.  
  22. End Sub
  23.  
Macro Name: mcrCalculate&PrintReport
Action Name: OpenQuery
Argument = qtyCreatePrintingTable, Datasheet, Edit
Feb 18 '16 #1

✓ answered by Rabbit

If you google the error number, it says that the error is "Table already exists". That means the macro is trying to create a table, but it already exists so it can't create something with the same name.

2 1351
Rabbit
12,516 Expert Mod 8TB
If you google the error number, it says that the error is "Table already exists". That means the macro is trying to create a table, but it already exists so it can't create something with the same name.
Feb 18 '16 #2
NeoPa
32,556 Expert Mod 16PB
Please post the error description when asking for help on an error. Being the most important piece of information relative to your problem it's very hard to understand why you posted your question without it.
Feb 19 '16 #3

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

Similar topics

0
by: Mark Depenbrock | last post by:
--Apple-Mail-2--68472726 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Can not make mysql connection - error log: 030708 08:53:48 mysqld started
9
by: Mark Twombley | last post by:
Hi, I'm just getting back into C++ and had a question about the best practice for assigning error numbers. I have been working in VB for sometime now and there you would start assigning error...
1
by: dawatson833 | last post by:
I want to set an alert for a specific table whenever an event has caused a deadlock to occur on the table. I understand how to set up an alert. But I don't know which error number to use for...
1
by: sunil | last post by:
hello folks, Is there a way to get the error number in VB.net Exception class as it was there in VB6 like 'vb code if err.Number=1234 then 'some code here end if
4
by: amywolfie | last post by:
Hi All: In FileMaker Pro, the error number for "no records found" is 401. What is the equivalent error number in Access (2003)? I want to capture for the "On Open" Event of a report. If...
2
by: dixie | last post by:
Can someone please give me the error number for this error? dixie
2
by: Dixie | last post by:
I have an Access Error "Permission Denied" which is generated when I try to delete a folder with a locked file inside. Can anyone tell me the error number for this error? dixie
11
by: RP | last post by:
If an exception occurs, how to get the error number. I mean, is there anything like ex.number?
0
by: alex21 | last post by:
I'm trying to detect the http status number such as (401 Unauthorized) from a 'WebException' when a WebClient in my code fails. Public Function DataSources_ValidURL() As Boolean Dim...
6
doma23
by: doma23 | last post by:
Error number: -214217887 Description: Das Feld ist zu klein fur die Datenmenge, die Sie hinzufungen wollten. Versuchen Sie, weniger Daten einzufugen. Hi, I've made a particular tool by using...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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...
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)...
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.