Here's a problem from an incipient revegetation planting calculator...
I want to query a list of only those records from [plant_list] that are found in [template_cover]. There may be many entries in [template_cover] for each in [plant_list]. BUT I want to be able to modify the values of [plant_list.spacing_id] in a subsequent form. When I use DISTINCTROW function to get the summary list it keeps me from modifying [plant_list.spacing_ID]!
heres the structure..
#1# [tbl_plants] a master plant list 400+ record
plant_id (key)
spacing_id (lookup to a spacing class table)
#2# [tbl_temp_plant_link]
template_link_ID (key)
plant_id
template_id
percent_cover
This SQL gets me the list but prevents me from editing tbl_plants.
SELECT DISTINCTROW tbl_plants.plant_ID
FROM tbl_plants INNER JOIN tbl_temp_plant_link ON tbl_plants.plant_ID=tbl_temp_plant_link.[plant_id]
GROUP BY tbl_plants.plant_ID;
Thanks for any assistance. let me know if this goes beyond the scope of the query forum
pc
I want to query a list of only those records from [plant_list] that are found in [template_cover]. There may be many entries in [template_cover] for each in [plant_list]. BUT I want to be able to modify the values of [plant_list.spacing_id] in a subsequent form. When I use DISTINCTROW function to get the summary list it keeps me from modifying [plant_list.spacing_ID]!
heres the structure..
#1# [tbl_plants] a master plant list 400+ record
plant_id (key)
spacing_id (lookup to a spacing class table)
#2# [tbl_temp_plant_link]
template_link_ID (key)
plant_id
template_id
percent_cover
This SQL gets me the list but prevents me from editing tbl_plants.
SELECT DISTINCTROW tbl_plants.plant_ID
FROM tbl_plants INNER JOIN tbl_temp_plant_link ON tbl_plants.plant_ID=tbl_temp_plant_link.[plant_id]
GROUP BY tbl_plants.plant_ID;
Thanks for any assistance. let me know if this goes beyond the scope of the query forum
pc