new record

J

JB

I have posted before but no luck on getting a response so trying again.
I am using the following VB script on a button and it works but it doesn't
clear the screen for a new record afterwards. Here is the code I am using

XDocument.PrintOut();
XDocument.Submit();

This prints the document and then submits it to the database but the record
is still there. I have to go behind the customer and click on new record for
it to happen. How can I get it to open a new record like the regular buttons
will?

Thanks for your time.
 

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

Similar Threads


Top