Click here to Skip to main content
15,926,174 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL server call back our application Pin
Hesham Amin8-Mar-03 11:03
Hesham Amin8-Mar-03 11:03 
Questionthis freakin adapter dealy??? Pin
stephen.hazel7-Mar-03 7:08
stephen.hazel7-Mar-03 7:08 
GeneralDetermining SQL Datatypes Pin
AustinTom7-Mar-03 3:52
AustinTom7-Mar-03 3:52 
GeneralHelp: Save data back to MS Access DB Pin
DionChen6-Mar-03 10:55
DionChen6-Mar-03 10:55 
GeneralRe: Help: Save data back to MS Access DB Pin
andyharman6-Mar-03 19:57
professionalandyharman6-Mar-03 19:57 
GeneralRe: Help: Save data back to MS Access DB Pin
DionChen7-Mar-03 6:38
DionChen7-Mar-03 6:38 
GeneralText Changed in WinForm Datagrid cell Pin
DionChen6-Mar-03 9:49
DionChen6-Mar-03 9:49 
QuestionIs it possible to set a adBoolean Column to AdColNullable ? Pin
BrunoDelille6-Mar-03 3:40
sussBrunoDelille6-Mar-03 3:40 
I'm creating a simple Access Database with one table and one boolean field via ADOX and Jet Oledb Provider.

The following code gives me an IDispatch Error 3105 when appending the Table. Note that with adInteger or adVarWChar the code is working. Any idea ? Thx in advance.

pThisAdoCatalogPtr.CreateInstance(__uuidof(Catalog));
pThisAdoTablePtr.CreateInstance(__uuidof(Table));
pThisAdoColumnPtr.CreateInstance(__uuidof(Column));

pThisAdoCatalogPtr->Create("PROVIDER=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Engine Type=4;Jet OLEDB:System Database=c:\\MsOffice\\Access\\System.mdw;Data Source=mybase.mdb;User Id=admin;Jet OLEDB:Database Password=mypass;");

pThisAdoTablePtr->Name="MyTable";

pThisAdoColumnPtr->Name="BooleanColumn";
pThisAdoColumnPtr->Type=adBoolean;
pThisAdoColumnPtr->Attributes=adColNullable;

pThisAdoTablePtr->Columns->Append(_variant_t((IDispatch *)pThisAdoColumnPtr), adBoolean, 0);

pThisAdoCatalogPtr->Tables->Append(_variant_t((IDispatch *)pThisAdoTablePtr)); <--- Here is the exception thrown.

Bruno.

QuestionHow to display full column length in SQL Pin
IrishSonic5-Mar-03 23:54
IrishSonic5-Mar-03 23:54 
AnswerRe: How to display full column length in SQL Pin
Nick Parker6-Mar-03 3:09
protectorNick Parker6-Mar-03 3:09 
AnswerRe: How to display full column length in SQL Pin
Jon Hulatt6-Mar-03 3:38
Jon Hulatt6-Mar-03 3:38 
GeneralRe: How to display full column length in SQL Pin
IrishSonic6-Mar-03 11:13
IrishSonic6-Mar-03 11:13 
GeneralIntroduction of parameter problem!! Pin
Andrea Ferraro5-Mar-03 23:34
Andrea Ferraro5-Mar-03 23:34 
QuestionHow to use the same db connection with multiple datareaders? Pin
Segal5-Mar-03 11:22
Segal5-Mar-03 11:22 
AnswerRe: How to use the same db connection with multiple datareaders? Pin
Gertjan Schuurmans5-Mar-03 11:43
Gertjan Schuurmans5-Mar-03 11:43 
GeneralRe: How to use the same db connection with multiple datareaders? Pin
Gertjan Schuurmans5-Mar-03 11:45
Gertjan Schuurmans5-Mar-03 11:45 
AnswerRe: How to use the same db connection with multiple datareaders? Pin
andyharman5-Mar-03 11:53
professionalandyharman5-Mar-03 11:53 
GeneralRe: How to use the same db connection with multiple datareaders? Pin
Anonymous5-Mar-03 14:02
Anonymous5-Mar-03 14:02 
GeneralRe: How to use the same db connection with multiple datareaders? Pin
andyharman6-Mar-03 7:13
professionalandyharman6-Mar-03 7:13 
GeneralCreating a running totals column Pin
nicholas.gionfriddo5-Mar-03 7:32
nicholas.gionfriddo5-Mar-03 7:32 
GeneralRe: Creating a running totals column Pin
Chris LaQuerre5-Mar-03 10:09
Chris LaQuerre5-Mar-03 10:09 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo5-Mar-03 10:27
nicholas.gionfriddo5-Mar-03 10:27 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo5-Mar-03 10:49
nicholas.gionfriddo5-Mar-03 10:49 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo5-Mar-03 10:52
nicholas.gionfriddo5-Mar-03 10:52 
GeneralRe: Creating a running totals column Pin
andyharman5-Mar-03 11:42
professionalandyharman5-Mar-03 11:42 

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.