Graphics

 View Only
  • 1.  Auto Follow DataLinq tabs

    Posted 11-10-2017 12:09

    Is there a way to have DataLinq tabs populate from just typing in a stock market symbol? In my example, I want producers to be able to type in a certain stock symbol (XYZ in the screen grab) and have the following tabs populate with corresponding values from our RSS DataLinq file.



  • 2.  RE: Auto Follow DataLinq tabs

    Posted 11-10-2017 21:16
    Just to understand correctly, you want only XYZ to populate Last, % Change and Net Change? And ABC might populate 3 separate categories?

    Just seeing these are set up as tabs, I would set them up as their own text field so you can better customize the field.
    #XPression


  • 3.  RE: Auto Follow DataLinq tabs

    Posted 11-11-2017 16:35
    That is correct. I want each stock to populate its own fields using datalinq. I do have each one set with different text fields, I was just using this as an example. Any thoughts?
    #XPression


  • 4.  RE: Auto Follow DataLinq tabs

    Posted 11-13-2017 21:48

    Hmmm I don't know how the XML is set up, but you might be able to adapt this excel example.

    If you are able to cutstomize the xml, you could easily adapt the excel example.

    Sorry If this isn't much help


    #XPression


  • 5.  RE: Auto Follow DataLinq tabs

    Posted 11-14-2017 21:31
    I started poking around a little more. I don't have an actively updating XML file, so I don't know if this will work exactly, especially since it involves a ticker. I also don't know if this can be brought to scale. If you only have like 10 symbols that need different categories, this might work fine. If it's like 100, it might not work as easily.

    dim testtext as xpTextObject
    dim title as xpTextObject
    dim desc as xpTextObject

    self.GetObjectByName("Title Alpha", testtext)
    \\hidden text field for all possible categories, so one for % change, one for start, one for last and so on. You should have a bunch of these text objects.
    self.GetObjectByName("Title", title)
    \\this would be your ticker symbol
    self.GetObjectByName("Description", desc)
    \\this would be one of your three actual categories

    if title.text = "XYZ" then
    testtext.Text = desc.Text
    end if

    if title.text = "ABC" then
    testtext.Text = desc.Text
    end if




    Maybe this helps you or someone else get a bit closer to an actual solve.

    #XPression