Groups | Blog | Home
all groups > flash data integration > january 2005 >

flash data integration : insert object contents into access table



bcmDoug
1/19/2005 8:49:04 PM
My application runs on a local kiosk setup (this is for a patient study) where
the user enters his or her name and sex. The user sees a number of screens and
my app collects the data on which items the user selected, attitude changes and
time in session. The object is something I'm calling a 'userSession' with
various properties (ie. userSession.userFnam, userSession.userLname,
userSession.gender, userSession.timeStart...etc...). The pc where the app is
running is using local version of the ColdFusion server and an access database.
I have configured all of these and have confirmed that all are working as
required. I am working Flash MX Professional. Anyway, I am having no
difficulty creating the object. What I am attempting to do now however is
connect the userSession object to my data resolver and that to my webService
Connector. Flash web services panel is having no difficulty seeing the
functions in the CFC. In fact, if I set the variable in the CFC function I am
able to invoke the update and insert the record (with the forced data). I
don't think I'm connecting my Resolver to my userSession object correctly. If I
understand it correctly the userSession connects to the Resolver which connects
to the Connector. Is this correct? Any advise is greatly appreciated.
Pilipo
1/25/2005 5:24:34 PM
Hi Doug,

The Resolvers only work if they are bound to a component that provides a
"deltaPacket", a collection of changes to a dataset. Your userSession object
just has plain properties, so using a resolver is not possible. You should
manually place your userSession properties in the connector for transmission to
your CFC.

Alternatively, if you store your variables in a record of a dataset, then you
can have the dataset provide a deltaPacket of changes to a resolver, then to
the connector, then to your CFC.
AddThis Social Bookmark Button