Conditional formatting in a query expression

  • Thread starter Thread starter agarcia41
  • Start date Start date
A

agarcia41

Guest
I've created a scientific publications database. As part of the database I have queries which put together in a single new field [Complete citation] the authors, journal, year, etc.
I have a few reports using those queries and everything works fine.
Now I want in my report have the "journal" part of the [Complete citation] field in italics, but I don't know how to do that for a part of a field.
Thanks a lot.

Alberto
 
Once the fields are concatenated like that, I dont think you can change the formatting of a substring within that field, cos the formatting applied to the control, applies to the entire field.
 
I think so, but it would be possible to format it before join the strings in the query and keep the format intact?
Thanks for your response.
 
I dont think SQL cares about the format of string, thats something for the UI to take care of.

I think I know what it is your trying to do.

Have you though perhaps about generating the reports in Word instead of Access?

That way you can set the format on the merge field, and you can concatenate them nicely too.
 
meboz said:
I dont think SQL cares about the format of string, thats something for the UI to take care of.

It doesn't.
 
Access doesn't support variable formatting within a single string without a third party add in such as RichTextControl
 
Thanks you all. This has been very helpful!
I was thinking to combine Access reports I already have designed with some Word macros I can design to perform the formatting.
 

Users who are viewing this thread

Back
Top Bottom