| | |
date problem
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2005
Posts: 514
Reputation:
Solved Threads: 19
Just setup an input mask or set the field type to a DATE field.
If you mean three sep boxes then thats even easier just say:
Day number must be greater then 0 but less then or = 31 but account for months with 30 days and 28 days etc.
Month > 0 <= 12
Year >= 2005 ??
Not sure what your trying to do exactly.. but its easy to link this up..
You could evn use the CALENDAR option.. popup a calendar let them select a date and populate fields..
or you can fgo the route of... CHOOSE A MONTH
Base don month you get days.... then CHOOSE a Year...
etc etc
If you mean three sep boxes then thats even easier just say:
Day number must be greater then 0 but less then or = 31 but account for months with 30 days and 28 days etc.
Month > 0 <= 12
Year >= 2005 ??
Not sure what your trying to do exactly.. but its easy to link this up..
You could evn use the CALENDAR option.. popup a calendar let them select a date and populate fields..
or you can fgo the route of... CHOOSE A MONTH
Base don month you get days.... then CHOOSE a Year...
etc etc
the dtpicker seems to work best for most of my applications.
.: We may acquire liberty, but it is never recovered if it is lost :.
irc://irc.rizon.net/#itf
irc://irc.rizon.net/#itf
•
•
•
•
Originally Posted by jwshepherd
the dtpicker seems to work best for most of my applications.
Mark Nemtsas
Time and Billing Software - Time Tracking Software - Roller Shutters - Roller Blinds -
Baby Books
Time and Billing Software - Time Tracking Software - Roller Shutters - Roller Blinds -
Baby Books
•
•
Join Date: Jan 2008
Posts: 3
Reputation:
Solved Threads: 0
Can some one help me with the following. Any help will be appriciated.
Platfprm : Visual Studio 2005, Visual Basic
Situation : I have datepicker created in JAVA and call in Visual Basic .net program.
User Pick date and populate to text box.
And click save to SQL 2005 database as date fileld.
My problem is that how to convert date picker date(which is in text box) and save to database
Pls. give me code sample.
NK
Platfprm : Visual Studio 2005, Visual Basic
Situation : I have datepicker created in JAVA and call in Visual Basic .net program.
User Pick date and populate to text box.
And click save to SQL 2005 database as date fileld.
My problem is that how to convert date picker date(which is in text box) and save to database
Pls. give me code sample.
NK
![]() |
Similar Threads
- SAS/Oracle Date Problem (Computer Science)
- Date Problem (MS SQL)
- SQL date problem (MS SQL)
- Small date problem (ASP)
- Dreamweaver MX2004 & date problem, etc. (Graphics and Multimedia)
- Date Problem (JSP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Write concurrently to log file
- Next Thread: Edit records
Views: 3677 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






