Code to retrieve data from a multiple table MDB file

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Vetie
Posts: 7
Joined: Wed Apr 01, 2015 7:46 pm

Code to retrieve data from a multiple table MDB file

Post by Vetie » Fri Apr 10, 2015 1:27 pm

Hello Everyone,

I am testing LiveCode by creating a DB viewer program to view a MS Access MDB file with multiple tables. I have successfully followed the lesson on how to connect and show data from a MDB file with one table, how would I show the data from multiple tables in the same MDB file?

Thanks

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Code to retrieve data from a multiple table MDB file

Post by MaxV » Tue Apr 14, 2015 11:04 pm

Code: Select all

SELECT table1.* , table2.* FROM table1,table2;
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Vetie
Posts: 7
Joined: Wed Apr 01, 2015 7:46 pm

Re: Code to retrieve data from a multiple table MDB file

Post by Vetie » Wed Apr 15, 2015 1:27 am

Thanks for the tip, it appears that I can use standard SQL.

Post Reply

Return to “Databases”