Skip navigation

Account settings

Topic

Indirektion in VBA etc.

Home page Community Automation and VBA Indirection in VBA etc.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34791
    Stefan Palaveev
    Participant

    Hallo,

    ich habe eine an sich einfache Frage, bei der ich nicht weiterkomme:

    wie kann ich das Verzeichnis Namens “Auswertung.FLD” nicht im RootFolder, sondern in einem bestehenden Verzeichnis Namens ‘091112’ erstellen?

    so geht es jedenfalls nicht 🙂
    [code]
    Dim oFolder As Folder
    Set oFolder = oDB.RootFolder.Object(“91112Auswertung.fld”, fpObjectTypeFolder)
    [/code]

    Vielen Dank für die Unterstützung

    #34793
    Stefan Palaveev
    Participant

    Hallo,

    ich habe eine an sich einfache Frage, bei der ich nicht weiterkomme:

    wie kann ich das Verzeichnis Namens “Auswertung.FLD” nicht im RootFolder, sondern in einem bestehenden Verzeichnis Namens ‘091112’ erstellen?

    so geht es jedenfalls nicht 🙂
    [code]
    Dim oFolder As Folder
    Set oFolder = oDB.RootFolder.Object(“91112Auswertung.fld”, fpObjectTypeFolder)
    [/code]

    Vielen Dank für die Unterstützung

    #34792
    Bernhard Kantz
    Participant

    Access the folder ‘09112’ and create a new folder with the [b]Add[/b] command.

    Example:
    [code]

    Dim oFolder As Folder
    Dim oSubFolder As Folder
    Set oFolder = oDB.RootFolder.Object(“091112”, fpObjectTypeFolder)
    Set oSubFolder = oFolder.Add(“Auswertung”, fpObjectTypeFolder)
    [/code]

    support@weisang.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.