If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Keeping locale when compacting MSAccess database through JRO

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-17-03, 06:20
whoohaa whoohaa is offline
Registered User
 
Join Date: Sep 2003
Location: Sweden
Posts: 1
Talking Keeping locale when compacting MSAccess database through JRO

Hi there!

I’m compacting an Access database by using the JRO’s CompactDatabase. I do this from an ASP-page (Vbscript) on a webserver. It all works fine but I have now realized one big problem with this though. Whenever the database is compacted the locale for sort order is lost resulting in Swedish characters not being sorted in the right order.

I have no idea how to resolve this issue so I’m putting my trust in you, the good people of this forum.

Any ideas, comments or insights are greatly appreciated.

Kind regards

W.H.

---------------------Solved!---------------------

test.CompactDatabase("Provider=Microsoft.Jet.OLEDB .4.0;" & "Data Source=c:\Old.mdb;" & "Jet OLEDB:Don't Copy Locale on Compact=True;", "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=c:\New.mdb;" & "Locale Identifier=1053")

Just wanted to share if anyone searches the forum for something like this later on.

W.H.

Last edited by whoohaa; 09-17-03 at 09:17.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On