1234567891011'콤보박스에 해당하는 값 받아오기/ 해당콤보박스, 원하는 Sub FindComboIndex(ComboName As ComboBox, Value As String) For i = 0 To ComboName.ListCount - 1 Step 1 If Value = ComboName.List(i) Then ComboName.ListIndex = i Exit Sub End If Next End SubColored by Color Scriptercs
1234567 SELECT *FROM INSAMSTwhere (@gubun = 'Y' AND (ToiDate != '____/__/__' and ToiDate = @ToiDate OR ToiDate = '____/__/__')) Colored by Color Scriptercs 1234567891011121314and ( (@GuBun = 'Y' AND (Insa.ToiDate >= @ToiDate or Insa.ToiDate = '____/__/__')) or (@GuBun = 'N' and Insa.ToiDate != '____/__/__' and Insa.ToiDate