Hi,
I have two form: A & B. In A I have a portal where I see the fields of B.
I want to write in a new line of the portal (therefore new record in form B), how I have to do!! I know enough well FileMaker and I’m learning Servoy. Can you help me? Excuse me for my bad english.
thanks
Giovanni
Try a tabpanel instead of a portal. It’s easier to work with, more flexible.
- Make your main form (‘A’)
- Make your line item form (‘B’)
- Establish a relationship between the tables of A & B
- On A, place a tabpanel, using that relationship and the B form
- You may want to hide the tab (TabPanel Property: tabOrientation = HIDE)
Have fun with Servoy!
Jim
jim:
Try a tabpanel instead of a portal. It’s easier to work with, more flexible.
True.
Anyway, if you want to use a portal, simply write a method that creates a new related record and attach it to a button.
Pseudo-code
nameofrelation.newRecord()
Thanks for your fast help.
I hope to succeed
Giovanni