• Unknown Function Message? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Unknown Function Message? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    Author
    Topic
    #439553

    I have a table with a field called strProfileCode, Text, Field Size 3 with Default Value =Left(Command(),3), this works OK when a new record is created

    Is there a way to set the above strProfileCode Default Value =GetProfileCode()

    I

    Viewing 0 reply threads
    Author
    Replies
    • #1050667

      The Access help for Validation Rule explicitly states that you cannot use user-defined functions in the Validation Rule of fields in a table and of the table as a whole.
      You can, however use them in the Validation Rule of controls on a form. Since end-users should never enter data directly in a table anyway, that shouldn’t be a serious limitation.

    Viewing 0 reply threads
    Reply To: Unknown Function Message? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: