Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INSERT INTO Method2 ([Contract #]) - doesn't work!
Message
From
20/11/2001 14:01:12
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00583218
Message ID:
00584110
Views:
37
>First of all, thank you for your assistance. I truly appreciate it!
>
>I've narrowed the problem down to be the space in the field name. If I test my query in the Visual Data manager it works fine with the [Contract #] field name. In VB it works if I change the field name for testing - I cannot change the field name permanently!
>
>In VB though, it will not work for me with the space in the field name. Is there some way around this apparent bug? This field name is no trouble for other queries but it is obviously causing issues with the INSERT.
>
>Any thoughts for me to try?
>
>Thanks again,
>John

See if you can add it through ADO with the AddNew method of the recordset.

As a Hail Mary :), try specifying the fully qualified field name (with table and all) in the insert statement like so: [method2].[contract #]

Other than that I am all out of ideas.
Previous
Reply
Map
View

Click here to load this message in the networking platform