Hello,
I have a program that reads a file and then imports the data in this file to a sql server. The problem is, the file has spaces in certain fields.. like for example we have an account number that is DDA\827364556 yet in the file, sometimes it comes in as DDA \827364556 or in some cases it says DDA\827 364556. So the spaces can be just about anywhere and its only in this one field in the file. Never anywhere else. in Visual Basic 6, how can i get it to before sending the field to the table in the database, it looks for spaces and then deletes it and left justifies everything?
Thanks!
T.
I have a program that reads a file and then imports the data in this file to a sql server. The problem is, the file has spaces in certain fields.. like for example we have an account number that is DDA\827364556 yet in the file, sometimes it comes in as DDA \827364556 or in some cases it says DDA\827 364556. So the spaces can be just about anywhere and its only in this one field in the file. Never anywhere else. in Visual Basic 6, how can i get it to before sending the field to the table in the database, it looks for spaces and then deletes it and left justifies everything?
Thanks!
T.