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

filtering text fields by the amount of characters

I need to filter out any records where the characters are not equal to characters. If I use "*****" that gives me all the 2, 3, and 4 character records too. How do I filter those out?
Mar 6 '15 #1
3 1036
Brilstern
208 100+
ahyland,

Not really sure what you are asking here. Can you elaborate? providing some of your code and table structure would be handy.
Mar 6 '15 #2
twinnyfo
3,653 Expert Mod 2GB
ahyland,

Do you mean you want all records that have values that are not within ASCII Characters 65-90 and 97-122 (the ASCII set of letters) or something else.

Your question is a bit unclear, as Mr. Bias has noted, and I'm not sure what you mean by 2, 3, and 4 character records. Either way, the only method I can think of doing this is to search each record (just one field or all fields???) individually, then look at each character individually for "non-characters" (again the verbiage is a bit unclear what you mean, because characters are always characters.....) and identify those records. With many records, fields, large strings, this could take a long time, but just about anything can be done.

Please provide an example of what you are looking for.
Mar 6 '15 #3
twinnyfo
3,653 Expert Mod 2GB
I just re-read the title of this post. Are you looking to exclude records that do not have a certain length (i.e. a number of characters)?

A simple method would be:

Expand|Select|Wrap|Line Numbers
  1. WHERE Len([FieldName]) <> 3
Mar 6 '15 #4

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

Similar topics

1
by: Roy Adams | last post by:
Hello people I've recently been woring with multiple insert from text fields and got that woking fine thanks to the help from people from this forum now i'm trying to deal with multiple update,...
4
by: Michi | last post by:
I was wondering what the best solution is for making large numbers of TEXT (or BLOB?) fields searchable. For example, if I have a forum, what is the best way to be able to search for specific...
2
by: kuhni | last post by:
Hi everybody! After searching newsgroups for a couple of hours, I now try asking directly (running the risk of asking again the same question). My problem is to predict when the size of the...
3
by: Frustrated Developer via DotNetMonster.com | last post by:
I have posted a couple times on here already and found the user community to be very helpful. I took on a project before I realized how difficult a time I'm having working with a database....
2
by: ghadley_00 | last post by:
Hi, I have a form with memo & text fields that get printed onto a report. I would like to add buttons to my form which insert one of the following symbols: ↑ ↓ ← → to a text or memo...
3
by: John Smith | last post by:
I have two text fields in a table. One is Height, one is width. Some examples of what might be each field: Height Width 35' 35' 8' 6' 4 to 6...
7
by: Tzanko | last post by:
As we all know, there is a 8060 bytes size limit on SQL Server rows. I have a table which requires a number of text fields (5 or 6). Each of these text fields should support a max of 4000...
2
by: letam | last post by:
Hello, Thank you in advance for any help, it will be most appreciated! I need to be able to disable several text fields, until the user enters a value in a certain text field. Once they enter a...
2
by: parnellsquare | last post by:
I am a software tester - the developers I am working with are telling me there is no way to allow users to enter text that includes punctuation marks like apostrophes, quate marks, semi-colons,...
0
by: =?Utf-8?B?U3BlZWR5?= | last post by:
Hi, how does one enter characters of a foreign language in a text field? In particular, I am trying to enter the s with caron on top. In Word I would type <Ctrl>+<Alt>+^ followed by the s. This...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.