Click here to Skip to main content
15,896,726 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHyperlink Pin
Eq30-Aug-00 18:04
Eq30-Aug-00 18:04 
GeneralRe: Hyperlink Pin
Oleg Zhuk30-Aug-00 22:53
Oleg Zhuk30-Aug-00 22:53 
Generalannoying button border Pin
philippe dykmans29-Aug-00 0:16
philippe dykmans29-Aug-00 0:16 
GeneralRe: annoying button border Pin
philippe dykmans30-Aug-00 23:53
philippe dykmans30-Aug-00 23:53 
Generaltree controls in unicode... Pin
lauren28-Aug-00 21:03
lauren28-Aug-00 21:03 
GeneralCursor pointer color Pin
sunny28-Aug-00 15:54
sunny28-Aug-00 15:54 
GeneralRe: Cursor pointer color Pin
Ezz Khayyat29-Aug-00 3:46
professionalEzz Khayyat29-Aug-00 3:46 
General*** Retriving Rows of Data from Access Tables ** Pin
Steve Lai28-Aug-00 15:40
Steve Lai28-Aug-00 15:40 
Hi Everyone,

I’m using Visual C++6, and I have this question regarding Database programming with Microsoft Access.

How do I get a certain row’s field names and it’s values??
For example, let’s say I have an Access table such as:

CustID CustName Item Price
1 John Pen 1.99
2 Mike Mirror 5.00
3 Erin Pencils 1.00
4 Joe Eraser 1.50
5 Tim CD 14.99

How do retrieve the data of certain rows such as row 2 and row 5??
I would like then to take the values of the selected rows and write it into a new table somewhere else.
Is there a simple method such as (SELECT this row and INSERT INTO a database)??

If anyone has any idea, PLEASE LET ME KNOW.

Thanks in Advance.

Steve

P.S. How do I only retrieve the FIELD NAMES of a table?

GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
lauren28-Aug-00 21:07
lauren28-Aug-00 21:07 
GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
Steve Lai29-Aug-00 10:39
Steve Lai29-Aug-00 10:39 
GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
lauren30-Aug-00 3:09
lauren30-Aug-00 3:09 
GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
Steve Driessens28-Aug-00 22:28
Steve Driessens28-Aug-00 22:28 
GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
Steve Driessens28-Aug-00 22:49
Steve Driessens28-Aug-00 22:49 
GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
Steve Lai29-Aug-00 10:41
Steve Lai29-Aug-00 10:41 
GeneralRe: *** Retriving Rows of Data from Access Tables ** Pin
Steve Driessens29-Aug-00 15:02
Steve Driessens29-Aug-00 15:02 
GeneralRe: *** Having Trouble! ** Pin
Steve Lai30-Aug-00 12:04
Steve Lai30-Aug-00 12:04 
Questiondll assumptions? Pin
trey28-Aug-00 11:16
trey28-Aug-00 11:16 
AnswerRe: dll assumptions? Pin
Michael Dunn28-Aug-00 13:55
sitebuilderMichael Dunn28-Aug-00 13:55 
GeneralTab Control Pin
sunny28-Aug-00 6:57
sunny28-Aug-00 6:57 
GeneralFunction pointer in C++ Pin
bah28-Aug-00 5:04
bah28-Aug-00 5:04 
GeneralRe: Function pointer in C++ Pin
myself28-Aug-00 6:29
myself28-Aug-00 6:29 
GeneralRe: Function pointer in C++ Pin
Michael Dunn28-Aug-00 7:58
sitebuilderMichael Dunn28-Aug-00 7:58 
GeneralFile Comparing Pin
Shibu.m.b27-Aug-00 3:11
sussShibu.m.b27-Aug-00 3:11 
GeneralFile Comparing Pin
Shibu.m.b27-Aug-00 3:07
sussShibu.m.b27-Aug-00 3:07 
GeneralImage Comparison Pin
Shaji.S.Nair27-Aug-00 2:48
sussShaji.S.Nair27-Aug-00 2: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.