i have a question on set relation. i have as an example a client table and a contacts table (ccontacts). the client field exits in both tables so a simple browse might be.
use ccontacts order client
use clients in 0
set relation to client into ccontacts
set skip to ccontacts && one to many contacts
brow fields client,ccontacts.name, ccontacts.status
ccontacts table also has a field <status>. this is a numeric field. i would like to browse contacts with lets say only status of 0. can i set a relation that will accomplish this? i tried selecting ccontacts and set filter to status = 0 but this did not seem to work? any suggestions other than using select * from or a view. i would like to use the SET RELATION TO <expr> if possible. thanks
use ccontacts order client
use clients in 0
set relation to client into ccontacts
set skip to ccontacts && one to many contacts
brow fields client,ccontacts.name, ccontacts.status
ccontacts table also has a field <status>. this is a numeric field. i would like to browse contacts with lets say only status of 0. can i set a relation that will accomplish this? i tried selecting ccontacts and set filter to status = 0 but this did not seem to work? any suggestions other than using select * from or a view. i would like to use the SET RELATION TO <expr> if possible. thanks