473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

display 2 weeks date in combo box

2
urgent!!!!

i want to knwo how can i display 2 weeks date in combo box ?

e.g today is 6/22, then in combo box, there should have date from 18/6 - 2/7 for user to select.

how can i do it? one idea is set the row source, but how can i combine different date together?

hope all those can help me!!!! :)

waiting for reply
Jun 22 '06 #1
2 1615
CaptainD
135 100+
First, what database / program are you using. MS Access or ??

Second, what does "18/6 - 2/7" have to do with "6/22"?
6/22 is June 22nd, 2/7 might be Feb 7th but no where close to June 22nd and 18/6, who knows

e.g today is 6/22, then in combo box, there should have date from 18/6 - 2/7 for user to select.
In Access, comboboxes have "Additem" to insert values

cboMyCombo.Additem "First Item"

In your case, you can use "Dateadd" to add two weeks to a date to build a range.
Jun 22 '06 #2
elif
2
i am sorry that i didnt' explain my problem clearly but thanks for
your suggestion

i have already fix the problem.
Jun 23 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: MJ | last post by:
Hi, I'm hoping this is relatively easy. I have a report based on a query - when you run the report, a form opens up and you are prompted for a date range. These are combo boxes (ie. January...
1
by: MJ | last post by:
I'm not following... where do I put that? I put a textbox on my report and put the following property for it: =!!.Value This displays 1 (for January 2003). How do I get it to display...
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
2
by: David | last post by:
Hi, I have an order processing system in which I have an OrderDate and a Completion Date I want to print the difference in Weeks and Days between the two dates, i.e. if the completion date is...
7
by: mpmason14 | last post by:
i am trying to get a report to show the dates for a specified starting date entered on a form (the report is based on the form). the report is a timesheet/payroll setup that goes for two weeks. ...
0
by: keithsimpson3973 | last post by:
Does anyone know if it is possible to display the value of a date picker control on a vb6 form that the user selected on an access report? I am using vb6 to display a report selection and it has a...
1
by: pdesh3 | last post by:
Hi, I have a form in which 3 fileds are displayed on the top banner. They are DATE, NAME, LOCATION. 1. I want to make DATE filed dynamic where it whould read system date and display on...
0
by: keithsimpson3973 | last post by:
Does anyone know if it is possible to display the value of a date picker control on a vb6 form that the user selected on an access report? I am using vb6 to display a report selection and it has a...
14
by: Tommy Jakobsen | last post by:
Hi. Is there a method in .NET that takes "year" as an argument and returns the total number of weeks in that year? For culture da-DK (Danish). Thanks in advance. Tommy.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.