CodeChargeMVP
Posts: 473
|
| Posted: 05/17/2010, 6:06 AM |
|
Hello,
This is my first post on the PHP section,the question is real simple for an experience
CodeCharge PHP professional so I hope we can solved it.
The Issue:
A normal complete search/record grid which has been created with the codecharge toolbar,
We Show it to our customer and he ask us to delete a field on the record grid and add whatever
new fields, textbox, listbox etc..
Obviously we don´t wanna create a new form but we want to modiy the php code in the way
than the record grid still working and recording on the table which was created,
so I´ve try to show an echo("show a window"); inside the function insert,
but i can´t get that message so the question is:
When modifying an record grid which part of the php code shoul i look for,
¿function insert? ¿ how does it work on the php code?
Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
magus
Posts: 98
|
| Posted: 05/17/2010, 8:56 AM |
|
Hello,
I'm not sure about your question.
Do you mean: "How do I modify a Record or Grid component after the CodeChargeStudio builder has completed?"
Or perhaps you mean: "How do I dynamically add fields to a record or editable grid and have those dynamically added fields processed when submitted?"
If it is the first question, then the answer is pretty easy. Use the editing tool in CodeChargeStudio and the form / database interactions will pretty much automatically be updated.
If it is the second question, the answer is a lot more complicated and, unless you are very expert with CodeChargeStudio, not worth attempting.
Regards,
Don A
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 05/18/2010, 2:01 AM |
|
Quote magus:
Hello,
I'm not sure about your question.
Do you mean: "How do I modify a Record or Grid component after the CodeChargeStudio builder has completed?"
Or perhaps you mean: "How do I dynamically add fields to a record or editable grid and have those dynamically added fields processed when submitted?"
If it is the first question, then the answer is pretty easy. Use the editing tool in CodeChargeStudio and the form / database interactions will pretty much automatically be updated.
If it is the second question, the answer is a lot more complicated and, unless you are very expert with CodeChargeStudio, not worth attempting.
Regards,
Don A
Hello Don A,
Yes my question is the second one,I got the kownledges if you give me some orientation
I´ll make it work.
What happens on the record grid now is when adding a new record it insert in all the database fields,but the two new fields than i´ve add are inserted with null value and that´s not correct, so
¿what should i modify on the php code to correct the issue?
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 05/18/2010, 3:53 AM |
|
Maybe what i´m looking for is about Custom Insert,so it´d be fine than an admin move the post to general.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
|