hi. I change text colour in a query field by using ![Red] for example. So how can I make a text in a field bold in a query?
hi. I change text colour in a query field by using ![Red] for example. So how can I make a text in a field bold in a query?
Don't think can. Use forms and reports and set formatting of controls.
Exactly where and how do you use ![Red]? Doesn't work for me in Format property.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
When you open design view in query, you can click on field which you want change colour then from Properties Window on right, write ![Red] on "Format" part. Then Save query and open it again.
Well I never knew that you could add colour to query fields ....
Also works for Blue, White (!!!), Green, Cyan and Yellow in text fields using ![Colour] notation
EDIT:
For number fields, use e.g. #[Red] or [Blue]# instead
Date fields change colour but get 'converted' to long integer value;
Sorry but no idea whether some method exists for Bold as well.
However, of course dead easy to do in a form
I mean make text fields bold. I have a query. I want to sent it excel with a button. While I sent it excel, I want that some text fields will be bold.
Right, I tried on date and number fields when I posted my response. Confirmed this formatting works only on text field. Also works in table.
However, cannot do any other special effects on fields in table/query.
Tested export of table with color formatting. The formatting does not export.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
So how can I do that? With a vba code?
@June
Strange that this is possible - I'd never heard of it before.
Not sure how useful it is but its there for anyone who needs it!
I also tried lots of other effects - bold/ italic / underline - all unsuccessfully
@botilismus
Thanks for teaching me something new!
You need to do the formatting in Excel after exporting
You are welcome