Hi,
Is there a way to meassure the amount of text populating a text field? My
project involves creating a way to select a particular report depending on
the amount of text.
For instance, if five text fields labeled "Serivce Goal 1 ... Service Goal
2", contain only a scanty one sentence, report "A" would be selected; if
the text fields contain a whole paragraph, then report "B" would be used.
Naturally, my queries would have to have a way to meassure text quantity :-(
Any help would be greatly appreciated!
--
Many Thanks! 2 1486
The Len function built in to Access will return the length in characters of
a Field, Control, or String variable.
But, my question is, why would you need separate Reports depending on the
length of certain Fields' data? Why not, instead, set the Can Grow and Can
Shrink properties so the Control can expand/contract to display whatever
amount of text it is supplied?
Larry Linson
Microsoft Access MVP
"aw" <aw@no_spam.com > wrote in message
news:WK******** *********@newsr ead1.news.pas.e arthlink.net... Hi,
Is there a way to meassure the amount of text populating a text field? My project involves creating a way to select a particular report depending on the amount of text.
For instance, if five text fields labeled "Serivce Goal 1 ... Service Goal 2", contain only a scanty one sentence, report "A" would be selected; if the text fields contain a whole paragraph, then report "B" would be used.
Naturally, my queries would have to have a way to meassure text quantity
:-( Any help would be greatly appreciated!
-- Many Thanks!
Larry Linson wrote: The Len function built in to Access will return the length in characters of a Field, Control, or String variable.
But, my question is, why would you need separate Reports depending on the length of certain Fields' data? Why not, instead, set the Can Grow and Can Shrink properties so the Control can expand/contract to display whatever amount of text it is supplied?
Thank you,
Well, its a long story. The 'Grow' and 'shrink' attributes are set to
'yes', however, the text fields may and do grow so that the detail section
of the report breaks into a second page; somehow, this creates havoc with
the page and report headers and thus causing rather unpredictable visual
results.
--
Many Thanks! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Xerxes |
last post by:
Hi,
I need help in setting up a page where the text wraps around an image.
Right now, I am using table, with text in one <td> and the image in the
adjacent <td>. The problem is when the text is longer than the height of
the image, I get all this dead space below the image with the text just
going vertically down in its own <td>.
Can I use style sheet to position the image and the text so that the
text can start taking up the whole page...
|
by: Macsicarr |
last post by:
Hi All
Wonder if you could help me.
I have created a CMS system that allows the user to enter text and pic
'tags' for their own About us page, eg
text.... text.... text.... text.... text.... text.... text.... text....
text.... text.... text.... text....
text.... text.... text.... text.... text.... text.... text.... text....
|
by: Arif Çimen |
last post by:
Hi to everybody,
I have chnged a button text in design mode. But After compiling and
executing the program
the text of the button do not change to new value.
Any Ideas?
Thaks for helps.
|
by: jweinberg1975 |
last post by:
I would like for users to be able to select from a small number of options
that come from a little drop down menu which then closes.
..
http://www.geocities.com/jweinberg1975/dropdown_on_text00.html
..
In order to see the behavior you should "mouseover" the white-on-black text
segment that says "omnis dolor repellend"
..
the thing is that I don't want for the whole space in the paragraph to be
empty. I just need for the little menu to...
|
by: bbepristis |
last post by:
Hey all I have this code that reads from one text file writes to
another unless im on a certian line then it writes the new data however
it only seems to do about 40 lines then quits and I cant figure out why
any help would be much apprechiated
1.
Dim line_num As Integer
2.
Dim filename2 As String
3.
| |
by: acecraig100 |
last post by:
I am fairly new to Javascript. I have a form that users fill out to
enter an animal to exhibit at a fair. Because we have no way of
knowing, how many animals a user may enter, I created a table with a
createElement function to add additional entries. The table has the
first row of input text boxes already in it. You have to click a button
to add another row. That seems to be working fine. How
do I pull the information from the input boxes...
|
by: jonniethecodeprince |
last post by:
Hi all,
I have trouble getting an array of data stored in a separate javascript file i.e. a file called books.js into a table of data for a .xhtml file.
There are 50 Records in this file.
There are 5 colums of data I wish to display.
I want to display these records in groups of 10.
Based on the fact that the records I want are located in a separate file, how can I get these details to show on the form and manipulate the data to...
|
by: Neil |
last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text
feature does not support: a) full text justification; b) programmatic
manipulation.
I was hoping that someone might know one way or the other whether that was
true or not, or could point me to an article or help text that would. What I
have seen so far online and in Access 2007 help seems to confirm the above.
But that (or at least (b)) seems incredible that it...
|
by: JosAH |
last post by:
Greetings,
Introduction
At the end of the last Compiler article part I stated that I wanted to write
about text processing. I had no idea what exactly to talk about; until my wife
commanded me to "clean up that mess you never use anyway and please dump the
rest of it in the attic or simply throw that junk away".
I want to make a statement here:
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |