Illya,
Tables are related and business applications need to lookup and store values from other tables. The classic example is customer, order, orderdetail, product. This is hard to do in appery.io but could be easy. IF we could map a form field which represents a pointer value to another collection table and have the script automatically generated
to display a lookup form and allow user to select the parent value (to make this more useful allow the user to select which field is shown in lookup which is different that return value. Show name and description but return the _id value.
store id value in localstorage variable
map localstorage variable to form variable
You could implement this as another button control called lookupControl. Users would put a lookup button next to every pointer form field. The mapping would take place on the events of the lookup button
If we had this simple capability – we could write a host of business applications easily and the number of applications on appery would explode.
Customer
_id
Name
Address
******************************************
Order
id
Customer_id (Add lookup button that allows user to lookup Customers by Name in a dialog box or another screen and map the return value of Customer.id to this field Order.Customer_id)
Nbr
Date
Total
**********************************
OrderDetail
id
Quanity
Order_id (Add lookup button that allows user to lookup Orders by Nbr in a dialog box or another screen and map the return value of order.id to this field OrderDetail.order_id)
Product_id (Add lookup button that allows user to lookup Products by Name in a dialog box or another screen and map the return value of Product._id to this field OrderDetail.Product_id)