Neil Williams <[EMAIL PROTECTED]> writes:
> I can't get this clear and I can't find any documentation on exactly how to
> iterate over the existing, registered, GnuCash objects. At the moment, QOF
> isn't make a whole lot of sense. Do I have to create and register yet another
> object to query the invoice object? If not, how do I access the foreach
> routine for GncInvoice?
I told you already.. You need to use qof_collection_foreach()
to iterate over all Entities in a collection.
> Where's the documentation for using QOF and Gnucash together?
Documentation!?! HAHAHAHA! Thanks, I needed a laugh this morning.
UTSL!
> which is fine. What is needed to iterate over both invoices?
Use the collection iterator.
> I'm not looking at queries today, I just want to get this iteration sorted out
> in my head (and therefore in the gnc_book_merge documentation).
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel