the code of cdxml file is in below problem occurs when i try to run not while 
adding
i want to add a point when database file is not in the same directory with the 
class designer im editing cnxml and changing database name to databese's full 
directory this time i put them in the same file so i needn't to modify it





        
                
def createBizobjs(self):

        class CustomerBizobj(dabo.biz.dBizobj):
                def afterInit(self):
                        self.DataSource = "customer"
                        self.KeyField = "pkid"
                        self.addFrom("customer")
                        self.addField("country")
                        self.addField("pkid")

                def validateRecord(self):
                        """Returning anything other than an empty string from
                        this method will prevent the data from being saved.
                        """
                        ret = ""
                        # Add your business rules here. 
                        return ret

        customerBizobj = CustomerBizobj(self.Connection)
        self.addBizobj(customerBizobj)

                
        

        
                
                        
                        
                
        


_________________________________________________________________
Windows Live Messenger'ın için ÜCRETSİZ 30 ifadeyi indir!
http://www.livemessenger-emoticons.com/tr-tr/


_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to