Jump to content
Server Maintenance This Week. ×

Custom Menu to create new invoice


projay

This topic is 4980 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Need to create a custom menu script. So I don't accidentially create a new invoice.

For example if I want to create a new invoice i would like a box to come up and say something like:

"create new invoice"

[Yes] [No]

if I click yes then creates a new record, if I choose no than it ends the script. Seems pretty simple just need a little help, Thanks everyone, Jay.

Link to comment
Share on other sites

You need to attach a script to the 'New Record' menu item on the 'Records' menu.

Then you will need to enable your custom menu. One way you can do this is to make it the default for the file. You will see this option in the bottom of the 'Define Custom Menus' window.

You will need FileMaker Advanced for this. Search the help file if you are still having trouble.

Link to comment
Share on other sites

The script would look like

Show Custom Dialog [ Title: "New Record"; Message: "Create A new Record"; Buttons: “Yes”, “No” ]

If [ Get ( LastMessageChoice ) =1 ]

New Record/Request

End If

HTH

Lee

Link to comment
Share on other sites

This topic is 4980 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.