albim72 / VISUAL_BASIC_10

1 stars 1 forks source link

Telerik Info from Parameter to log file #1

Open DariuszKochanowski opened 1 year ago

DariuszKochanowski commented 1 year ago
Private Sub OidL462Button_Click(sender As Object, e As EventArgs) Handles OidL462Button.Click
    Dim OIDUri As New Telerik.Reporting.UriReportSource
    OIDUri.Uri = TemplatFolder & "\L462_OID.trdx"
    'dodanie parametru
    'OIDUri.Parameters.Add(New Telerik.Reporting.Parameter("PRORDR", "706877123"))
    Me.rpvReport.ReportSource = OIDUri
    Me.rpvReport.RefreshReport()

    'Writing logs info
    myStreamWriter = New StreamWriter(LogFolder & "\Logs.txt", True)
    myStreamWriter.WriteLine("Date/Time: " & DateTime.Now.ToString() & ";" & " - OPEN TEMPLATE: L462_CABIN_OID -" & ";" & Environment.UserName)
    myStreamWriter.Close()

End Sub
DariuszKochanowski commented 1 year ago

parametr