Page 1 of 1

using substacks or cards

Posted: Fri Jan 13, 2012 10:34 pm
by jalz
Hi Guys,

Im fairly new to LiveCode after taking the plunge. Find it not too bad actually after coming from a different background and Ive got my first db table working ok.... still working out how to do relationships and add two records (parent, and child) together with the primary keys so they are both related....

My main question is on cards and substacks and trying to understand them. At the moment my application will have a number of tables, Customers, Contacts, Suppliers, Invoices etc. Now as far as I can see I should have a main stack, but then should I have a substack for the Customer data (including contacts and addresses) and then another substack for Suppliers, or shall I structure it so that I just have loads of cards in a my mainstack.

If have them as cards, can I later change them to substacks or similarly if Ive created lots of substacks, can I 'export' them out as cards.

Any advice would be great.

Many thanks

Re: using substacks or cards

Posted: Sat Jan 14, 2012 12:01 pm
by Mark
Hi,

If you want to display multiple windows, then you need stacks and substacks. If you want to have an easy way to switch views within one window, then you need cards. Moving cards to separate stacks can be very cumbersome if you have many scripts in place.

Kind regards,

Mark