In the Bizobj API docs I find: lookupPKWithAdd(self, field, val) Runs a lookup in the specified field for the desired value. If found, returns the PK for that record. If not found, a new record is created with the 'field' column populated with 'val', and the new record's PK is returned. None of this affects the current dataset.
What does "None of this affects the current dataset" mean. In the previous sentence it says that if the record is not found "a new record is created". If the current dataset is not affected, where has the record been created? I'll be ignoring this last sentence as it doesn't make sense, and I'll assume the new record is being created in the current dataset but the record pointer remains where it was. But I thought I'd post it here just in case. If I'm heading for trouble I'd appreciate some warning.
Thanks. _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/52977e2f.7050...@gmail.com