Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2006

Tip: Looking for answers? Try searching our database.

Codes and...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Melissa101 - 17 Feb 2006 00:46 GMT
Is there a place I can go to read some common codes which I can just replace
with my data ?

I want a submit button that will just close the form.

I also want a button that will allow the user to click "Next Record" or
"Previous Record" to view other records that have been entered and previously
submitted.

Can anyone help?

Also...one more thing. I have used the Submit button so when the user clicks
on it the information is sent to the database and upon that a new blank form
is created so they can enter new data.....but after they click the submit
button, before the form appears, the task pane on the right flashes and I
don't know how to stop it from happening....can you help?
Adam Harding - 17 Feb 2006 11:55 GMT
Hello yet again

just set a rule on the button where the last action is to close the form
without offering to save.

That will do it

To get next or previous record set each form with a unique numbered ID (URN)

Get your next button to be a rule that sets the queryfield for the URN to be
1 + the current datafield URN and the previous button will set the queryfield
for the URN to the value of the datafield URN - 1

The next action in both these cases is to query the datasource and job done.

Instead of opening up a new form can't the new record button just clear the
data from the current form and change the action of the submit button.

That would prevent the task pane coming up and is the way i have done it a
few times.

Cheers again Adam

> Is there a place I can go to read some common codes which I can just replace
> with my data ?
[quoted text clipped - 12 lines]
> button, before the form appears, the task pane on the right flashes and I
> don't know how to stop it from happening....can you help?
Melissa101 - 17 Feb 2006 14:16 GMT
Adam,
I really appreciate you getting back to me. Thank you-

> Hello yet again
>
[quoted text clipped - 35 lines]
> > button, before the form appears, the task pane on the right flashes and I
> > don't know how to stop it from happening....can you help?
Adam Harding - 17 Feb 2006 15:26 GMT
No probs, hope my other hints helped as well.

> Adam,
> I really appreciate you getting back to me. Thank you-
[quoted text clipped - 38 lines]
> > > button, before the form appears, the task pane on the right flashes and I
> > > don't know how to stop it from happening....can you help?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.