简体   繁体   中英

Comparing data in Textbox with data in a Table in unicode (VBA Access 2016)

I've some problems when I use if condition to compare data in a text box with data in a table in unicode(Khmer language) in vba access 2016. The data in the text box and table were different,but the condition is true. Does someone have an answer or can explain my problem to me, please? Thank you in advance.

You may have to compare using the StrComp function:

Match = (StrComp(onestring, anotherstring, vbBinaryCompare) = 0)

or in a query:

Match: StrComp([onefield], [anotherfield], 0) = 0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM