Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2004, 01:59 AM
Registered User
 
Join Date: Oct 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL Statement help

Searching with Chinese

Environment:
English WinXP, English Office 2000, English Access 2002

Background:
I’m trying to program a button to return the number of records that match a certain criteria. The criteria is specified in Chinese characters.

Symptoms:
The result returns 0 matching record when clearly there is 2 records matching the criteria. A debug and subsequent print out of the sql statement seem to be correct but the result is returned wrongly. The same testing application worked in English Win98, English Office 2000 and Richwin. I suspect it is the introduction of Unicode to represent Chinese characters that is causing the problem but I’m not sure.

I can email by test Access Database to anyone that is interested. thanks

 
Old October 22nd, 2004, 10:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Please post your SQL statement here and let us look at what it says. We understand that the Chinese characters may be doing something, but I just want to see if the basic syntax is correct first before we move on to blaming unicode. Thanks.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with SQL Statement forumsUID SQL Server 2000 1 August 23rd, 2007 08:08 AM
convert a SQL Statement from MS Access to a SQL Corey Access 6 March 28th, 2007 12:33 PM
SQL Statement rylemer SQL Language 3 October 21st, 2005 09:07 PM
Sql Statement help morpheus Classic ASP Basics 0 March 9th, 2004 10:55 AM
sql statement [email protected] Beginning VB 6 2 June 23rd, 2003 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.