reference table in a table

Sorry for another syntax question again, but how do I add table entries to and reference a table within a table. Both tables are tables of record types. I’ve tried the below:

Reference:
hosts[c$id$orig_h]$TxDests[c$id$resp_h]$num += 1;

Add entry:
hosts[c$id$orig_h] = [$TxDests[c$id$resp_h]=[$num=1], $state=F];

Thank you,

Brian

Found the answer here finally, thanks: http://article.gmane.org/gmane.comp.security.detection.bro/1547/match=table+record

Thank you,

Brian