Hello,
"Not bound", how can I bound it?
I kind of thought I needed ADO code... do you know where I can find examples?
Thanks you
Paulo
> If your form is not bound to the MS Access db, you'll have to use either a
> web service or ADO code to insert the record into the db.
[quoted text clipped - 17 lines]
> > Thanks
> > Paulo
S.Y.M. Wong-A-Ton - 30 Aug 2006 09:11 GMT
When you create a new form and choose "New from data connection" and then
select a db connection, your form will be bound to a db. I don't think you
can bind a form to a database after it has already been created.
No special ADO code is needed for InfoPath. You should be able search on
Google to find ADO code that writes to a database. This article
(http://support.microsoft.com/?kbid=185125) uses a stored procedure, but you
can modify it to use SQL statements.
Note: Since you'll be calling an ActiveX object when you use ADO, you might
get security warnings in InfoPath whenever the code is invoked. You wouldn't
have this issue if you used a web service to write to the db.
---
S.Y.M. Wong-A-Ton
> Hello,
>
[quoted text clipped - 25 lines]
> > > Thanks
> > > Paulo