Re: Returning a number from a hex value.
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 23:21:36 +0800
Access will recognise it as a number if you use the &H prefix, e.g.:
? &HFF
so you can code:
If i < &HFF Then ...
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Jozef" <SPAM_O_NATOR@xxxxxxxxx> wrote in message
news:39lPe.309075$s54.307876@xxxxxxxxxxx
> Any ideas how to turn a hex value into a number? When I look at help, I
> can only find how to turn a number into a hex, but would like to find
> something that goes the other way. I tried a simple Cint, Clng etc. but
> have type conversion error when I run into a hex with a letter.
>
> Thanks!
.
- References:
- Returning a number from a hex value.
- From: Jozef
- Returning a number from a hex value.
- Prev by Date: Re: Returning a number from a hex value.
- Next by Date: Generate String and output to textbox in report
- Previous by thread: Re: Returning a number from a hex value.
- Next by thread: Generate String and output to textbox in report
- Index(es):
Relevant Pages
|