Keeping form open after clicking Send

L

Lucien Levreault

Hello,

I would like to keep my custom published form open for further editing after
clicking the Send button. I have used the following code but it doesn't seem
to work:

Function Item_Close()

Msg = " Would you like to keep this form open for further updates? "
Response = MsgBox(Msg, vbYesNo+vbInformation, "Question")

If Response=vbYes then
Item_Close = False
Exit function
End if

Item_Close = True

End Function

This code works when I press ESC or try to close the form but not when I
click on Send. Any help would be appreciated.
 
H

Hollis Paul

I would like to keep my custom published form open for further editing after
clicking the Send button. I have used the following code but it doesn't seem
to work:
Do you really want it edit the message you just sent, or would you be happy
working on a new copy of the custom form. If the latter, then you probably
want to do an Items.add("custom_form_name") from the write_event (not sure if
this gets hit twice after send), which will create the new item to work on.

If the former, then you would want to make a copy in the write event. Not sure
what the method might be.
 

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