Altering Insert Behavior

KeithMMoore
KeithMMoore Member Posts: 59
Is there a way to stipulate, when one is on a certain form, that pressing F3 either 1) does not insert a new record and/or 2) opens a wizard [or calls some other process] that would insure that all required fields are completed before allowing the insert to take place? If not, I suppose that you could put something in the OnValidate of the key field that provided for opening the wizard?

Answers

  • Savatage
    Savatage Member Posts: 7,142
    not sure what you're trying to do - but you could add code to check the fields if the are empty or not for the ones you need to have mandatory.

    You can also search for "mandatory fields" for many posts.
    If the values of these fields are always the same - you can think about setting default values to them.
  • KeithMMoore
    KeithMMoore Member Posts: 59
    Thanks - I have reviewed a lot of the posts concerning mandatory fields but Nav does not seem to make it real easy to accomplish that so I was looking for a way to not have to alter the base form much and to use a wizard instead.
  • MBerger
    MBerger Member Posts: 413
    You can override the standard F3 just by added a menubutton with an entry that has F3 as a shortcut.
  • KeithMMoore
    KeithMMoore Member Posts: 59
    Thanks - now why didn't I think of that :)