473,652 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

display 2 weeks date in combo box

2 New Member
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 1623
CaptainD
135 New Member
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.Addi tem "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 New Member
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
4882
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 2003, February 2003, etc). The combo boxes display the date field but the field that is actually sent back to the query is the corresponding identifier (ie. 1 for January 2003, 2 for February 2003) etc.
1
1926
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 January 2003 instead of 1? Thanks!
1
2612
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. Included in the application program is a data “GRID” which I believe was created using Visual Basic, not standard Access. Its purpose is to display the results of a range of “from-to-dates” of registrations for different clients. The difficulty...
2
4897
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 3 weeks and 2 days after the order date, I want to print : 3 Weeks and 2 Days, on the page. Is this possible ?
7
3368
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. for example, the user enters the starting date as 07/03/2006 and i want the report to display each day for the following two weeks (Mon-Sun). any ideas? if you need clarification i will provide as necessary. thanks in advance
0
2228
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 date picker combo for the start date and another for the stop date. I would like to display those 2 dates on the header of the access report to show the date ranges that were selected.... Thank you all in advance
1
1719
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 it when ever I open that Form. I don't know what control to take for this whether LABEL or TEXTBOX.
0
1721
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 date picker combo for the start date and another for the stop date. I would like to display those 2 dates on the header of the access report I am opening from Visual Basic 6. Thanks for any help anyone can give....
14
19055
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.
1
8467
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8589
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4145
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2703
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.