Codes and...

M

Melissa101

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?
 
A

Adam Harding

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
 

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