473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ChrW() Help...

Scott Price
1,384 Expert 1GB
Hello again...

This time I'm trying to get M$ Access 2003 VBA to accept the ChrW(215b) (this is the unicode number for the 1/8 character) standard... Each time I try to enter this, it beeps and gives me an error message " Compile Error Expected list separator or )"

Other unicode standard characters without letters in them are accepted fine... (for example the unicode number for the 1/3 character is 2153) Does anyone know how to get ChrW to recoginize ALL unicode characters, not just some of them?

Is this a missing reference issue, or a M$ standard operating procedure of making things only half work so you'll buy into their eternal upgrade treadmill?? (sorry if the sarcasm comes through, I'm a little frustrated at this point!)

Thanks for looking, and helping if poss...

Regards,
Scott
Aug 10 '07 #1
3 9749
Scott Price
1,384 Expert 1GB
Actually now I see that even though vba will 'accept' the chrw(2153) value, it will not display correctly in the access form view...

Hmm...

Regards,
Scott
Aug 10 '07 #2
FishVal
2,653 Expert 2GB
Actually now I see that even though vba will 'accept' the chrw(2153) value, it will not display correctly in the access form view...

Hmm...

Regards,
Scott
You simply type hexadecimal numbers as decimal. ;)
Use "&H" predicate to tell VBA that number is hexadecimal. ChrW(&H215B)
Aug 10 '07 #3
Scott Price
1,384 Expert 1GB
You simply type hexadecimal numbers as decimal. ;)
Use "&H" predicate to tell VBA that number is hexadecimal. ChrW(&H215B)

FishVal, you've saved my day! I was almost ready to call it quits...

Thanks, that works like it should, and displays like it should also (miracle of miracles)...

Regards,
Scott
Aug 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
3
by: Guinness Mann | last post by:
I have some bytes that are representations of ascii characters. Is there a C# equivalent of the VB Chr() and ChrW() functions? How do I turn these byte-strings into characters? Thanks, --...
6
by: VB Programmer | last post by:
I have a line of code in my project: mobjText.Append(ChrW(Bytes(iIndex))) I took out the reference to Microsoft.VisualBasic in my imports so that I am forced to use all VB.NET stuff. What is...
4
by: Agnes | last post by:
I know Microsoft.VisualBasic.ChrW(13) is "enter" How about other member ? e.g backspace... Where can I know all the members ? thanks
17
by: Mike Labosh | last post by:
I would really rather use the "dot-nettified" syntax rather than digging global functions out of Microsoft.VisualBasic. Anyone know the newfangled way to achieve the same results? -- Peace &...
4
by: Nikos Tsoupros | last post by:
Does anybody knows why the function chrw(204) returns different character in vb6 and in vb.net ??? thanks in advance
1
by: Nikos Tsoupros | last post by:
i use vb and i have a problem with encoding in vb.net chrw(204) returns the char I in vb6 the function chrw(204) returns the char I also in vb6 ascw(chrw(204)) returns 73 why??????????????????
2
by: Joe Duchtel | last post by:
Hello - I was wondering why I can do a ... Public Const A As Char = Chr(36) .... but not a ... Public Const B As Char = Chr(165)? It seems like 0-127 are okay with the Chr(). Is this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.