Forum FlexPro – Discuss your topic!

Using a string to access dataset

Home > Community > FPScript > Using a string to access dataset

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12827
    Michael KaufmannMichael Kaufmann
    Teilnehmer

    Hello,

    is it possible to use a string which I get when using e.g. “ThisFPObject.ParentFolder.BlendedInSubfolder.Name” to point to a dataset?

    Example:

    Dim Test

    Test = ThisFPObject.ParentFolder.BlendedInSubfolder.Name : “\\” : “XX\\yy”[0]

    should work like

    Test = ‘ZZ\XX\yy'[0]

    Thanks for helping.

    #8484
    Michael KaufmannMichael Kaufmann
    Teilnehmer

    Hello,

    is it possible to use a string which I get when using e.g. “ThisFPObject.ParentFolder.BlendedInSubfolder.Name” to point to a dataset?

    Example:

    Dim Test

    Test = ThisFPObject.ParentFolder.BlendedInSubfolder.Name : “\\” : “XX\\yy”[0]

    should work like

    Test = ‘ZZ\XX\yy'[0]

    Thanks for helping.

    #9298
    Bernhard KantzBernhard Kantz
    Teilnehmer

    In this case you can use the Indirection Operator $$.

    Example:

    
    ...
    $Test$
    ...
    

    support@weisang.com

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.