Why Is It?

mcsd_me
09-23-2002, 02:32 PM
When I use :


strTemp = trim(TypeLib.Guid)


when I enter the string (strTemp) into a SQL 2000 table, using VarChar and a length of 50, that it appends some crazy characters at the end of the record?

reboot
09-23-2002, 02:34 PM
Trim only trims spaces.

BillSoo
09-23-2002, 02:48 PM
....so possibly Typelib.GUID had those chars in there to begin with...

Alternatively, you are storing a short string into a longer space. That space has to be filled with something...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum