borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Insert Values into Sql Table w/ Stored Procedure)Next Topic (Adding Data in a table with relationships using ADO) New Topic New Poll Post Reply
AndreaVB Forum : Database : CREATE TABLE Problem
Poster Message
cbremar
Level: Protégé

Registered: 26-10-2004
Posts: 7

icon CREATE TABLE Problem

I have an app that runs on a regularly scheduled basis.  It has run, problem free, for months.  Today, however, I received the following error message:

Run-time error '3075':
Method '~' of object '~' failed

Here is where it bombs:

DoCmd.RunSQL "CREATE TABLE " & sTodays_Date & "_On_Time_Delivery (Row_Id Long, Vendor Text(100), " & _
            "PO_Creation_Date Date, PO_Number Text(100), PO_Line_Number Long, Part_Number Text(100), " & _
            "Part_Description Text(100), Planner_Code Text(100), PO_Category Text(100), Item_Revision Text(100), " & _
            "PO_Qty Long, Need_By_Date Date, Promised_Date Date, Shop_Date Date, PO_Line_Type Text(100), " & _
            "Receipt_Number Text(100), Receiving_Txn_Date Date, Delta Long, Status Text(100), Txn_Type Text(100), " & _
            "Received_Qty Long, PLA_ID Long, PO_Unit_Price Currency, Standard_Cost Currency, " & _
            "Buyer Text(100), SQE Text(100), Value_at_Receipt Currency);"

Can anyone tell me why this would stop working?

Any help you can provide would be greatly appreciated.

Thank you.

17-01-2005 at 08:26 PM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1616
icon Re: CREATE TABLE Problem

Maybe a database reference files (ADO) was updated or something...



____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

18-01-2005 at 06:59 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
cbremar
Level: Protégé

Registered: 26-10-2004
Posts: 7
icon Re: CREATE TABLE Problem

I'm not quite sure what's going on.  I have restored the code from a backup.  I'm running it again.  This is very frustrating

18-01-2005 at 08:06 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: CREATE TABLE Problem

Try downloading the latest MDAC

____________________________
If you find the answer helpful, please mark this topic as solved.

18-01-2005 at 09:07 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Database : CREATE TABLE Problem
Previous Topic (Insert Values into Sql Table w/ Stored Procedure)Next Topic (Adding Data in a table with relationships using ADO) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder