473,386 Members | 1,621 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,386 software developers and data experts.

Function Between alphanumeric

Hello,

I'm trying te maken an update SQL statement. I Use the function
Between And.

The problem is that the values I use by between are alphanumeric. Now
the function between doesn't work. Can anybode tell me how I can solve
this problem.

Thanks,

Marcel
Nov 13 '05 #1
3 1701
On 16 Sep 2004 06:27:22 -0700, Marcel wrote:
Hello,

I'm trying te maken an update SQL statement. I Use the function
Between And.

The problem is that the values I use by between are alphanumeric. Now
the function between doesn't work. Can anybode tell me how I can solve
this problem.

Thanks,

Marcel

Use >= and <=

Where [FieldName] >="asd123" and <= "zxy987"

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2
fredg <fg******@example.invalid> wrote in
news:ds*****************************@40tude.net:
On 16 Sep 2004 06:27:22 -0700, Marcel wrote:
Hello,

I'm trying te maken an update SQL statement. I Use the function
Between And.

The problem is that the values I use by between are alphanumeric. Now
the function between doesn't work. Can anybode tell me how I can solve
this problem.

Thanks,

Marcel

Use >= and <=

Where [FieldName] >="asd123" and <= "zxy987"

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.


Or, if your VBA works like my VBA (Access97):

Where [FieldName] >="asd123" and [FieldName] <= "zxy987"

I've always disliked having to add that second Reference. <g>

Cheers,
Alan Carpenter
Nov 13 '05 #3
On Fri, 17 Sep 2004 15:11:37 +0000 (UTC), Alan Carpenter wrote:
fredg <fg******@example.invalid> wrote in
news:ds*****************************@40tude.net:
On 16 Sep 2004 06:27:22 -0700, Marcel wrote:
Hello,

I'm trying te maken an update SQL statement. I Use the function
Between And.

The problem is that the values I use by between are alphanumeric. Now
the function between doesn't work. Can anybode tell me how I can solve
this problem.

Thanks,

Marcel

Use >= and <=

Where [FieldName] >="asd123" and <= "zxy987"

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.


Or, if your VBA works like my VBA (Access97):

Where [FieldName] >="asd123" and [FieldName] <= "zxy987"

I've always disliked having to add that second Reference. <g>

Cheers,
Alan Carpenter


Aha! You got that goof.
Thanks for correcting it.
Yes, it is a shame we have to enter that second reference, but then we
all know computers aren't smart enough to make that leap in logic for
us. :-)
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Daniel Tonks | last post by:
OK, here's possibly a weird one. Is there any way to do string comparisons and ignore all non-alphanumeric characters? For instance, check "foobar" and have it match an existing record of "f$#!oo...
1
by: Avnish | last post by:
Hi, I am looking for some form of validation for all the alphanumeric characters in the entire unicode range e.g. the validation should also accept japanese characters but should restrict...
6
by: ironcito | last post by:
Hello! I'm looking for a way to have a field in my database that will automatically be filled with a random 4-character alphanumeric string every time I enter a new record. Like an autonumber...
3
by: Webdiyer | last post by:
I want to integrate SecurID two-factor authentication system of the RSASecurity.inc into our asp.net application,but I get into trouble when trying to call the API functions of the ACE Agent,I got...
7
by: Fernando Rodríguez | last post by:
Hi, How can I know if a string only has alfanumeric chars? Thanks
7
by: Penfold | last post by:
Hi, I benefited from this newsgroups help to compile a public function to convert numeric scores to alphanumeric grades. Now I need to reverse the process to allocate a numeric score to each...
7
by: Alex Vinokur | last post by:
What is the difference between an operator and a function in C++? Alex Vinokur email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html...
1
by: MGM | last post by:
Hey everyone, I had a quick problem: I want to be able to send a string of data to a function and have it return that same string but only in alphanumerics. That is to say, if I sent it: ...
1
by: shalabh6 | last post by:
Hi, A js file containing a function which is passing an alphanumeric string to another function in the same file, the second funtion requires 4 parameters to pass from the first function. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.