Hi,
    here's a couple of things I've stumbled upon.

- within a form we are supposed to work with data through the Form's methods and not the bizobj. But dForm.new() will not take the parameters dBizobj.new() will take. In particular I've found no way to set field values from Form's methods after a dForm.new(), if I have to go down to the Bizobj so as to do that then I'd rather not bother with the form's methods at all, consistency would dictate to always use the bizobj.

- dForm.deleteAll() will always ask if the user is sure, it's not the user but the programmer who is sometimes issuing this method. There is a "message" parameter set to None by default which should prevent any messages but it is not working this way. Had to go down to dBizobj.deleteAll() to be able to not get the confirmation message popping up.

BTW, very nice the fieldVals parameter in new(), it allowed me to upload a data set in just a couple of very nice lines:
    For record in myDataSet:
        myBizobj.new(fieldVals=record)


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to