Click here to Skip to main content
16,004,854 members
Home / Discussions / Database
   

Database

 
GeneralRe: execution speed... Pin
AndyG14-Jan-02 15:38
AndyG14-Jan-02 15:38 
GeneralRe: execution speed... Pin
l a u r e n14-Jan-02 20:21
l a u r e n14-Jan-02 20:21 
GeneralRe: execution speed... Pin
Nick Parker16-Jan-02 3:42
protectorNick Parker16-Jan-02 3:42 
GeneralRe: execution speed... Pin
James T. Johnson22-Jan-02 21:27
James T. Johnson22-Jan-02 21:27 
GeneralADO: Delete record fails for dBASE file Pin
10-Jan-02 2:46
suss10-Jan-02 2:46 
GeneralCRecordset::Edit() Pin
3-Jan-02 4:07
suss3-Jan-02 4:07 
GeneralRe: CRecordset::Edit() Pin
Rashid Thadha5-Jan-02 12:30
Rashid Thadha5-Jan-02 12:30 
General10$ Reward - Honestly Pin
Las B29-Dec-01 12:31
Las B29-Dec-01 12:31 
I will give anyone 10 $US whose solution I can first install successfully. Believe me I am an Honest bloke.



SETTINGS:

Database name people.mdb (Access2000)
table name tblPeople
Database connection is OK.
I am using European Date convention DD/MM/YYYY
The whole database contains other values as well.
Using Visual Basic Script

TASK:

What I need is to convert the string e.g. 1-9 into a string such as (I am guessing) CurrentYear-(1-9) so if CurrentYear is 2002 then result string is 2001-1993 so the database returns everybody born between 1993-2001. Never mind month and day.

AutoID Name BirthDate
Automatic Number text text



I need to query the database above database from a default.asp file with the following multiple drop-down box.

1-9 10-15 15-17 18-2122-24 25-2728-30 30-35 35-40 40-45 45-100



P.S.: If you think I should do things differently, you may suggest your own solution. (e.g.: Full date of birth can be given.) DD/MM/YYYY



Thanks.


Las Bujdoso
GeneralRe: 10$ Reward - Honestly Pin
AndyG30-Dec-01 10:10
AndyG30-Dec-01 10:10 
QuestionData Access Pages for SQL Server? Pin
23-Dec-01 19:02
suss23-Dec-01 19:02 
GeneralA problem about converting data in ADODB.Recordset object(supplied by COM DLL) into DataStore in PowerBuilder environment. Pin
22-Dec-01 21:02
suss22-Dec-01 21:02 
Generalsql query problem Pin
16-Dec-01 15:27
suss16-Dec-01 15:27 
GeneralRe: sql query problem Pin
AndyG30-Dec-01 10:45
AndyG30-Dec-01 10:45 
General[ADO] leaking memory when opening/closing connection every minute Pin
the_saw_is_the_law13-Dec-01 3:13
the_saw_is_the_law13-Dec-01 3:13 
GeneralRe: [ADO] leaking memory when opening/closing connection every minute Pin
Mike Osbahr13-Dec-01 10:08
Mike Osbahr13-Dec-01 10:08 
GeneralRe: [ADO] leaking memory when opening/closing connection every minute Pin
the_saw_is_the_law15-Dec-01 7:40
the_saw_is_the_law15-Dec-01 7:40 
GeneralRe: [ADO] leaking memory when opening/closing connection every minute Pin
chris foote17-Dec-01 15:02
chris foote17-Dec-01 15:02 
QuestionADO with Jetengine very slow? Pin
zack12-Dec-01 4:29
zack12-Dec-01 4:29 
AnswerRe: ADO with Jetengine very slow? Pin
Thomas Ascher8-Jan-02 1:00
Thomas Ascher8-Jan-02 1:00 
GeneralSQL Server connection sharing Pin
Nick Blumhardt11-Dec-01 15:33
Nick Blumhardt11-Dec-01 15:33 
GeneralRe: SQL Server connection sharing Pin
Rashid Thadha12-Dec-01 3:04
Rashid Thadha12-Dec-01 3:04 
GeneralRe: SQL Server connection sharing Pin
16-Dec-01 18:33
suss16-Dec-01 18:33 
GeneralGetting (OLE-DB) row handle Pin
Selahattin ERDEN10-Dec-01 12:06
Selahattin ERDEN10-Dec-01 12:06 
GeneralHelp!. Access & ODBC & Left Outer Joins Pin
Fred C V10-Dec-01 6:38
Fred C V10-Dec-01 6:38 
GeneralRe: Help!. Access & ODBC & Left Outer Joins Pin
AdamF4-Jan-02 5:24
AdamF4-Jan-02 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.