My problem is that every string field in dataaware controls is padded at run
time to the length of the Access database field definitions. How do I turn
padding off?
For example, how do I issue a 'SET ANSI_PADDING OFF' command. I tried
setting the commandtext of an ADOCommand object, but just got an invalid SQL
statement error when I executed this--I even tried turning off paramcheck
first.
I also tried making ANSI_PADDING=OFF part of the connection string, but
never got the syntax right if this is the way to do it.
Thanks in advance,
Kevin
Access does not have an Ansi Padding setting.
I have never seen the problem you describe with Access.
Is your problem just with this one .mdb file or will all your database
applications?
--
Brian Bushay (TeamB)
Bbu...@NMPLS.com
I believe when you use ADO this is the default beavior where i believe i
have heard that the BDE strips off trailing spaces and extra padding, i have
never used the BDE but i am sure i have heard this.
I'd suspect the drivers (OLEDB or ODBC). Access itself always strips
trailing blanks when storing values and doesn't pad them on when
retrieving values.
Marjan
____________________________
Marjan Venema - BJM Software
http://www.bjmsoftware.com
http://www.bjmsoftware.nl
Kevin
"Brian Bushay TeamB" <BBu...@Nmpls.com> wrote in message
news:pri9ovkq416moj6ao...@4ax.com...