scripting Activex controls contained in form

W

Weston Weems

Hello, I've done a lot of research via google etc... and seem to be
having some problems...

I've got a signature capture control (specific for the device I am
using) in which I am able to drag and drop on my form. THe problem is
that in the wizard, I cant really bind any properties of the control
to a datasource.

If I can get a reference to the activex control from the JSCRIPT
editor, I can do the rest from there... but to get to that point I am
somewhat lost.

Also, I'll be able t run a function of this activex control to return
a string of text which I want to insert into a field of the db.

Can I preprocess on submit, or is there such a thing as a hidden
field, that I can set the value of from behind?


Thanks in Advance
Weston Weems
 
M

Matthew Blain \(Serriform\)

You cannot access the ActiveX control directly because InfoPath works on XML
data by generating, and regenerating, an HTML view. It is the view which
contains an instance ActiveX control. During the process of updating the
view, the ActiveX control may get destroyed and recreated multiple times

An ActiveX control which is not designed for InfoPath can bind one value to
the data. InfoPath adds some interfaces your control can call to access the
InfoPath object model and thus bind to more than one node or otherwise store
the data you need.

--Matthew Blain
http://tips.serriform.com/
 
W

Weston Weems

I guess that makes sense... is that how things are going to stay, or
can I expect more functionality in thefuture?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top