I have designed a form and several views to hold our inventory details and want to use a second form and another view to hold our software licence details on the same database but am having problems getting the form I designed for the software details to be picked up by the new view. The view keeps opening the original form unless it is for a new entry when I manage to choose the form using the @Command([Compose];“TABLENAME”) but am unsuccesful in trying to edit the form using the @Command([EditDocument];“TABLENAME”).
All the documentation I have suggests that more than one form can be used with a database but I cannot find how to choose the form!
Any help is much appreciated.
Nick Dawson
IT Manager
Robertson Group
Scotland
Subject: Form Design
Maybe I didnt understand your question but here’s an attempt to help …
You have to design view1 to show documents using form1 and view2 to show documents using form 2.
You will do that by changing the views selections criteria.
If you read the designer help you will notice that the EditDocument command doesnt take a form parameter. It just edits the selected document (with the form mentioned in the form field).
Subject: RE: Form Design
Klaus,
thankyou for your reply which correctly tackles the problem but … where (in designer)do I choose which form?
I have spent hours looking for somewhere to do this but have obviously missed it!
Nick
Subject: RE: Form Design
If you, in designer (having your view open) click the white area where the documents normally show… the lower windows should show you “View Selection” where you can switch between simple search or formula.
Hope that you will find it now 
Subject: RE: Form Design
Klaus,
thankyou very much for your response. I did find it and also found that I need to setup some shared fields!
I have managed to get the application working and we now have a working Inventory database.
Thankyou again for your help for which I am most grateful.
Nick