Ok guys. I finally got it. I didn't quite work with the info John gave me, but it pointed me in the right direct.
1st mistake. I didn't have a parent child bizobj relationship set up. Once I set this up and played around and played around I finally came up with the following. It might not be the best way, but as John said earlier in this thread "...as many ways to skin this cat as there are programmer" Here's what worked. In my frmContacts-code.py file: ##check that there are records and if not warn user if so proceed def checkForRecords(self): #frm = dabo.ui.createForm("frmBuilderDetails.cdxml", parent=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() def getRecordValue(self): frm = dabo.ui.createForm("frmBuilderDetails.cdxml", parent=self) self.hide() frm.show() And in my frmBuilderDetails-code.py file: def afterInit(self): self.BorderResizable = False self.MenuBar = None self.showRecord() ####added def showRecord(self): biz = self.Parent.PrimaryBizobj recordval = biz.getFieldVal("builderfk") bizval = self.getBizobj("builders") bizval.UserSQL = ("select * from builders where id = %s" % (recordval,)) bizval.requery() #print "testing:", bizval.getDataSet() ## possible performance hit? Thanks for all the help!! I'm still a python/dabo n00b but I'm learning. Feel free to critique the solution Carey --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/aanlktinqgzywkvl2=n1_heoj56i=kc+wn=fh_05ox...@mail.gmail.com