Hello there,

I am trying to use subtables with metakit and python.
Unfortunately, the docs are scarce about that.

Let's say I want to create a subtable for every new
day
for a person. How do I add a new subtable later w/out
having to redefine w/getas?

Let's say I start with 2 subtables:

db = metakit.storage("c:/tmp/metak/sub2.mk",1)   
vw=db.getas("barney[date1[location:S],date2[location:S]]")

i=logons.append()

vw[i].date1.append('home')
vw[i].date1.append('bowling')
vw[i].date1.append('home again')

vw[i].date2.append('work')
vw[i].date2.append('bowling')
vw[i].date2.append('at the bar')

This creates and adds data to 2 subtables. If I want
to add a third date. Is there an easy way to just
append the subtable?

Thanks for any info,


john
       

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to