Mitarbeiter, Formular "Einfuhrverbot".

This commit is contained in:
2024-03-18 07:53:11 +01:00
parent d4125d6529
commit 906449aa32
9 changed files with 543 additions and 44 deletions

View File

@@ -306,8 +306,8 @@ Public Class cMitarbeiter
'End Sub
Public Function LOAD(ByVal id As Integer) As Boolean
Dim sqlstr As String = "SELECT * FROM tblMitarbeiter WHERE mit_id = " & id & ""
Public Function LOAD(ByVal id As Integer, Optional isTimas As Boolean = False) As Boolean
Dim sqlstr As String = "SELECT * FROM tblMitarbeiter WHERE " & IIf(isTimas, "mit_timasId = " & id & "", "mit_id = " & id & "")
' adasdas()
' Dim d As VERAG_PROG_ALLGEMEIN.cMitarbeiter = Nothing
Try

View File

@@ -1,11 +1,9 @@
Public Class frmVorlagenUpload
Private Sub btnUpload_Click(sender As Object, e As EventArgs) Handles btnUpload.Click
Try
Dim cDATENSERVER As New VERAG_PROG_ALLGEMEIN.cDATENSERVER(tzxtKategorie.Text, txtOrdner.Text, txtUnterordner1._value, txtUnterordner2._value, "", txtName.Text)
cDATENSERVER.da_vorlage = True
If cDATENSERVER.uploadDataToDATENSERVERFileDialog() <> "" Then Me.Close()
Catch ex As Exception
MsgBox(ex.Message)