Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading values from tables

Status
Not open for further replies.

woodyinoz

IS-IT--Management
Jan 8, 2002
215
GB
Hi again all!

Once again I have a question!

Basically I want to be able to say that if CSMID1.Value is located anywhere in the CSMID field then CSMID1 will be blue but if not then CSMID1 will be red. These 2 fields are in seperate tables.
I want to be able to search the CSMID field to try and find a match for the selected value in CSMID1.

Any ideas?
 
I've found the answer! For all you intereted the code is as follows:-

method newValue(var eventInfo Event)

if CSMID2.isblank()
then
CSMID1.font.color = Red
else
CSMID1.font.color = Blue
endif

endMethod

You need to attach this to the CSMID1 label.

Thanks anyway!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top