At 09:00 PM 3/4/99 -0500, you wrote: >Would also help set things up for 'type'ing them appropriately for future use. > >Text = text >Doc files = ddoc > >Images, jpeg, ggif, etc. > >So as we grow, and end up with 75 different Doc viewers, these guys would >have an easier time opening each others files/dbs ;-) > >I tend to stick with a type of 'data' for data ;-) > Hmm, so how about a function: LocalID DmFindAnyDatabase(UInt CardNo, ConstCharPtr Name = 0, DWord Creator = 0, DWord Type = 0) that would return the first database that matched the arguments, where any (but not all) of them could be NULL/0. If you specified name and one or more of the other args, if a database is located with that name but an incorrect creator/type the function returns 0. (I don't know how this would fit in with DmGetNextDatabaseByTypeCreator() or similar). I suspect it may be nice if people wanted to look through all their "ddoc" 'files' or something.
