Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DTS Transformation Issue
Message
De
01/07/1999 09:54:41
Robert Byrd
National Association of Homebuilders
Washington, District de Colombia, États-Unis
 
 
À
01/07/1999 08:26:58
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
00236147
Message ID:
00236435
Vues:
9
>>msgbox "sp_InsertTransactions " & cLng(Transaction_ID ) & "," & company & "," & prefix & "," & suffix
>>
>> cmdInsertTrans.ActiveConnection = cnTransConnection
>>' cmdInsertTrans.CommandText = "sp_InsertTransactions " & cLng(Transaction_ID ) & "," & company & "," & prefix & "," & suffix
>>
>> cmdInsertTrans.CommandText = "sp_InsertTransactions " & cLng(Transaction_ID ) & "," & "a*b" & "," & prefix & "," & suffix
>>
>>
>>((((NOTE: In the line above I substituted the constant "a*b" for testing.))))
>
>Try forcing quotes around the company:
>
>cmdInsertTrans.CommandText = "sp_InsertTransactions " & cLng(Transaction_ID ) & "," & "'" & company & "'" & "," & prefix & "," & suffix
>
>-Mike

I made one error in my last response. The company field is evaluating to " ".

Bob
Database Development Team
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform