Click here to Skip to main content
15,923,015 members
Home / Discussions / Database
   

Database

 
GeneralRe: saving and retrieving image data Pin
Mike Dimmick28-Jan-05 2:38
Mike Dimmick28-Jan-05 2:38 
GeneralRe: saving and retrieving image data Pin
Mr.Cooper9-Feb-05 1:01
Mr.Cooper9-Feb-05 1:01 
Generaldatatable only working occasionally Pin
lxhan27-Jan-05 18:49
lxhan27-Jan-05 18:49 
GeneralRe: datatable only working occasionally Pin
Colin Angus Mackay27-Jan-05 23:08
Colin Angus Mackay27-Jan-05 23:08 
GeneralRe: datatable only working occasionally Pin
lxhan1-Feb-05 3:33
lxhan1-Feb-05 3:33 
GeneralQuerying CSV db with Jet and ADO Pin
wilsonian27-Jan-05 12:26
wilsonian27-Jan-05 12:26 
GeneralRe: Querying CSV db with Jet and ADO Pin
Rob Graham31-Jan-05 5:15
Rob Graham31-Jan-05 5:15 
GeneralRe: Querying CSV db with Jet and ADO Pin
wilsonian31-Jan-05 8:50
wilsonian31-Jan-05 8:50 
Thank you Rob, I *think* that helped... I now get a different error message "No value given for one or more required parameters (1)" which sound more like it could be a problem with my query than actually accessing the file, is this right? Do you know what this error means? The query I am using is:

SELECT [Language] FROM [myFile.txt];

And the first line of the text file is:
"Student","Language"

Also, it's rather unfortunate for me that getting the query to work requires having the .txt on the end of the file name. My app needs to work with either an MSDE or a CSV db and I was hoping I could just reuse the queries. Is there any smarter way to do this than using a macro or calling a function inside every query, like this or something?

<br />
CString from(CString table) {<br />
#ifdef MSDE<br />
    return _T("FROM ") + table;<br />
#else CSV<br />
    return _T("FROM ") + table + _T(".txt");<br />
}<br />

GeneralRe: Querying CSV db with Jet and ADO Pin
Rob Graham31-Jan-05 11:14
Rob Graham31-Jan-05 11:14 
GeneralRe: Querying CSV db with Jet and ADO Pin
wilsonian31-Jan-05 11:53
wilsonian31-Jan-05 11:53 
GeneralRe: Querying CSV db with Jet and ADO Pin
Rob Graham31-Jan-05 14:44
Rob Graham31-Jan-05 14:44 
GeneralRe: Querying CSV db with Jet and ADO Pin
wilsonian31-Jan-05 16:34
wilsonian31-Jan-05 16:34 
GeneralRe: Querying CSV db with Jet and ADO Pin
Rob Graham1-Feb-05 2:42
Rob Graham1-Feb-05 2:42 
GeneralRe: Querying CSV db with Jet and ADO Pin
wilsonian1-Feb-05 8:52
wilsonian1-Feb-05 8:52 
GeneralSet RowCount issue in query containing function tables Pin
-Dr_X-27-Jan-05 4:52
-Dr_X-27-Jan-05 4:52 
GeneralRe: Set RowCount issue in query containing function tables Pin
-Dr_X-27-Jan-05 5:14
-Dr_X-27-Jan-05 5:14 
Generallock triggers while executing a transaction Pin
mhmoud rawas26-Jan-05 0:28
mhmoud rawas26-Jan-05 0:28 
GeneralRe: lock triggers while executing a transaction Pin
tojamismis27-Jan-05 7:35
tojamismis27-Jan-05 7:35 
GeneralMSDE Setup.Exe and Reinstall Pin
Blake V. Miller25-Jan-05 18:28
Blake V. Miller25-Jan-05 18:28 
QuestionCOMException--Why? Pin
mysorian25-Jan-05 18:02
professionalmysorian25-Jan-05 18:02 
AnswerRe: COMException--Why? Pin
tojamismis27-Jan-05 7:45
tojamismis27-Jan-05 7:45 
GeneralRe: COMException--Why? Pin
mysorian27-Jan-05 17:11
professionalmysorian27-Jan-05 17:11 
GeneralBitwise operators in a SELECT statement Pin
Luis Alonso Ramos25-Jan-05 10:31
Luis Alonso Ramos25-Jan-05 10:31 
GeneralRe: Bitwise operators in a SELECT statement Pin
Michael Potter27-Jan-05 4:12
Michael Potter27-Jan-05 4:12 
QuestionCan I use a generic schema.ini file? Pin
MongooseNX25-Jan-05 9:50
MongooseNX25-Jan-05 9:50 

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.