using substacks or cards
Posted: Fri Jan 13, 2012 10:34 pm
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
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