473,386 Members | 1,886 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.

Entering . to format

I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display doesn't
appear correctly. This works fine when viewing on the website but
when the user prints it prints out the . Is there something else I
can use instead of the . so it doesn't appear when printed out and
maintains the same effect on the website.

Thanks,
Chris
Jan 5 '08 #1
3 1564
Chris wrote:
I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display doesn't
appear correctly. This works fine when viewing on the website but
when the user prints it prints out the . Is there something else I
can use instead of the . so it doesn't appear when printed out and
maintains the same effect on the website.
<broken record>URL?</broken record>

Have no idea what you mean from your description...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jan 5 '08 #2
Chris wrote:
I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display doesn't
appear correctly. This works fine when viewing on the website but
when the user prints it prints out the . Is there something else I
can use instead of the . so it doesn't appear when printed out and
maintains the same effect on the website.
I'm not entirely clear what you want, but I would guess that replacing
the . with &nbsp; would accomplish this.
Jan 6 '08 #3
Scripsit Scott Bryce:
Chris wrote:
>I have a 2 line display in a report and find if I don't put something
like a white dot (.) when data doesn't appear that the display
doesn't appear correctly. This works fine when viewing on the
website but when the user prints it prints out the . Is there
something else I can use instead of the . so it doesn't appear when
printed out and maintains the same effect on the website.

I'm not entirely clear what you want, but I would guess that replacing
the . with &nbsp; would accomplish this.
Oh guessing day, oh guessing day... but it seems we guessed the same.
The OP probably has a _table_ with an empty cell, and he's using the "."
character, with color set to white (the same as the declared or
wildly-guessed background color) to make the dot invisible. This is one
tricky way of making the cell non-empty from a browser's point of view,
but it fails in normal (black & white) printing, where text in any color
but black appears in grey.

Using the no-break space as non-empty content is indeed one of the
common ways to avoid the problems of empty cells. As a potential
technical drawback, it imposes minimum width and height requirements for
the cell, thought these matter relatively rarely.

However, especially in a report, it could be essential to indicate _why_
the cell lacks real data. Is the data unavailable? Too small to be
indicated? Too unreliable? Logically impossible? Secret? There are
conventions on such matters, and applying an applicable convention, with
applicable explanations when applicable, might be more applicable than
any tricks.

A URL would really have helped. But here's a URL for a page containing a
general explanation of the (assumed) issue:
http://www.cs.tut.fi/~jkorpela/html/emptycells.html

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Jan 6 '08 #4

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

Similar topics

0
by: 321ConTact | last post by:
I am having a bad day for thought, and I can't remember how to create a function that will return a date/time. I have a query with a date field in "mm/dd/yyyy hh:nn:ss am/pm" format. If I enter...
2
by: BerkshireGuy | last post by:
Is there a way to display what the expected format is before entering a control. For instance, if I have the input mask of 99/99/0000;0;#, it shows me ##/##/##, but only when I type the first...
12
by: Phoe6 | last post by:
The Program Fragment is this: int choice; /* Users Input Command */ .. .. .. printf("Enter a command: "); fflush(stdin); choice = getc(stdin); printf("\n");
7
by: kk | last post by:
Hi all, in the following code, i enter more characters into a character array. array size declared as 80. i enter more characters then i get segmentation fault. if anybody knows give me reply....
2
by: sklett | last post by:
I have the need to enter a hex value IE: 0xffff into a datagrid column that is backed by an int property for a custom object. in other words, I have a class like this: class MyEntity { private...
11
by: dheroan | last post by:
Okay, so after adding an Access database as a data source to my project, I decided to change the 'time' field in a particular table from date/time to a string value for various reasons. I made this...
2
by: robertns5411 | last post by:
I have two questions: 1) Say I have a form bound to a table. Assume the user is entering data into a new record at the bottom of the form. Now, suppose the user clicks a button on the form...
3
by: Markw | last post by:
Ok this is probably going to be so obvious but I've got to ask because I can not find it any other place. I'm creating (still, this has been going on for some time now) a web based scuba dive log...
4
by: Neil | last post by:
Having trouble with inserting a record into a table. It's a list of names. But, for some reason, it won't take a particular name. When a user tries to enter a name into the table, the system hangs...
1
by: sweetline priya | last post by:
in my project, the user can enter the date in the format of dd-mm-yyyy in the textbox. after entering the day value, automatic '-' (hyphen) has to be generated.. and after entering the month value...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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:
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,...
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...

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.