form submit error... pl help

E

eswar

i have created a form. this is connected to SQL database table using a
datasource. this is my first form using a datasource. when i submit the form
with some data i get the following error.
" infopath cannot submit the form.
The form does not contain any new data to submit to datasource"

what could be the reason?
thnx and reg
eswar
 
E

em

hi,
did you first query the data from the database ? In this case the message
says, that you made no changes to the queried data (i.e. the IsDirty property
of the XDocument = false). Therefore there is no reason to submit the data
back to the database. Or do you want to create a new record ? There sould be
a button "New Record" by default in this case.
regards
em
 
E

eswar

hi,
submit i mean submitting new record. no button works, may it be new record
or submit. the method i did was quite simple. designed a form using a
datasource. when i try to fill it out and submit it, it gives that error.
same thing works in other computers. think that, there could be some problem
with my infopath software, i reinstalled it. no use, same error. i am unable
to figure it out. please help me out
regards
eswar
 
E

em

hi,
this sounds very strange ...
Just be sure to use the "dataFields" for data input, not the "queryFields"
(which are for selection only). If you just fill in the "queryFields" and try
to submit the data, you get exactly the message you mentioned.
good luck!
em
 
E

eswar

hi,
its strange for mee too. one more observatoin is that, after i open a form
in design view( new from data connection), i am just being shown a new
record button and a run query button. i don't have any sections for data
fiels and query fields. i have checked the button which hides and displays
these section. but no use. pl see wheather this input solve my problem.

thnx & reg
eswar
 

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