× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Default value for a multivalue field

  • alexp2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #22327 by alexp2005
Default value for a multivalue field was created by alexp2005
I have a requirement to automatically populate a multivalue field with a default value in a version. It must be automatically populated when user expand the multivalue field.
Is there a way to do this?
I initially tried using the AUT NEW CONTENT, but it just populate the default value in the first multi-value, but doesn't dsplay when I expand the multi-value field. Definition in the version is the following:

Autom Field No.1 --> IN.FREQ-1
Aut New Content.1 --> Monthly

Thanks in advance

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 10 months ago #22328 by VK
Replied by VK on topic Default value for a multivalue field
Hi
you can try the VALIDATION.RTN but I afraid it only triggers when user inputs something, not right after field expansion.

Cheers
VK

Please Log in or Create an account to join the conversation.

  • alexp2005
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 10 months ago #22329 by alexp2005
Replied by alexp2005 on topic Default value for a multivalue field
Hi VK, thanks for your help. Unfortunatelly it didn’t work.
Default value is still not populated after expanding the multivalue field.

Any other idea?

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 10 months ago #22331 by VK
Replied by VK on topic Default value for a multivalue field
Hi
I afraid there's no such functionality in T24 - at least to my knowledge.

Maybe some javascript tricks but I never tried that.

Cheers
VK

Please Log in or Create an account to join the conversation.

Time to create page: 0.033 seconds