Click here to Skip to main content
15,921,905 members
Home / Discussions / Database
   

Database

 
GeneralCould use an extra brain... Pin
brdavid2-Jul-04 6:31
brdavid2-Jul-04 6:31 
GeneralRe: Could use an extra brain... Pin
Steven Campbell2-Jul-04 11:15
Steven Campbell2-Jul-04 11:15 
GeneralRe: Could use an extra brain... Pin
brdavid2-Jul-04 14:53
brdavid2-Jul-04 14:53 
GeneralSQL query required Pin
Imtiaz Murtaza1-Jul-04 23:02
Imtiaz Murtaza1-Jul-04 23:02 
GeneralRe: SQL query required Pin
wgdesigner2-Jul-04 22:23
wgdesigner2-Jul-04 22:23 
GeneralRe: SQL query required Pin
Go2Canada5-Jul-04 3:07
sussGo2Canada5-Jul-04 3:07 
GeneralRe: SQL query required Pin
irshu8-Jul-04 21:09
irshu8-Jul-04 21:09 
GeneralA Querying to Date Problm Pin
Anonymous1-Jul-04 20:50
Anonymous1-Jul-04 20:50 
i m using VC++ n Access as Database

if i m using hard code values of date n month n year its gives result fine

as query is

rs->Open(AFX_DB_USE_DEFAULT_TYPE, "SELECT * FROM Record WHERE (([Record].[Date] Between #9/27/2001# And #7/30/2004#))");

But i wanaa use values of date . year n month that r input by user .. in form of String or integer in variables .. m_date . m_month .. and m_year.

how can i use these variables values in Query now

i used like this but Wrong Query message appears
rs->Open(AFX_DB_USE_DEFAULT_TYPE, "SELECT * FROM Record WHERE (([Record].[Date] Between #m_month/m_date/m_year# And #m_month1/m_date1/m_year1#))");

I also Tried by TO_Date Function ,, but its said undefined function

how can i do it by user values ..

thanx

GeneralPlease help - can't update screen while waiting for SP in C#. Pin
unRheal1-Jul-04 12:40
unRheal1-Jul-04 12:40 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
Colin Angus Mackay2-Jul-04 15:34
Colin Angus Mackay2-Jul-04 15:34 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
unRheal2-Jul-04 16:39
unRheal2-Jul-04 16:39 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
Mike Dimmick4-Jul-04 6:52
Mike Dimmick4-Jul-04 6:52 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
Colin Angus Mackay4-Jul-04 7:16
Colin Angus Mackay4-Jul-04 7:16 
GeneralRe: Please help - can't update screen while waiting for SP in C#. Pin
unRheal4-Jul-04 13:42
unRheal4-Jul-04 13:42 
GeneralDTS Package Pin
Member 11509011-Jul-04 2:41
Member 11509011-Jul-04 2:41 
GeneralMaster in SQL please Help Pin
irshu1-Jul-04 1:05
irshu1-Jul-04 1:05 
GeneralRe: Master in SQL please Help Pin
Xiangyang Liu 刘向阳1-Jul-04 1:12
Xiangyang Liu 刘向阳1-Jul-04 1:12 
GeneralRe: Master in SQL please Help Pin
irshu1-Jul-04 18:53
irshu1-Jul-04 18:53 
GeneralRe: Master in SQL please Help Pin
Xiangyang Liu 刘向阳2-Jul-04 3:59
Xiangyang Liu 刘向阳2-Jul-04 3:59 
GeneralRe: Master in SQL please Help Pin
Xiangyang Liu 刘向阳2-Jul-04 4:03
Xiangyang Liu 刘向阳2-Jul-04 4:03 
GeneralRe: Master in SQL please Help Pin
Anonymous4-Jul-04 20:05
Anonymous4-Jul-04 20:05 
GeneralRe: Master in SQL please Help Pin
irshu4-Jul-04 20:06
irshu4-Jul-04 20:06 
GeneralThank you, Pin
irshu4-Jul-04 20:06
irshu4-Jul-04 20:06 
GeneralMS SQL Server date format Pin
spn30-Jun-04 20:26
spn30-Jun-04 20:26 
GeneralRe: MS SQL Server date format Pin
michanne4-Jul-04 17:48
michanne4-Jul-04 17:48 

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.