Much progress since I last posted ;-)
I'm getting record data from layouts no problem now.
However, I can't seem to find the right syntax to retrieve
the record data from a portal/table.
In our rather simple database, the main layout has a portal/table on
it, pointing back to another rather simple
layout. I've tried several of the syntax examples from your
doc page at
https://github.com/ginjo/rfm without much (any?)
success. Our embedded table is named "SHOT_NOTES",
Deriving from one of your examples, I tried
myRecord.portals["SHOT_NOTES"].each {|record|
puts record["Filename"]
}
but get back:
in `<main>': undefined method `SHOT_NOTES' for #<Rfm::Resultset:
0x25751d0> (NoMethodError)
I get that Rfm strips the "::" and table name off..
but I can't seem to find any syntax that works...and can't
find any documentation to provide much detail.
I prerused the source code, but it pretty much reflects the
web docs. Would you be so kind as to explain in more detail
how the syntax is structured and how to retrieve this portal
record data?
Thank you very much,
JimPolk