Sumbit / Refresh

N

NAVIN.D

I am submitting the form filled in details to databse and its done perfectly,
But the issue is that i have an repeating table below it.

Which show the submitted data , but i have to include a seprate refresh
button for populating the latest data.

Cant we have submit and refresh functionality on the same button thats if i
submit new data it should refelct to the repeating table without using other
button such as refresh.

Regards,
Navin.D
 
B

Ben Walters

Hey Navin
It sounds like you have the submit functionlaity hooked up to a submit
button in the Infopath designer.
Your best bet here is to add a standard button then add code behind that
button to do the submit and then retrieve the updated list for your
repeating section


Hope this helps
cheers
Ben
 
G

Guddu

NAVIN.D said:
I am submitting the form filled in details to databse and its done perfectly,
But the issue is that i have an repeating table below it.

Which show the submitted data , but i have to include a seprate refresh
button for populating the latest data.

Cant we have submit and refresh functionality on the same button thats if i
submit new data it should refelct to the repeating table without using other
button such as refresh.

Regards,
Navin.D

Hi Navin,
If I am not wrong I think you want Submit and refresh both
functionality on the same button.Then try this out add this line of
code in code behind for Submit button as follows:
XDocument:DataObjects("NameOfDataSource").Query();
It is Basically for the Requering the Database...

Hope this will Help
Cheers
Shilpa
 

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