Field condition on reports module

  • Thread starter kft10 via AccessMonster.com
  • Start date
K

kft10 via AccessMonster.com

Hi,

I have 1 simple question, but I don't know how to write VB script in Access.
On reports module, I'd like to print red font on field1 if that field1
greater than 50. Does anyone can help to write in VB script?

Thank you in advance.

KF
 
K

kft10 via AccessMonster.com

I did try to put the condition on Field1 textbox in Fore Color property like
this:

=iif(field1>.5,233,0)

But it didn't work. Do you have any ideas, where I have to put the
conditional format on? Thank you.

KF
 
D

Duane Hookom

Apparently you didn't find the Conditional Formatting in the Format menu in
design view. What version of Access are you using?
 
K

kft10 via AccessMonster.com

I am suing Access 2003.

Duane said:
Apparently you didn't find the Conditional Formatting in the Format menu in
design view. What version of Access are you using?
I did try to put the condition on Field1 textbox in Fore Color property like
this:
[quoted text clipped - 15 lines]
 
D

Duane Hookom

So am I.
What exactly did you enter where? Did you find Conditional Formatting?

--
Duane Hookom
Microsoft Access MVP


kft10 via AccessMonster.com said:
I am suing Access 2003.

Duane said:
Apparently you didn't find the Conditional Formatting in the Format menu in
design view. What version of Access are you using?
I did try to put the condition on Field1 textbox in Fore Color property like
this:
[quoted text clipped - 15 lines]
 
K

kft10 via AccessMonster.com

It works now. Thank you so much.
Hi,

I have 1 simple question, but I don't know how to write VB script in Access.
On reports module, I'd like to print red font on field1 if that field1
greater than 50. Does anyone can help to write in VB script?

Thank you in advance.

KF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top