Click here to Skip to main content
15,890,579 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Filter between two dates Pin
Lek Plepi20-Sep-11 4:12
Lek Plepi20-Sep-11 4:12 
AnswerRe: Filter between two dates Pin
Eddy Vluggen20-Sep-11 6:28
professionalEddy Vluggen20-Sep-11 6:28 
GeneralRe: Filter between two dates Pin
Lek Plepi20-Sep-11 20:58
Lek Plepi20-Sep-11 20:58 
AnswerRe: Filter between two dates Pin
Luc Pattyn20-Sep-11 4:57
sitebuilderLuc Pattyn20-Sep-11 4:57 
GeneralRe: Filter between two dates Pin
DaveAuld20-Sep-11 5:16
professionalDaveAuld20-Sep-11 5:16 
GeneralRe: Filter between two dates Pin
Lek Plepi20-Sep-11 21:03
Lek Plepi20-Sep-11 21:03 
GeneralRe: Filter between two dates Pin
DaveAuld20-Sep-11 21:23
professionalDaveAuld20-Sep-11 21:23 
GeneralRe: Filter between two dates Pin
Lek Plepi21-Sep-11 0:06
Lek Plepi21-Sep-11 0:06 
I found this code searching in the net.but even this can't work.i have inserted this code under
txtData1_Click
<pre lang="vb">
Set ac = New ADODB.Connection
Set ar = New ADODB.Recordset
Call DB
ac.Open strConek
With ar
criteria = "Select *From saledetails Where ((Data >= '" & txtData1.Value & "') And (Data <= '" & txtData2.Value & "' ))"
.Open criteria, strConek, adOpenStatic, adLockOptimistic
If .RecordCount > 1 Then
GeneralRe: Filter between two dates Pin
DaveAuld21-Sep-11 0:27
professionalDaveAuld21-Sep-11 0:27 
GeneralRe: Filter between two dates Pin
Lek Plepi21-Sep-11 0:30
Lek Plepi21-Sep-11 0:30 
GeneralRe: Filter between two dates Pin
DaveAuld21-Sep-11 0:37
professionalDaveAuld21-Sep-11 0:37 
GeneralRe: Filter between two dates Pin
Lek Plepi21-Sep-11 0:38
Lek Plepi21-Sep-11 0:38 
GeneralRe: Filter between two dates Pin
DaveAuld21-Sep-11 0:42
professionalDaveAuld21-Sep-11 0:42 
QuestionWhich event to connect to? Pin
Sonhospa19-Sep-11 21:21
Sonhospa19-Sep-11 21:21 
AnswerRe: Which event to connect to? Pin
DaveAuld20-Sep-11 0:00
professionalDaveAuld20-Sep-11 0:00 
GeneralRe: Which event to connect to? Pin
Sonhospa21-Sep-11 0:52
Sonhospa21-Sep-11 0:52 
AnswerRe: Which event to connect to? Pin
tosch20-Sep-11 4:35
tosch20-Sep-11 4:35 
GeneralRe: Which event to connect to? Pin
Sonhospa21-Sep-11 0:44
Sonhospa21-Sep-11 0:44 
QuestionVb6 website blocker Pin
Felicia Hadinata19-Sep-11 14:42
Felicia Hadinata19-Sep-11 14:42 
AnswerRe: Vb6 website blocker Pin
_Damian S_19-Sep-11 14:52
professional_Damian S_19-Sep-11 14:52 
GeneralRe: Vb6 website blocker Pin
Luc Pattyn19-Sep-11 14:57
sitebuilderLuc Pattyn19-Sep-11 14:57 
GeneralRe: Vb6 website blocker Pin
Felicia Hadinata19-Sep-11 14:58
Felicia Hadinata19-Sep-11 14:58 
AnswerRe: Vb6 website blocker Pin
Luc Pattyn19-Sep-11 15:07
sitebuilderLuc Pattyn19-Sep-11 15:07 
QuestionVB.NET 2008 The type initializer for ... threw an exception Pin
QuickBooksDev19-Sep-11 10:29
QuickBooksDev19-Sep-11 10:29 
AnswerRe: VB.NET 2008 The type initializer for ... threw an exception Pin
Eddy Vluggen19-Sep-11 12:12
professionalEddy Vluggen19-Sep-11 12:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.