Advertisement

07.16.2008 at 06:04AM PDT, ID: 23569410
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

Reading and updating unicode character from Access 2003 using ADO

Asked by SpeedFingolf in VB Database Programming, VB Controls, VB Objects

Tags: , ,

I'm reading text data from an Access database 2003 through ADO 2.8 in a VB 6 application. I don't know if the data read is unicode or not, but I think so.

The problem is that when see the data opening the DB in Access it is shown some way, but when it is shown in a list box, for example, in VB 6, it is shown modified.

Since I used the value shown on screen to update data in the database (in order to replace it for a valid one selected from a different list), the UPDATE SQL statement, does not modify any record, because it can't find one record with the data as it is shown on screen. Which is logical, since data, as I already said, is shown modified on screen.

If I replace the standard VB6 list box for the Microsoft Form 2.0 list box, some characters are still shown different, while other are shown exactly as I can see them by opening the DB from Access. The point is that using this control, the SQL statements works perfect always.

To make things more complicated, if I print on Debug window the SQL statement that will be executed (using the value shown on screen on a MS Forms 2.0 listbox), it shows incorrect values but it runs perfectly and modifies the right records on the DB.

For instance: opening the DB from Acess I see: "American Airlines Divisidn Servicios Aeroportuarios SA", which is shown as "American Airlines Divisi|n Servicios Aeroportuarios SA" on screen, but shown as "American Airlines Divisi=n Servicios Aeroportuarios SA" on the SQL string (if it is printed in the Debug window).

1) Could someone tell me what's happening here?
2) Is there any way that the value that I see in Access could be shown exactly the same on the screen?
3) What can be causing that despite the fact that values are being shown and printed incorrectly they are working as they should be, when executed on an SQL statement?
4) How can I know if data is unicode data?
Start Free Trial
[+][-]07.16.2008 at 06:33AM PDT, ID: 22015715

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.16.2008 at 05:45PM PDT, ID: 22021499

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.16.2008 at 09:14PM PDT, ID: 22022325

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 04:48AM PDT, ID: 22024338

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 04:52AM PDT, ID: 22024365

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 05:16AM PDT, ID: 22024558

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VB Database Programming, VB Controls, VB Objects
Tags: Microsoft, Visual Basic, 6
Sign Up Now!
Solution Provided By: danaseaman
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.17.2008 at 05:32AM PDT, ID: 22024663

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628