Thursday, March 5, 2009

Tired of writing the field name in PeopleCode

Tired of writing something like:

If AveryLongRecordName.AveryLongFieldName.Value = 0 Then
....
End-if; ?????

try this trick:

If ^.value = 0 then
.....
End-if;

The ^ gets the recordname.fieldname and inserts its automatically on save

saves you time and helps you avoid mistakes

No comments:

Post a Comment