Using information from an external database

Hi All

I have a Purchasing System called Sage Line 100. On each Client Machine they have an ODBC link to Sage Called LINK (This is used for running Crystal Reports). The table withing Sage I am trying to access is StockList.

Can anyone give me an idiots guide to do the following:-

I want a form called requisition with six fields:-

StockCode

StockQty

StockDescription

MaxQty

MinQty

Price

When the user types in the stock code, the other five fields are filled in Automatically from the Sage Line 100 table. How do I go about setting this link up and getting the information I require.

Any help is appreciated.

Douglas Bell

Subject: Using information from an external database

Search the Designer Help for odbcquery and example, and there is a short description. Also look at the classes ODBCConnection and ODBCQuery.

  • Johan

johan@kanngard.net

http://dev.kanngard.net