Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / July 2008



Tip: Looking for answers? Try searching our database.

Unicode Compression value for Memo field always false reading Access     2000 db

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg J - 07 Jul 2008 02:37 GMT
I am writing some code that will read an Access 2000 database
structure using ADOX and store the details in a set of tables.  I have
it mostly done but I have noticed that when reading through the
properties of the columns, the Unicode compression property (Jet
OLEDB:Compressed UNICODE Strings) is always False for Memo fields
regardless of its actual value (text fields are correct).

If I manually set the value to True in the tables then create a new
database from that recordset, the correct Unicode Compression value is
created correctly.
Greg J - 07 Jul 2008 03:09 GMT
Further info.

Interestingly...

If I change the memo field to a text field (with unicomp set to true),
save the table/field changes, then change the text field back to a
memo field and save the changes, my code reads the correct value for
Unicode of the Memo field.

So it would appear that if a field is created as a memo field and
unicomp property is set to true, it doesnt read correctly with ADOX.
If a field is set as a text field with unicomp set to true then
changed to a memo field, it will read correctly (true or false).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.