Forum FlexPro – Discuss your topic!

Using a string to access dataset

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • 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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.