Click here to Skip to main content
15,917,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unicode Character Rendering in 95/98 Pin
Feng Yuan26-Aug-00 19:42
Feng Yuan26-Aug-00 19:42 
Generalhelp me!! Pin
Vasilyev23-Aug-00 22:40
Vasilyev23-Aug-00 22:40 
GeneralRe: help me!! Pin
Steve Driessens24-Aug-00 0:43
Steve Driessens24-Aug-00 0:43 
GeneralRe: help me!! Pin
John Simmons24-Aug-00 0:53
John Simmons24-Aug-00 0:53 
GeneralATL Control Resize Pin
Chris Losinger23-Aug-00 19:25
professionalChris Losinger23-Aug-00 19:25 
GeneralRe: ATL Control Resize Pin
Steven Mitcham31-Aug-00 7:22
Steven Mitcham31-Aug-00 7:22 
QuestionPutting CHTMLView::GetHtmlDocument() in a CString? Pin
James Corrie23-Aug-00 10:01
sussJames Corrie23-Aug-00 10:01 
General** Changing TEXT FILES to Access Tables ** Pin
Steve Lai23-Aug-00 9:23
Steve Lai23-Aug-00 9:23 
Hi everyone,

I need help with converting Text Files into Access table and hope you can help me out.

I have 2 TEXT FILES, first that contains the table name, and its attribues, and the SECOND file contains the values of the table.

So if the first TEXT FILE that has the following table values:

tablename
field1, integer
field2, string
field3, integer
field4, string

then another TEXT FILE will contains the values for the table:

1, john, 6, smith
2, steve, 7, clark
3, carrie, 8, wayne
4, dan, 9, chait
5, erin, 10, alan

what i need to do is to read the values from the FIRST TEXT FILE that contains the table attributes and create the table.
Then i need to read the SECOND TEXT FILE and plug in the values. so at the end, i'll have a Access table like:

field1 field2 field3 field4
1 john 6 smith
2 steve 7 clark
3 carrie 8 wayne
4 dan 9 chait
5 erin 10 alan


But i need the readings of BOTH TEXT FILES to be dynamic so it'll work if the TEXT FILE has x number of columns, and x number of rows.
and i also need the reading to be dynamic so it can read the values from the SECOND TEXT FILE no matter what kind of values it contains, ie, integer, string, char, etc...

If anyone can help me out, Please let me know.

Thanks in Advance.

Steve
GeneralCursor Postition Pin
sunny23-Aug-00 7:27
sunny23-Aug-00 7:27 
GeneralRe: Cursor Postition Pin
#realJSOP23-Aug-00 8:59
professional#realJSOP23-Aug-00 8:59 
GeneralRe: Cursor Postition Pin
Philip Nicoletti23-Aug-00 9:19
Philip Nicoletti23-Aug-00 9:19 
GeneralI know WTL doesn't dock... Pin
Scott Leonard23-Aug-00 6:53
Scott Leonard23-Aug-00 6:53 
GeneralBSTR vs. LPSTR Pin
Jonas23-Aug-00 5:45
Jonas23-Aug-00 5:45 
GeneralRe: BSTR vs. LPSTR Pin
#realJSOP23-Aug-00 6:31
professional#realJSOP23-Aug-00 6:31 
GeneralRe: BSTR vs. LPSTR Pin
Richard Warg23-Aug-00 14:06
Richard Warg23-Aug-00 14:06 
GeneralCString search Pin
sspcmp23-Aug-00 4:37
susssspcmp23-Aug-00 4:37 
GeneralRe: CString search Pin
Philip Nicoletti23-Aug-00 5:13
Philip Nicoletti23-Aug-00 5:13 
GeneralRe: CString search Pin
sspcmp23-Aug-00 5:42
susssspcmp23-Aug-00 5:42 
GeneralRe: CString search Pin
Philip Nicoletti23-Aug-00 6:37
Philip Nicoletti23-Aug-00 6:37 
GeneralRe: CString search Pin
#realJSOP23-Aug-00 6:26
professional#realJSOP23-Aug-00 6:26 
GeneralRe: CString search Pin
sspcmp23-Aug-00 7:21
susssspcmp23-Aug-00 7:21 
GeneralRe: CString search Pin
Philip Nicoletti23-Aug-00 7:59
Philip Nicoletti23-Aug-00 7:59 
GeneralRe: CString search Pin
#realJSOP23-Aug-00 8:45
professional#realJSOP23-Aug-00 8:45 
GeneralRe: CString search Pin
Paolo Messina23-Aug-00 9:55
professionalPaolo Messina23-Aug-00 9:55 
GeneralHOWTO: Find Height of stacked tabs in CPropertySheet Pin
Jeremy Davis23-Aug-00 2:20
Jeremy Davis23-Aug-00 2:20 

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.