Click here to Skip to main content
15,895,142 members
Home / Discussions / Database
   

Database

 
GeneralOutput Parameters - Help! Pin
mikasa11-Jun-04 9:16
mikasa11-Jun-04 9:16 
GeneralStored Procedures in C# Pin
dtbiju10-Jun-04 19:25
dtbiju10-Jun-04 19:25 
GeneralRe: Stored Procedures in C# Pin
Michael Potter11-Jun-04 4:31
Michael Potter11-Jun-04 4:31 
GeneralRe: Stored Procedures in C# Pin
VenkatFor.NET11-Jun-04 8:37
VenkatFor.NET11-Jun-04 8:37 
GeneralRe: Stored Procedures in C# Pin
mikasa11-Jun-04 9:13
mikasa11-Jun-04 9:13 
GeneralRe: Stored Procedures in C# Pin
Steven Campbell11-Jun-04 18:36
Steven Campbell11-Jun-04 18:36 
GeneralRe: Stored Procedures in C# Pin
Arjan Einbu15-Jun-04 2:00
Arjan Einbu15-Jun-04 2:00 
GeneralMFC/DAO temporary table Pin
IQ010-Jun-04 10:59
IQ010-Jun-04 10:59 
i don't know if this is the right place to post this, but is database related so i hope someone can help me ...

!!! all this is done in vc++ 6.0 using MFC/DAO !!!
i have a database with a table that has one numeric field called ID...
in my program, i assign a string to every value of this field...
so if the table has the following data

1
3
2
1
2

then my data will be in the following form

cow
chicken
wolf
cow
wolf

that is, every number has an assigned string.
the problem is that i want to store only the numeric field in the table and do all the processing in the program
so how can i have a recordset that contains the strings and to be able to sort it ?

another example :

i have a table that contains two fields : DATE and TEXT
but i want to have in my program three fields : DATE, TIME, and TEXT, where DATE and TIME is extracted from the DATE field in the database.
also i want to be able to sort by DATE or TIME in my program, so a database with folowing data

DATE TEXT
---------------- -----------
15/02/2001 12:28 Chris
19/02/2002 15:42 George
25/07/2003 09:48 John

will show up like this in my program

DATE TIME TEXT
---------- ----- -----------
15/02/2001 12:28 Chris
19/02/2002 15:42 George
25/07/2003 09:48 John

and i should be able to sort by DATE, or TIME, or TEXT

i'm showing data using a CListCtrl (not virtual)

please can somebody help me up with this ?

thanks ! (at least for reading this)

GeneralPlease i'm stuck with this !!! Pin
IQ012-Jun-04 9:00
IQ012-Jun-04 9:00 
GeneralDatabase Load COmmand Pin
asv10-Jun-04 8:33
asv10-Jun-04 8:33 
GeneralRe: Database Load COmmand Pin
Chris Meech10-Jun-04 9:07
Chris Meech10-Jun-04 9:07 
GeneralRe: Database Load COmmand Pin
Anonymous11-Jun-04 9:51
Anonymous11-Jun-04 9:51 
GeneralDefault name Pin
Small Rat10-Jun-04 7:33
Small Rat10-Jun-04 7:33 
GeneralTransferring data from dbaseIII+ to SQLSvr2000/Access Pin
sanjaysagrawal10-Jun-04 1:51
sanjaysagrawal10-Jun-04 1:51 
GeneralRecord No. Pin
Tuwing.Sabado9-Jun-04 20:56
Tuwing.Sabado9-Jun-04 20:56 
GeneralRe: Record No. Pin
Hesham Amin9-Jun-04 21:30
Hesham Amin9-Jun-04 21:30 
Generalupdate sql server table with dataset from excel Pin
Anonymous9-Jun-04 4:00
Anonymous9-Jun-04 4:00 
Generaldelete/modify stored procedure Pin
sharonz9-Jun-04 2:44
sharonz9-Jun-04 2:44 
GeneralRe: delete/modify stored procedure Pin
Michael Potter9-Jun-04 6:13
Michael Potter9-Jun-04 6:13 
GeneralRe: delete/modify stored procedure Pin
Edbert P9-Jun-04 20:02
Edbert P9-Jun-04 20:02 
GeneralRe: delete/modify stored procedure Pin
sharonz9-Jun-04 20:22
sharonz9-Jun-04 20:22 
GeneralRe: delete/modify stored procedure Pin
Edbert P9-Jun-04 20:32
Edbert P9-Jun-04 20:32 
GeneralRe: delete/modify stored procedure Pin
sharonz9-Jun-04 20:50
sharonz9-Jun-04 20:50 
GeneralT-SQL for backing up database with current Datetime Pin
Raybot8-Jun-04 23:55
Raybot8-Jun-04 23:55 
GeneralRe: T-SQL for backing up database with current Datetime Pin
RichardGrimmer9-Jun-04 1:30
RichardGrimmer9-Jun-04 1:30 

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.