.p alert program issue - really basic


I admit to being a true newbie- I've managed to keep my alerts ot one
table so far. (Pretty siomeple alerts...) Well, now I need to look up
custID from Customer, based on current row of Orderhed, and it's
balking. The goal is an alert on order creation, that includes custpo
(no problem) and CustID (this one's the problem.) Here's what I am

Find OrderHed where (rowid(OrderNum) = GetCurrentRowID()).
FIND Customer WHERE (Orderhed.CustNum = Customer.CustNum) NO-LOCK.

It gives me the wonderful 4GL stop error when I test it. Any assistance
would be appreciated!


- leAnn