Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INSERT INTO Method2 ([Contract #]) - doesn't work!
Message
De
20/11/2001 14:01:12
 
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00583218
Message ID:
00584110
Vues:
39
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform