SP1: Quering the Database, Custom Query

A

Andrej

hi,

i want to run a custom query for my infopathform. i solved this problem in
infopath before SP1. now i am creating a form wit VS.NET and want to run my
custom query but nothing happens.

my source:
.....
((ADOAdapter2) thisXDocument.QueryAdapter).Command=tSQLQuery;
((ADOAdapter2)thisXDocument.QueryAdapter).Query();
thisXDocument.View.SwitchView("DataView");

if i run the "standard" query throuth the option of infopath and display the
querystring of the main queryadapter there are no changes on the querystring,
but the result of the formular changes.

i hope i was able to explain you my problem.

any idea?

thank you.

Andrej
 

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