We purchased a system that uses a PostgreSQL DB. I would like to connect to it so that I can read data from it in order to populate LC text fields in my app with the data read from the DB. I have established an ODBC connection to the DB using the revOpenDatabase command which works ok but that's as far as I've got.
Here's what I am looking to do:
1. Type a job ID into an LC text field and click a button.
2. The button script would connect to the DB, read from various tables/fields associated with the job ID entered in step 1.
3. Using the data read from the DB in step 2, populate various LC text fields.
4. Close the DB connection.
As I have no experience with this. Can someone provide some script examples of how to achieve what I am looking for?
Thank you,
Jon
