Skip to main content

Search

Search

Label w/ Drop Down List VBScript Source - Named Data Source Issue

Comments

3 comments

  • Avatar
    Peter Thane

    It sounds like you are processing the VB at the wrong time and so you may need to make these fields Event Controlled VB script routine and perhaps using OnNewRecord for when the script is running

    0
  • Avatar
    Kyle Kennedy

    Hi Pete - thanks for the feedback.  

    Do I have any control over when the OnFillList control event occurs?  I was under the assumption that the Event would run sometime after the initial database SELECT based on the Query Prompt that loaded the Named Data Sources and Form fields that had a Database Field type.  

    I'm not completely sure I understand how to use the OnNewRecord (document level?) to help manage the timing of this OnFillList event.  Can you share more on the strategy here?  Can I generate a global variable or something to later reference in the OnFillList event?

    I probably should have noted that these Label(s) were behaving as expected for years and just recently fell apart on this Dropdown List OnFillList event.  I can't attribute any particular thing that made them stop working.

    0
  • Avatar
    Peter Thane

    Sorry not sure I no longer have access to v2016 so I dont know if anything has changed with this

    0

Please sign in to leave a comment.