logo

New Response

« Return to the main article

You are replying to:

  1. Nice simple solution using the Notes formula language....but I see a few potential problems.

    Take the following Domino URL for example:

    http://pppp/ffff.nsf/eeee?OpenForm&NewSeq=No&SEQ=3#4.

    Your code will pick up "No&SEQ=3#4." as the sequence number value. The actual value is "3".

    1. You should explicitly check for "&Seq=" by including the "&". You may pick up the wrong parameter, such as "&NewSeq=No", if you just check for "Seq=". Remember the Domino developer can add parameters to the URL for passing information between pages.

    2. Your code is missing a check for information added after the "&SEQ=" parameter in the URL.

    The code must check for a "&" or a "#" after the "&SEQ=" parameter to be sure only the sequence number value is parsed out of the URL.

    For example, Domino will add "#4." when you are using tabbed tables for the form, where "4." is the currently displayed table tab name.

    Note: In my code example, "4." was an internal name assigned by Domino. I did not explicitly name my table tabs in HTML in this particular example.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: