[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

New SQR'r



begin-select
T.field1
T.field2
        let f1 = &T.field1
        let f2 = &T.field2
       print f1  (+1,5)
       print f2  (,20)
from table1 T
end select


Everything works fine until I put an ON-BREAK on field1:

begin-select
T.field1 on-break
t.field2
       let f1 = &T.field1
       let f2 = &T.field2
       print f1  (+1,5)
       print f2  (,20)
from table1 T
end select

 With this, I get errors that read:

 "Columns names and expressions must be unique or be given unique pseudonyms 
(&name)."
 "Referenced variables not defined"

Can someone help explain to me the problem here?  It seems the code is valid as 
it runs fine until I insert the ON-BREAK.  Thanks.

-Ken