Forum Discussion

Tony2021's avatar
Tony2021
Iron Contributor
Sep 03, 2022
Solved

Modern Chart - adding Dynamic Chart Subtitle?

Hello Experts,    I have done some research on this topic and I have not been able to find a way to  add a dynamic chart title.  I have to manually copy and paste my text to the chart's subtitle fi...
  • isladogs's avatar
    isladogs
    Sep 03, 2022
    Yes - use DLookup
    Me.Chart0.ChartSubtitle = DLookup("FieldName", "Table/QueryName", "FilterCriteria")

    e.g.
    Me.Chart0.ChartSubtitle = DLookup("MyDateTime2", "t_Graphdata", "MyDataID = 4456")

Resources