Andrew Davis
Fri, 08 Dec 2006 11:05:51 -0800
Hi Folks, Im sure this is something dumb, but ive given up for now...
[tables]
tblAdvTrack
-----------
media_id
hitcount
tblStreamMedia
--------------
media_id
title
[setup]
<reactor>
<config>
<project value="advtracking" />
<dsn value="tempdb" />
<type value="mssql" />
<mapping value="/scratch" />
<mode value="development" />
</config>
<object name="tblAdvTrack">
<hasOne name="tblStreamMedia">
<relate from="media_id" to="media_id" />
</hasOne>
</object>
</reactor>
[index.cfm]
<cfset Reactor = CreateObject("Component",
"reactor.reactorFactory").init(expandPath("reactor.xml")) />
<cfset StatsRecord = Reactor.createRecord("tblAdvTrack") />
<cfdump var="#StatsRecord#" expand="no">
[?!]
I see the dump for StatsRecord fine, but...
According to the documentation, shouldnt i see gettblStreamMedia and
settblStreamMedia in the dump for StatsRecord?
Ive doubleschecked case and spelling. Not sure why not working.
Im just starting with this, and am not sure why not working. Any help
would be much appreciated, and please be specific, as I am not too
familiar with reactor (yet).
Thanks in advance,
Andrew
--
Andrew Davis
avagraphique
mail::[EMAIL PROTECTED]
phone::716.830.8631
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --