The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 How to make ODBC find the data source?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
xjsccs Posted - 05/02/2004 : 03:45:03 AM
In a help section "Using LabTalk and SQL to Import Data from a Data Source", an examle
// label -n name message. creates a Label object.
label -n SQL2 //SQL2 Statement
nwind_mdb
Order Details
TABLE
SELECT * FROM "Order Details"
........
when the programe excute to the line "db.open()", a dialog saying ODBC can't find the data source turns up.

Question:
1.does nwind_mdb mean nwind.mdb?
2.should this file be put in a certain path or position?
3. or it is a problem with the settings of ODBC?
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 05/04/2004 : 5:01:39 PM
In the example, nwind_mdb is the name given to the Datasource which connects to nwind.mdb using the Access ODBC driver. That datasource must have been created previously.

Script access to ODBC connections is not always very reliable. We recommend using ADO access instead. There is an ADOSAMPLE.C program example in the Samples\Com Client folder. If you do not have 7.5, you can download our Demo and see how this works.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000