Ok....my app is being created with the CD. All forms are independent of each other.
Note that I have read both these thread and still don't understand: http://old.nabble.com/Return-a-value-from-one-form-to-another-tp11615763p11620241.html http://old.nabble.com/Modal-Forms-tp21448675p21499842.html I have a builders form, and a contacts form. each form is a single form consisting of a details area, search area and a grid. These function fine on their own. In my contacts form I pull the builders.id in with a join to the builders table as builderfk. This field is populated with a names keys dropdownlist. I have added another button in the contacts form to click so I can show the builder details in another launched form. I can't seem to pass the contacts.builderfk to this form as builder.id to display the builder details. Here's what I have: In my contacts form ## check to see if there is data available in the details area def checkForRecords(self): biz = self.PrimaryBizobj ds = biz.getDataSet() if len(ds) == 0: dabo.ui.stop("No record present. Can not provide Builder Details.\nYou need to do a Builder Search first.", title="No Record Available") else: self.getRecordValue() ## if there are records proceed to get the contacts.builderfk value. def getRecordValue(self): frm = dabo.ui.createForm("frmBuilderDetails.cdxml", parent=self) biz = self.PrimaryBizobj val = biz.getFieldVal("builderfk") return val #print val frm.show() I did a print to see if I am getting the value I want, and I am. In my builder details form (all read only text boxes), I have this so far. ## Grab the value from the contacts form def showRecord(self): recordval = self.Parent.getRecordValue print recordval I believe I am on the right track because the method is binding to the other form if I read the output correctly: <bound method dForm_86842.getRecordValue of <dFormContacts (baseclass dabo.ui.dForm, id:-3584)>> I've tried several things and this is as close as I get. Can anyone point me in the right direction? Thanks, Carey --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
