Basic Knowledge and FAQs?
Posted: Wed May 15, 2024 3:54 pm
Hi all,
I was playing with nuBuilder several years ago, but didn't had time to dive too much into it, and here we are. I'm working on a little web application for an association, and I'm searching several questions without success. For example.
- How to make SQL CRUD from PHP? There are specific functions for that? When an user enters on a form, I want to check if that user has a record on a table, and if not create it.
- I want to call another form/browse with a parameter from a button.
As you see, basic questions but I don't know if there are some place with basic tutorials functionality.
I see there are PHP and JS places to code, but I don't know the frameworks calls to do what I want.
Regards.
EDITED: To be more specific about SQL CRUD operations. Maybe I'm doing something wrong. I have a master detail. But each user only will have one master, and several details for that master. I can show a browse with records only for my user (one record BTW), and this do the job, because I don't like at all the GRID/FORM behaviour of subform objects, then what I'm looking for is.
From Master Edit form to call the detail form in creation mode, passing the PK to use it as FK, or from master browse, add a button to call the detail edit form in creation mode, and there add the specific logic to get the ID of the record of that user. In the middle, if the user master record doesn't exists, to create it.
I was playing with nuBuilder several years ago, but didn't had time to dive too much into it, and here we are. I'm working on a little web application for an association, and I'm searching several questions without success. For example.
- How to make SQL CRUD from PHP? There are specific functions for that? When an user enters on a form, I want to check if that user has a record on a table, and if not create it.
- I want to call another form/browse with a parameter from a button.
As you see, basic questions but I don't know if there are some place with basic tutorials functionality.
I see there are PHP and JS places to code, but I don't know the frameworks calls to do what I want.
Regards.
EDITED: To be more specific about SQL CRUD operations. Maybe I'm doing something wrong. I have a master detail. But each user only will have one master, and several details for that master. I can show a browse with records only for my user (one record BTW), and this do the job, because I don't like at all the GRID/FORM behaviour of subform objects, then what I'm looking for is.
From Master Edit form to call the detail form in creation mode, passing the PK to use it as FK, or from master browse, add a button to call the detail edit form in creation mode, and there add the specific logic to get the ID of the record of that user. In the middle, if the user master record doesn't exists, to create it.