On Apr 16, 2007, at 4:05 PM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
> Other than issuing a "insert into..." passthru sql to the back end
> is there
> an easy way to copy a record from by bizobj (that I am currently
> on) to a
> temp structure, then add it...like a scatter memvar, insert from
> memvar in
> vfp?
No, there isn't a direct way of doing this. You could do something
like this in your bizobj:
rec = self.getDataSet(rowStart=self.RowNumber, rows=1)
self.new()
for fld, val in rec.items():
if not fld == self.KeyField:
self.setFieldVal(fld, val)
self.save()
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]