Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DTS Transformation Issue
Message
From
01/07/1999 09:54:41
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
 
 
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
00236147
Message ID:
00236435
Views:
8
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform