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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing field appearance by anther fields value

Status
Not open for further replies.

woodyinoz

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

I'm looking to change the colour of the text in a field if a field in a linked table has data entered into it.

I have a table on a form which lists all Plates with there ID's which are currently in red. This table is generated from 'Material.DB'. It is linked to 'PartReport.DB' and if a part in this table is allocated a plate id then I want the plate id to change to blue on the form table.

Is this possible and if so, how do I go about achieving this?!

Thanks all,

Woody
 
Try the newvalue method


if Part.isBlank()
then
Name.font.color = Red
else Name.Font.color = Blue
endif
endMethod

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top