-
December 1st, 2002, 03:20 AM
#1
Data Report Problem
Hi, im using vb data report.
I would like to ask.. how to do some validation?
like i would like to bold the number if the number is positive value, else change the color to red
anyone can help me on this?
Urgent
Thanks~
hao_han
-
December 1st, 2002, 07:49 PM
#2
Hi there;
Check out this code:
rptEventGuideTest.Sections.Item("Section4").Controls.Item("lblContractNumber").Font.Bold = True
Each report object has a collection of "Sections" and within each section, you can reference rptLabel or rptTextBox objects ("lblContractNumber is rptLabel object) and set the font property to bold as demonstrated above. I just tested it and it worked. Cheers,
DA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|