Click here to Skip to main content
15,891,828 members
Home / Discussions / Database
   

Database

 
Generalsysobjects in Access 2000 Pin
SimonS29-Jun-02 7:31
SimonS29-Jun-02 7:31 
GeneralAccess - UNION and 2 queries with Params Pin
Giles28-Jun-02 8:49
Giles28-Jun-02 8:49 
GeneralDataGrid paging Pin
27-Jun-02 10:55
suss27-Jun-02 10:55 
GeneralRe: DataGrid paging Pin
Mazdak9-Jul-02 9:03
Mazdak9-Jul-02 9:03 
Generalodbc woes in .net Pin
27-Jun-02 5:58
suss27-Jun-02 5:58 
GeneralRe: odbc woes in .net Pin
27-Jun-02 10:49
suss27-Jun-02 10:49 
GeneralRe: odbc woes in .net Pin
Richard Deeming2-Jul-02 0:14
mveRichard Deeming2-Jul-02 0:14 
GeneralCRecordset - Retrieving SQL & Parameters on Fail Pin
Henry Kafeman27-Jun-02 0:59
Henry Kafeman27-Jun-02 0:59 
Help please - I have an INSERT query of the form:
INSERT INTO MyTable (Field1, Field2...) VALUES (Value1, Value2...)
into a SQL Server Database. It is failing due to invalid text in one of the Parameters.
Now, I want to report the SQL query and Parameter Values when the failure is detected to aid debugging any future issues.
But GetSQL() only returns the SELECT query - the m_strUpdateSQL contains the "INSERT ... VALUES (?, ?...)" but there is no access Function!
Also if I try to use GetFieldValue() (to try to report the parameter values) my application just dies with an exception - presumably because they are only valid for a SELECT?
Is there any way to get at the Parameter Values?

Any help from someone out there who is familiar with CRecordsets, etc. would be gratefully received.
GeneralSQL Image Pin
Hesham Amin26-Jun-02 20:47
Hesham Amin26-Jun-02 20:47 
GeneralRe: SQL Image Pin
27-Jun-02 10:26
suss27-Jun-02 10:26 
GeneralOLE DB Provider problem Pin
StefanM26-Jun-02 12:16
StefanM26-Jun-02 12:16 
Generalado and createdatabase Pin
Gabriel.P.G26-Jun-02 7:52
Gabriel.P.G26-Jun-02 7:52 
GeneralRe: ado and createdatabase Pin
RChin28-Jun-02 0:58
RChin28-Jun-02 0:58 
GeneralMissing OLE Provider. Pin
Kevin Gutteridge26-Jun-02 6:04
Kevin Gutteridge26-Jun-02 6:04 
GeneralRe: Missing OLE Provider. Pin
Kevin Gutteridge27-Jun-02 0:48
Kevin Gutteridge27-Jun-02 0:48 
GeneralUser Selectable databases via ADO Pin
Robert Vista18-Jun-02 5:25
Robert Vista18-Jun-02 5:25 
GeneralRe: User Selectable databases via ADO Pin
Mazdak18-Jun-02 19:25
Mazdak18-Jun-02 19:25 
GeneralRe: User Selectable databases via ADO Pin
Robert Vista19-Jun-02 7:32
Robert Vista19-Jun-02 7:32 
GeneralHelp needed deriving class from CRecordset Pin
Munkijo17-Jun-02 11:55
Munkijo17-Jun-02 11:55 
GeneralADO Over the Internet Pin
laphijia15-Jun-02 2:13
laphijia15-Jun-02 2:13 
GeneralRe: ADO Over the Internet Pin
Thesisus20-Jun-02 2:22
Thesisus20-Jun-02 2:22 
GeneralProblem with Recordset(ADO) Pin
Lizp14-Jun-02 22:15
Lizp14-Jun-02 22:15 
GeneralRe: Problem with Recordset(ADO) Pin
Mazdak16-Jun-02 5:58
Mazdak16-Jun-02 5:58 
GeneralRe: Problem with Recordset(ADO) Pin
Lizp16-Jun-02 15:23
Lizp16-Jun-02 15:23 
GeneralRe: Problem with Recordset(ADO) Pin
Mazdak16-Jun-02 21:00
Mazdak16-Jun-02 21:00 

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.