Announcement

Collapse
No announcement yet.

How insert number of line into a field as default

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How insert number of line into a field as default

    Hi all,

    I have a form and I would like to insert by default the line number (calculated by SC) into a field of form.
    Do you how to do it ?
    Thanks

  • #2
    In the onload you can assign calculated values to your form fields. In the onload you get something like:

    {mylinenumer}= ... some calculation ...
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hi Aducom,
      thanks,
      do you know if is there a SC system variable to use instead of insert a calculation ?
      Is it something like sc_ .... ?

      Comment


      • #4
        Originally posted by giovannino View Post
        Hi Aducom,
        thanks,
        do you know if is there a SC system variable to use instead of insert a calculation ?
        Is it something like sc_ .... ?
        You could use autonumbering. It's on the field edit tab. But the number is generated when you store the data so it's not possible to show that on your screen. (Wouldn't be wise anyway 'cause if you have more users wanting the same thing..)
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment

        Working...
        X