Problem creating new forms.
Posted: Sun Aug 16, 2009 1:17 am
Help!
I installed the “vanilla” nuBuilder into my own data base, which seems to have worked okay. All the nuBuilder tables are there and populated. I then added my own database to the “db” folder of nuBuilder and modified the php code to access it. This all seems to work well. I can start up the nuBuilder environment and it does point properly to my database. The tables in my database are already populated with test data.
I have attempted to create my own forms for my own database, following the example in the first tutorial on creating basic forms. I created a selection list, using the “INDEX” form, with a button object that launches a new form, MSS1000.
The new form, MSS1000, includes two text objects, cust_acct_type and cust_acct_desc, which are in the table MSCTP100 (a table in my own database).
When I refresh, the button I added to launch my form (MSS1000) works and the form appears and is populated with the data from my table (MSCTP100). Please see attachment MSS1000withdata.jpg. However, when a line to select it, the form is displayed without the data to be deleted. Please see attachment SelectedBlank.jpg.
Also, if I press the “Add” button the unpopulated form is display. I enter data into the form fields and press “Save”, but the record has not been saved into my table (MSCTP100).
I have also attached screen shots of the nuBuilder screens used to create the form and various objects. What am I leaving out or doing wrong?
I tried to attach the screen shots, but the zip file is too large, 538K. Do you have an alternative for sending them?
Thanks,
Merrill
I installed the “vanilla” nuBuilder into my own data base, which seems to have worked okay. All the nuBuilder tables are there and populated. I then added my own database to the “db” folder of nuBuilder and modified the php code to access it. This all seems to work well. I can start up the nuBuilder environment and it does point properly to my database. The tables in my database are already populated with test data.
I have attempted to create my own forms for my own database, following the example in the first tutorial on creating basic forms. I created a selection list, using the “INDEX” form, with a button object that launches a new form, MSS1000.
The new form, MSS1000, includes two text objects, cust_acct_type and cust_acct_desc, which are in the table MSCTP100 (a table in my own database).
When I refresh, the button I added to launch my form (MSS1000) works and the form appears and is populated with the data from my table (MSCTP100). Please see attachment MSS1000withdata.jpg. However, when a line to select it, the form is displayed without the data to be deleted. Please see attachment SelectedBlank.jpg.
Also, if I press the “Add” button the unpopulated form is display. I enter data into the form fields and press “Save”, but the record has not been saved into my table (MSCTP100).
I have also attached screen shots of the nuBuilder screens used to create the form and various objects. What am I leaving out or doing wrong?
I tried to attach the screen shots, but the zip file is too large, 538K. Do you have an alternative for sending them?
Thanks,
Merrill