how to bind collected Data in calendar control in vb 6

Add a textbox to your form -

Text1.Text = dtpPicker1.Value

'Do your normal data connection code

'Your sqlStatement will look something like this...

"SELECT * FROM YourTableName WHERE YourFieldName >= DateValue(" & "'" Text1.Text & "')",con, AdLockOptimistic 'etc ...
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.