# Defining a User Menu

Select 6 Define User Menus.

Choose [NEW]:

Enter the name "video".

Enter the following data:

Press ESC to save this screen.

The following blank menu will appear:

This menu will allow you to run various items in the tutorial. We will update it periodically.

On filePro menus, filePro can call its own programs with a shortened PATH. Do this by placing /fp/ in front of the filePro program you want to run, i.e., /fp/dclerk or /fp/dreport. After this put the rest of the action line that you want to execute should this choice on the menu be selected.

For choice 1, we will run IUA (dclerk) on the file "vidcust" using screen 0 (-s0) and when the action runs we want to display a heading of "Customer File" (-h "Customer File"). When the user chooses 1, this is exactly what will be run just as if they had typed it at the command line.

For choice 2, we will run Request Output (dreport) on the file "vidcust" using the output format "baldue" (-f baldue), against the records in selection set "baldue" (-s baldue), using the Unlock option (-u). Unlock is applicable on multi-user systems only (Unix & Network versions). It tells filePro to run this report even if there are other people using this filePro file. In other words, people can be using IUA on this file and the report will still run. If on the other hand, the -u is neglected, the report can only run when no one else is accessing this file. IMPORTANT: The -u option does not bypass "record locking". If someone is in Update Mode on any of the records selected for this report, or has one of these records locked with another process of any kind, our report will stop and wait for the record to be unlocked when it hits that record.

Enter the following data:

Press ESC to save this screen.

You will see a "Change Menu Password" prompt. Enter N. Do not do this at this time.

You will see a "Hardcopy Menu" prompt. This is your choice. Enter a Y or N, as you like.