Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConnecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani14-Nov-08 1:29
Divya Lalwani14-Nov-08 1:29 
AnswerRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
_AnsHUMAN_ 14-Nov-08 1:40
_AnsHUMAN_ 14-Nov-08 1:40 
QuestionRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow14-Nov-08 3:11
David Crow14-Nov-08 3:11 
AnswerRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani16-Nov-08 18:09
Divya Lalwani16-Nov-08 18:09 
AnswerRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani16-Nov-08 19:24
Divya Lalwani16-Nov-08 19:24 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow17-Nov-08 2:56
David Crow17-Nov-08 2:56 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani17-Nov-08 17:47
Divya Lalwani17-Nov-08 17:47 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani18-Nov-08 1:32
Divya Lalwani18-Nov-08 1:32 
Can I please get help.As I am getting an error ORA-00903 Invalid Table
when I execute the guery in the GetDefaultSQL().

CString CMyebridgeSet::GetDefaultConnect()
{
return _T("ODBC;DSN=om_ebridge");
}

CString CMyebridgeSet::GetDefaultSQL()
{
return _T(" SELECT [SCOTT].[TRANSACTION_MASTER].[TRANSACTION_CODE],[SCOTT].[TRANSACTION_MASTER].[VEHICLE_NO],[SCOTT].[TRANSACTION_MASTER].[OPERATING_MODE],")
_T("[SCOTT].[TRANSPORTER_MASTER].[transporter_name],[SCOTT].[SUPPLIER_MASTER].[SUPPLIER_NAME],")
_T("[SCOTT].[PRODUCT_MASTER].[PRODUCT_NAME],[SCOTT].[TRANSACTION_MASTER].[unit],[SCOTT].[TRANSACTION_MASTER].[Gross_Wt],[SCOTT].[TRANSACTION_MASTER].[Gross_WtTime],")
_T("[SCOTT].[TRANSACTION_MASTER].[Tare_Wt],[SCOTT].[TRANSACTION_MASTER].[Tare_WtTime],[SCOTT].[TRANSACTION_MASTER].[CONTAINER1_TAREWT],")
_T("[SCOTT].[TRANSACTION_MASTER].[CONTAINER2_TAREWT] ,[SCOTT].[TRANSACTION_MASTER].[net_Wt],[SCOTT].[TRANSACTION_MASTER].[Challan_no],[SCOTT].[TRANSACTION_MASTER].[Challan_Wt],")
_T("[SCOTT].[TRANSACTION_MASTER].[No_Of_Units],[SCOTT].[TRANSACTION_MASTER].[Calculated_Wt],[SCOTT].[TRANSACTION_MASTER].[Formula1],")
_T("[SCOTT].[TRANSACTION_MASTER].[Formula2],[SCOTT].[TRANSACTION_MASTER].[Formula3],[SCOTT].[TRANSACTION_MASTER].[Formula4],")
_T("[SCOTT].[TRANSACTION_MASTER].[location_code],[SCOTT].[TRANSACTION_MASTER].[field1],[SCOTT].[TRANSACTION_MASTER].[field2],[SCOTT].[TRANSACTION_MASTER].[field3] ")
_T("from [SCOTT].[PRODUCT_MASTER] INNER JOIN [SCOTT].[SUPPLIER_MASTER] INNER JOIN [SCOTT].[TRANSACTION_MASTER]")
_T("ON [SCOTT].[SUPPLIER_MASTER].[SUPPLIER_CODE] =[SCOTT].[TRANSACTION_MASTER].[SUPPLIER_CODE]")
_T("ON [SCOTT].[PRODUCT_MASTER].[PRODUCT_CODE]=[SCOTT].[TRANSACTION_MASTER].[PRODUCT_CODE]")
_T("INNER JOIN [SCOTT].[TRANSPORTER_MASTER] ON [SCOTT].[TRANSPORTER_MASTER].[TRANSPORTER_CODE]=[SCOTT].[TRANSACTION_MASTER].[TRANSPORTER_CODE] ");
}
Awaiting a reply.
Thanks
QuestionRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow18-Nov-08 3:12
David Crow18-Nov-08 3:12 
QuestionRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow18-Nov-08 3:07
David Crow18-Nov-08 3:07 
AnswerRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani19-Nov-08 0:47
Divya Lalwani19-Nov-08 0:47 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow19-Nov-08 2:25
David Crow19-Nov-08 2:25 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani19-Nov-08 17:16
Divya Lalwani19-Nov-08 17:16 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow20-Nov-08 3:36
David Crow20-Nov-08 3:36 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani20-Nov-08 21:17
Divya Lalwani20-Nov-08 21:17 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
David Crow21-Nov-08 2:36
David Crow21-Nov-08 2:36 
GeneralRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
#realJSOP18-Nov-08 3:41
professional#realJSOP18-Nov-08 3:41 
AnswerRe: Connecting VC++ to oracle 10g and acess data from multiple tables. Pin
Divya Lalwani16-Nov-08 19:52
Divya Lalwani16-Nov-08 19:52 
QuestionTab control and Modal dialog box Pin
shir_k14-Nov-08 1:25
shir_k14-Nov-08 1:25 
AnswerRe: Tab control and Modal dialog box Pin
rrrado14-Nov-08 1:44
rrrado14-Nov-08 1:44 
QuestionCView::OnDraw (MFC) not getting called Pin
manoharbalu14-Nov-08 1:15
manoharbalu14-Nov-08 1:15 
AnswerRe: CView::OnDraw (MFC) not getting called Pin
_AnsHUMAN_ 14-Nov-08 1:44
_AnsHUMAN_ 14-Nov-08 1:44 
QuestionRe: CView::OnDraw (MFC) not getting called Pin
manoharbalu14-Nov-08 18:07
manoharbalu14-Nov-08 18:07 
AnswerRe: CView::OnDraw (MFC) not getting called Pin
Alan Balkany14-Nov-08 3:52
Alan Balkany14-Nov-08 3:52 
GeneralRe: CView::OnDraw (MFC) not getting called Pin
worksopbenny16-Nov-08 17:30
worksopbenny16-Nov-08 17:30 

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.