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

Error Creating Table in MS Access

All,

Please help me with following error. I am using classic ASP to connect
to MS Access DB to create a table dynamically. Following is the table
definition. I get the error when I execute the following SQL.

CREATE TABLE [Exceptions] ( [ID] [Number] NULL , [LegalEntityID]
[Number] NULL , [CompanyID] [Number] NULL , [DivisionID] [Number] NULL
, [LocationID] [Number] NULL , [Level1ID] [Number] NULL , [QNQLevel1ID]
[Number] NULL , [QNQLevel1YRID] [Number] NULL , [Level2ID] [Number]
NULL , [QNQLevel2ID] [Number] NULL , [QNQLevel2YRID] [Number] NULL ,
[VendorID] [Number] NULL , [CostCenterProjectID] [Number] NULL ,
[CostCenterProjectAllocationID] [Number] NULL , [EmployeeID] [Number]
NULL , [QNQVendorID] [Number] NULL , [QNQVendorGlobalID] [Number] NULL
, [QNQExpClassID] [Number] NULL , [QNQActivityCodeID] [Number] NULL ,
[QNQVendorExpClassID] [Number] NULL , [QNQSubExpClassID] [Number] NULL
, [QNQMisc1ID] [Number] NULL , [LegalEntityNumber] [Text] NULL ,
[LegalEntityName] [Text] NULL , [Company] [Text] NULL , [CompanyName]
[Text] NULL , [State] [Text] NULL , [Location] [Text] NULL ,
[DivisionNumber] [Text] NULL , [DivisionName] [Text] NULL ,
[Level1Number] [Text] NULL , [Level1Description] [Text] NULL ,
[LevelType] [Number] NULL , [Level2Number] [Text] NULL ,
[Level2Description] [Text] NULL , [VendorNumber] [Text] NULL ,
[VendorName] [Text] NULL , [VendorType] [Text] NULL , [ExpClass] [Text]
NULL , [ExpClassDescription] [Text] NULL , [SubExpClass] [Text] NULL ,
[SubExpClassDescription] [Text] NULL , [ActivityCode] [Text] NULL ,
[ActivityCodeDescription] [Text] NULL , [QNQMisc1Number] [Text] NULL ,
[QNQMisc1Description] [Text] NULL , [InvoiceNumber] [Text] NULL ,
[InvoiceDescription] [Text] NULL , [Year] [Number] NULL , [Date] [Text]
NULL , [FedW2] [Number] NULL , [NewStandardHours] [Number] NULL ,
[Hours] [Number] NULL , [TotalProjectHours] [Number] NULL , [PayrollID]
[Number] NULL , [StateID] [Number] NULL , [Misc1] [Text] NULL , [Misc2]
[Text] NULL , [Misc3] [Text] NULL , [Misc4] [Text] NULL , [Misc5]
[Text] NULL , [Misc6] [Text] NULL , [Misc7] [Text] NULL , [Misc8]
[Text] NULL , [Misc9] [Text] NULL , [Misc10] [Text] NULL ,
[OriginalAmount] [Number] NULL , [CalculatedAmt] [Number] NULL ,
[Amount] [Number] NULL , [RecordID] [Number] NULL , [Mapped] [Text]
NULL , [41PercentLevel1] [Number] NULL , [41PercentLevel1QNQ] [Text]
NULL , [41PercentLevel1YR] [Number] NULL , [41PercentLevel1YRQNQ]
[Text] NULL , [41PercentExpClass] [Number] NULL ,
[41PercentExpClassQNQ] [Text] NULL , [41PercentInvoice] [Number] NULL ,
[41PercentInvoiceQNQ] [Text] NULL , [41PercentLevel1L] [Number] NULL ,
[41PercentLevel1K] [Number] NULL , [41PercentLevel1S] [Number] NULL ,
[41PercentLevel1YRL] [Number] NULL , [41PercentLevel1YRK] [Number] NULL
, [41PercentLevel1YRS] [Number] NULL , [ExpType] [Text] NULL ,
[Level1Percent] [Text] NULL , [41PercentVendor] [Number] NULL ,
[41PercentVendorQNQ] [Text] NULL , [41PercentVendorGlobal] [Number]
NULL , [41PercentVendorGlobalQNQ] [Text] NULL , [ImportError] [Text]
NULL , [ImportErrorDesc] [Text] NULL)

I get the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #1:
Cannot find data type Number.
When I go to MS Access and paste the above Create Table difinition, I
get the same error that I have a syntax error at [Number]. I even
tried creating simple tables using CREATE TABLE syntax, but always get
the same error.

Please help me solve it.
Thanks in advance,
Boris

Nov 13 '05 #1
1 2123
Boris wrote:
All,

Please help me with following error. I am using classic ASP to connect
to MS Access DB to create a table dynamically. Following is the table
definition. I get the error when I execute the following SQL.
[snip]

I get the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Column or parameter #1:
Cannot find data type Number.
When I go to MS Access and paste the above Create Table difinition, I
get the same error that I have a syntax error at [Number]. I even
tried creating simple tables using CREATE TABLE syntax, but always get
the same error.


"Number" isn't a type as such, you should specify what type of number it
is, e.g. Byte, Integer, Long, Single, Double, Currency or Decimal

--
[OO=00=OO]
Nov 13 '05 #2

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

Similar topics

8
by: Kragen Sitaker | last post by:
ERROR: Cannot insert a duplicate key into unique index pg_class_relname_nsp_index We've been getting this error in our application every once in a while --- typically once an hour to once a day,...
7
by: Steve Jorgensen | last post by:
Here is some code to generate code for raising and getting information about custom errors in an application. Executing the GenerateXyzErrDefs procedure generates the code. <tblXyzError>...
3
by: Serious_Practitioner | last post by:
Hello, all - A few days ago, I posted the following message - Hello all, and thank you for your help in the recent past. Got a new error message in the last few days. While working with...
1
by: Serious_Practitioner | last post by:
Good day - As you suggested, I got and used the right version of Jetcomp, and I also tried to run compact and repair a couple of times. I think that the compact and repair process doesn't fully...
20
by: ctyrrell | last post by:
Does anyone have any idea how to recover from a run-time error 3002 which I get after creating a workspace 242 times? Or better yet, avoid getting it in the first place? I am creating a...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Dave | last post by:
I've run across a strange error when creating a simple ADO.Net connection in VB.Net 2003 To replicate an error: Create an Access database (2002) with table named "Student" and fields SID...
9
by: dennist685 | last post by:
I created a web project named 'Access' in C:\Inetpub\wwwroot\Access and dropped an .mdb there. I dragged a DetailView to the form, configured it to show two fields of a table, and got...
4
by: breadhead | last post by:
Good morning, all. I am creating an Access 2002 application to run on XP clients and I'm struggling with the task of testing whether a single-field record exists before allowing the user to add it...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.