Option Compare Database
Option Explicit
Dim rst5 As New ADODB.Recordset
Dim lstSource As String
(2)
Private Sub FillOptions()
' Fill in the options for this switchboard page.
' The number of buttons on the form.
Dim dbs As Database
Dim rst As DAO.Recordset
Dim strsql As String
Dim intOption As Integer作者: qlm 时间: 2007-2-7 02:48
If lstPrint.ListCount > 0 Then
For temp = 0 To (lstPrint.ListCount - 1)
result = result & " (员工流动.姓名 = '" & lstPrint.ItemData(temp) & "') OR"
Next temp