Page 1 of 1

Read and update a database

Posted: Sun Jun 02, 2013 5:03 pm
by Chris Hurst

I would like to be able to have an input form that will update my database in the background, and on another page a form that will show the updated database


Read and update a database

Posted: Sun Jun 02, 2013 5:15 pm
by maxkatz

I'm not sure I understand the part: "input form that will update my database in the background". Can you explain more?


Read and update a database

Posted: Sun Jun 02, 2013 5:23 pm
by Chris Hurst

An input form meaning some sort of page that you can input figures then press a button which then sends the information to the database,

on another page is a results section which shows the updated figures from the database


Read and update a database

Posted: Sun Jun 02, 2013 5:45 pm
by maxkatz

That's pretty simple.. just follow this tutorial: http://docs.appery.io/tutorials/build.... The only difference, you will navigate to another page (instead of staying on the same page).


Read and update a database

Posted: Sun Jun 02, 2013 5:56 pm
by Chris Hurst

only issue i have is how would i be able to have multiple boxes instead of a list that i will be able to enter information into


Read and update a database

Posted: Sun Jun 02, 2013 6:12 pm
by maxkatz

When you say boxes -- what component are you trying to use?


Read and update a database

Posted: Sun Jun 02, 2013 6:18 pm
by Chris Hurst

i was thinking of using multiple input components


Read and update a database

Posted: Sun Jun 02, 2013 6:23 pm
by maxkatz

To display and edit at the same time?


Read and update a database

Posted: Sun Jun 02, 2013 6:26 pm
by Chris Hurst

to edit on the input page and to display on the results page


Read and update a database

Posted: Sun Jun 02, 2013 6:36 pm
by maxkatz

Are you able to have one input -- as shown in the tutorial? Having two or more inputs would be the same. Define collection columns, generate services (POST for saving data) and then map services to page.