Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem in designing report ! Pin
Hadi Rezaee12-Jan-02 0:35
Hadi Rezaee12-Jan-02 0:35 
GeneralRe: Problem in designing report ! Pin
l a u r e n12-Jan-02 1:20
l a u r e n12-Jan-02 1:20 
GeneralRe: Problem in designing report ! Pin
Hadi Rezaee13-Jan-02 21:37
Hadi Rezaee13-Jan-02 21:37 
GeneralVery Urgent!!! Pin
12-Jan-02 0:34
suss12-Jan-02 0:34 
GeneralRe: Very Urgent!!! Pin
l a u r e n12-Jan-02 1:13
l a u r e n12-Jan-02 1:13 
GeneralRun an Oracle script Using VC++ Pin
roysivan12-Jan-02 0:29
roysivan12-Jan-02 0:29 
GeneralRe: Run an Oracle script Using VC++ Pin
l a u r e n12-Jan-02 1:15
l a u r e n12-Jan-02 1:15 
Generalvery Urgent Pin
11-Jan-02 22:20
suss11-Jan-02 22:20 
Hi,

I used this code to get the no of tables in a database.
But I am not getting the table count.Plese check this code

{

CDaoDatabase db;
db.Open ("D:\\San\\data.mdb");
int p=db.IsOpen ();
int x=db.GetTableDefCount();

char n[10];
sprintf(n,"%d",x);

AfxMessageBox(n);

CDaoTableDefInfo ptr;
db.GetTableDefInfo(0,ptr,AFX_DAO_PRIMARY_INFO );

CString str;
str=ptr.m_strSrcTableName ;

AfxMessageBox(str);
}
GeneralRe: very Urgent Pin
Nish Nishant11-Jan-02 22:29
sitebuilderNish Nishant11-Jan-02 22:29 
GeneralRe: very Urgent Pin
11-Jan-02 22:43
suss11-Jan-02 22:43 
GeneralRe: very Urgent Pin
Christian Graus12-Jan-02 1:21
protectorChristian Graus12-Jan-02 1:21 
GeneralRe: very Urgent Pin
Nish Nishant12-Jan-02 3:02
sitebuilderNish Nishant12-Jan-02 3:02 
GeneralRECT Problem.. Pin
Neha11-Jan-02 21:18
Neha11-Jan-02 21:18 
GeneralRe: RECT Problem..[edited] Pin
Nish Nishant11-Jan-02 21:45
sitebuilderNish Nishant11-Jan-02 21:45 
GeneralRe: RECT Problem.. Pin
Christian Graus12-Jan-02 1:22
protectorChristian Graus12-Jan-02 1:22 
GeneralRe: RECT Problem.. Pin
Nish Nishant12-Jan-02 2:58
sitebuilderNish Nishant12-Jan-02 2:58 
GeneralSetting background color of a checkbox Pin
Bobby Ward11-Jan-02 20:52
Bobby Ward11-Jan-02 20:52 
GeneralRe: Setting background color of a checkbox Pin
Nish Nishant11-Jan-02 21:34
sitebuilderNish Nishant11-Jan-02 21:34 
GeneralRe: Setting background color of a checkbox Pin
Bobby Ward12-Jan-02 1:10
Bobby Ward12-Jan-02 1:10 
GeneralRe: Setting background color of a checkbox Pin
l a u r e n12-Jan-02 1:16
l a u r e n12-Jan-02 1:16 
GeneralRe: Setting background color of a checkbox Pin
Bobby Ward12-Jan-02 11:29
Bobby Ward12-Jan-02 11:29 
GeneralRe: Setting background color of a checkbox Pin
Christian Graus12-Jan-02 11:39
protectorChristian Graus12-Jan-02 11:39 
GeneralSave device context to file Pin
11-Jan-02 20:28
suss11-Jan-02 20:28 
GeneralRe: Save device context to file Pin
Christian Graus12-Jan-02 1:23
protectorChristian Graus12-Jan-02 1:23 
GeneralSQL Server Pin
Mazdak11-Jan-02 18:26
Mazdak11-Jan-02 18:26 

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.