473,405 Members | 2,210 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,405 software developers and data experts.

Select week-ending date

I need to be able to have my application select the current week-ending date from a listbox.
I have seen some things on the net but nothing that really helps.

If anyone can provide help, that would be awesome.

p.s. - the dates are prefilled in the listbox in mm/dd/yyyy format.
Feb 14 '08 #1
2 1153
kadghar
1,295 Expert 1GB
I need to be able to have my application select the current week-ending date from a listbox.
I have seen some things on the net but nothing that really helps.

If anyone can provide help, that would be awesome.

p.s. - the dates are prefilled in the listbox in mm/dd/yyyy format.

I dont understand very well what you need, but it seems that the function WEEKDAY might be of help.
Feb 14 '08 #2
I believe what he is looking for is a code that will allow the identification of the last day of the week.

So, if today is wednesday, you want to know what the date will be on Friday. I am currently looking for something that will allow me to take current and next week dates and create a report.

Anyone have an idea of a fast way this can be done? I know I can do it with a number of Case lines but I don't think all that code is necessary.
Mar 26 '08 #3

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

Similar topics

0
by: Will Potter | last post by:
I just inherited support of this app so bear with me. The scenario: Oracle 9i replicated databases, same C++ server process runs on both boxes. On a 15 minute schedule, the server that is primary...
1
by: Trevor Smith | last post by:
I have a table of daily information (tips, # of deliveries, etc.). Does anyone know of an easy way using SQL to extract all weekly sums of a field? Like: week 1: sum of tips for that week...
0
by: Rob Knowles | last post by:
I have created a script that runs once a week and copies data from one table (phpbb_users is the actual table name) in a database called users I have a table called users. There are two tables...
1
by: J. Muenchbourg | last post by:
I have 3 select pulldown boxes where a user will select a year (either 2002 or 2001), a week (one thru 52), and a database (short data or long data). But if a user selects a week that is less than...
4
by: Alex | last post by:
Hi, I have a bit string , 7 bits, every bit representing a day of the week. e.g. 1110011. Is there and easy way where I can translate/format that string in a query. I want to give the string...
1
by: LIN | last post by:
Hi, I have dataset which contains the data like this TranDate PurchaseVal ------------ ------------- 2003-01-01 51 2003-01-02 52 2003-01-03 ...
3
by: LIN | last post by:
Hi, I have dataset which contains the data like this TranDate PurchaseVal ------------ ------------- 2003-01-01 51 2003-01-02 52 2003-01-03 ...
4
by: tarafinlay | last post by:
Hi all, I am new to access and am finding it a bit unintuitive having worked with SQL server in the past... And I am in a bit of a hurry because my employer wants me to crank something out which...
0
by: ChrisC | last post by:
Tonkuma wrote: If you have that column to join on, you can ignore the join altogether. For instance, if you have a WEEK column that you are reporting by, you could use: SELECT WEEK, SUM(case...
3
by: adamjblakey | last post by:
Hi, I have 2 lists in a form one for a type of property and the other for price type. What i want to do is have a function so if i select property "Flats" then the price type menu will alter to...
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: 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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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,...
0
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...

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.