June 17, 200817 yr Dear peepz, I have designed a layout where the portal shall display some fields of the records related to the primary record. The portal occupy the upper half. The bottom half contains textbox, etc which is the basically the more detail field content of the records display in the portal. What I intend to do is that, when I click on the row in the portal, all data related to the row will be displayed in the bottom half. This will allow editorial amendments. Can someone tell me how do I do that? Regards, Farah K.
June 17, 200817 yr Author Dear comment, Yes that is exactly what I wanted but how do I go about instructing which textbox to fill? Regards, Farah K.
June 17, 200817 yr Author Another thing, how do you go about co-ordinating the global field to have the same value as the primary key? I did the settings in the fields definition but it still is empty when I input data. Regards, Farah K.
June 17, 200817 yr Nothing is being filled - except the global field gCustomerID which is set when you select a customer (see how the button is defined). The information for selected customer is DISPLAYED directly from the related record. I have added some notes to the file - see attached. NavNotes.fp7.zip
June 18, 200817 yr Author Thanks comment. I got it working now. Anyways, is there a way to disable the direct editing function on the portal? Also, if I want to add new records via the parent layout, how do I go about doing that? Thanks again comment for being extremely patient with me. Regards, Farah K.
June 18, 200817 yr To prevent editing of portal fields, make them non-enterable (Format > Field/Control > Behavior...). To add a new record, create a script, something like: Freeze Window New Record # SET ANY REQUIRED FIELDS HERE Commit Records Set Field [ gCustomerID ; CustomerID ] If you want, you can give the user a global field to fill before they can add a record.
Create an account or sign in to comment