Add Row to Repeating Table with values - InfoPath Dev
in

InfoPath Dev

Add Row to Repeating Table with values

Last post 04-16-2009 08:31 AM by doctorcpu. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-16-2009 08:31 AM

    Add Row to Repeating Table with values

    I'm collecting the amount of free space for each drive in my servers.  How can I modify this code bit so that it will append the repeating table with the value of each drive returned by the IF THEN STATEMENT?

     

    Also is ther a way to format the value like in VB so that instead of C:\229302 it would show C:\229,302?

     

    Dim Drv As DriveInfo

    Dim oDrvs() As DriveInfo = DriveInfo.GetDrives

    For Each Drv In oDrvs

    If Drv.IsReady Then

    SetFieldValue(Drv.Name & " " & Drv.AvailableFreeSpace.ToString, "/my:myFields/my:group4/my:group5/my:field59")

    End If

    Next

    Thanks

     

     

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.