Add a related child record from the parent edit form.

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 6, 2011   (RSS)

By rconring - May 6, 2011

I just noticed that I cannot add a related record from the parent edit form. I can only modify or erase a related record! Am I missing something?

I have a donor list and related donations for each. I can add the donation record from the donations list, but need to be able to add it from the donor record since I need to reference various data in the parent record to make sure I have the correct "John Smith". Looking up John from a dropdown list on the donation form does not tell me if I have the correct person. The way I have always handled this situation is to add various related data from the parent form since the related field can be inherited from the parent.

If it is not something simple I am missing, what would it take to achieve that functionality?
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Re: [Jason] Add a related child record from the parent edit form.

By rconring - May 6, 2011

Yep ... I figured that out and in the list query placed:

SELECT num, CONCAT(last_name,", ",first_name," - ",address)
FROM `<?php echo $TABLE_PREFIX ?>donors`

It works as far as presenting the info needed, but is very cumbersome for the person entering the data. If the donor is not in the database, they have to first make sure the doner is entered then go back to the donations to enter the related donation.

Maybe this would be a nice feature request for future versions.
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987