![]() |
FlowFact - Entwicklungstools |
![]() |
Function | AKTART_FindDSN(ByVal strWhere As String, Optional ByVal strOderBy As String = "") As String |
strWhere: Der WHERE-Teil einer SELECT-Abfrage strOderBy: Der ORDER BY-Teil einer SELECT-Abfrage Rückgabewert: Datensatznummer (DSN) oder 'LEER' Public Function AKTART_FindDSN(ByVal strWhere As String, Optional ByVal strOderBy As String = "") As String Dim rs As ADODB.Recordset Set rs = m_oBase.Sql_Find("Aktivitätenarten", strWhere, strOderBy) If rs.EOF = False Then AKTART_FindDSN = rs("DSN") Else AKTART_FindDSN = "" End If End Function |