Need help to build a view

I am a newbie in Domino design so please bear with me …

Have created a contact directory database for Customer and Suppliers. I wanted to use the same form for both of them. Then create separate group of views for each than can be launched from the left frame.

Right now all the views are building up using formula :

SELECT (Form = “Create Contact”) | @AllDescendants

Is it possible to add a condition here that can filter documents based upon whether it is a supplier contact or a customer contact and then populate them in the appropriate views ?

I have a field called ‘company_type’ which is a list box where we can select ‘Customer’ or ‘Supplier’ at the time of creating the contact.

Any help would be appreciated …

Thanks

Subject: Need help to build a view

e.g.,

SELECT ( (Form = “Create Contact”) & Company_Type = “Customer” ) | @AllDescendants

regards,

raphael

Subject: RE: Need help to build a view

Thank you so much !

Subject: Need help to build a view

SELECT (Form = “Create Contact” & Company_Type = “Customer”) | @AllDescendants

SELECT (Form = “Create Contact” & Company_Type = “Supplier”) | @AllDescendants

Subject: RE: Need help to build a view

Thanks very much !