R
RIP
I know this is getting old, but please bare with me...
This is the SQL Statement that is currently on my form's model combo box row
source:
SELECT tblModel.model, tblModel.bstyle, tblModel.engine FROM tblMake RIGHT
JOIN tblModel ON tblMake.make=tblModel.make WHERE
(((tblMake.make)=forms!frmInventory!Make)) ORDER BY tblModel.model;
It works perfect, but I would like to add a "<Add New>" value to the list
generated by this query. I tried adding the "<Add New>" directly to the
table, but it keeps getting filtered out by the criteria of the query.
Eventhough I am not familiar with SQL syntax, I tried using a UNION query.
I used the following statement:
SELECT tblModel.model, tblModel.bstyle, tblModel.engine FROM tblMake RIGHT
JOIN tblModel ON tblMake.make=tblModel.make WHERE
(((tblMake.make)=forms!frmInventory!Make)) ORDER BY tblModel.model UNION
SELECT "<Add New>", NULL, NULL, FROM tblModel;
Needless to say, I am getting syntax errors out the wazoo...
Thanks in advance for all the help you guyz have given me...
Walter
This is the SQL Statement that is currently on my form's model combo box row
source:
SELECT tblModel.model, tblModel.bstyle, tblModel.engine FROM tblMake RIGHT
JOIN tblModel ON tblMake.make=tblModel.make WHERE
(((tblMake.make)=forms!frmInventory!Make)) ORDER BY tblModel.model;
It works perfect, but I would like to add a "<Add New>" value to the list
generated by this query. I tried adding the "<Add New>" directly to the
table, but it keeps getting filtered out by the criteria of the query.
Eventhough I am not familiar with SQL syntax, I tried using a UNION query.
I used the following statement:
SELECT tblModel.model, tblModel.bstyle, tblModel.engine FROM tblMake RIGHT
JOIN tblModel ON tblMake.make=tblModel.make WHERE
(((tblMake.make)=forms!frmInventory!Make)) ORDER BY tblModel.model UNION
SELECT "<Add New>", NULL, NULL, FROM tblModel;
Needless to say, I am getting syntax errors out the wazoo...
Thanks in advance for all the help you guyz have given me...
Walter