473,507 Members | 2,374 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 1513
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.newsfeeds.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
9130
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) ...
1
1779
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%,...
7
1852
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...
7
3274
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...
4
6624
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...
36
3068
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...
1
5592
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)...
2
3135
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...
4
4261
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...
0
7223
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
7319
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
7376
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
7485
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...
0
5623
agi2029
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,...
0
3191
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...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.