473,773 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help about change fonts in reports so the same field in diffrent record could have diffrent font


Hi,

First of all I found your tips very usfull, of course these tips becuas
of all years working in access. really greet site.

my Quation:

is this away to change fonts in reports so the same field in diffrent
record could have diffrent font.

lets see I have table contain feild like stName and make a report based
on it and I want to change stName font in second record differs from
stName font in first record.

I try but the changes of font take effect to all records.

thaks for your help

khorshid


*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #1
1 1541
Use the Format event procedure of the section where the text box resides.

This is the basic idea:

Private Sub Detail_Format(. ..
Me.[SomeField].FontName = Me.[SomeOtherField]
End Sub

It certainly needs more than that to cope with cases where the other field
is null, or contains a name that is invalid or there is no such font on the
machine.

--
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.

"krikaran adel" <kr******@yahoo .comwrote in message
news:12******** ******@news.new sfeeds.com...
>
First of all I found your tips very usfull, of course these tips becuas
of all years working in access. really greet site.

my Quation:

is this away to change fonts in reports so the same field in diffrent
record could have diffrent font.

lets see I have table contain feild like stName and make a report based
on it and I want to change stName font in second record differs from
stName font in first record.

I try but the changes of font take effect to all records.

thaks for your help

khorshid


*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #2

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

Similar topics

1
9152
by: bof | last post by:
I'm attempting to use ImageTTFText to render text to an image, I can get it to work if I a) specify the full font path b) switch off anti-aliasing c) specify an OpenType font (e.g. arial.ttf) If I specify a TrueType font (e.g. futura.ttf) I get an error message "Warning: imagettftext(): Could not find/open font in c:\filepath"
1
1793
by: Cezary | last post by:
Hi Folks! I have a problem with fonts size on few browsers. I use size in %, because WAI recommend that form, but in diffrent browsers I have diffrent sizes. For example for IE6.0 100% is 100%, but for IE5.x 100% ins't 100%. Is there any good way to make it compatibility with most browsers ? Maybe I have to do it one stylesheet for one browsers ? Any ideas ?
7
1875
by: mike | last post by:
Hello, I am kind of new to this javascript stuff and I am constantly having problems trying to get my webpage validated. I have the following <script>printdate();</script> and when I validate it at validator.w3.org I get a error the attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the...
7
3300
by: Shyguy | last post by:
I have an option group with about 30 options. I would like to have the Option Labels get their text from a table. Is this possible, and if so how? Also, is it possible to embad a font into a database or does each machine need to have that font installed? Thanks for any help, ShyGuy
4
6640
by: Paul T. Rong | last post by:
Hi Everybody, This is the problem: I have a Epson (POS) TM-U210 printer, I tried for several hours almost all the fonts under windows 98 se, but what is printed out is of very poor quality (not clear at all). Who can tell me where is the problem? thanks in advance for any help,
36
3110
by: aljamala | last post by:
Hi, I keep getting this warning on a page, but I do not know what the problem is...does anyone have an idea about what could be wrong? line 88 column 7 - Warning: missing </formbefore <td> it highlights this line: <form name="frmCurrency" action="" method="post"> Page source....
1
5617
by: erictomlinson | last post by:
I'm dying here trying to figure this out for days. Here's the scenario: 1) External script.as file dynamically imported to loader.swf file that creates a textfield (createTextField) 2) Content for the text field should be provided by an XML file 3) Content styled by external css file 4) Fonts need to be embedded so as to apply anti-alias
2
3156
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button then the calender gone actually i want if i click outside off the calender then it should me removed ..How kan i do this ... Pls inform me as early as possible .. I am waiting for ur quick replay ...Here i attached the source code .... <!DOCTYPE...
4
4276
by: Mythran | last post by:
Reposted, originally posted in microsoft.public.vb.crystal which is not an MSDN managed newsgroup.... POST BELOW --------------------- We develop our applications and reports using Visual Studio 2008 with Crystal Reports Basic for Visual Studio 2008. The same issue that's been around for years, where you export a report to PDF and during the export process, CR shrinks the fonts of text and field objects on the report.
0
9621
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, 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...
0
9454
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,...
0
10264
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, 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...
0
9914
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 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...
0
6717
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();...
0
5355
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...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.