G
Guest
I'm sure I'm just tired, but I can't get this.
I have a table, "sale_information"
containing field "sale_dateID" as number
and "sale_current" as Yes/No
I have it joined to table "sale_dates"
containing "sale_date_ID" as number
and "sale_date" as date
I have a query filtering them to only return the current sale:
SELECT table_sale_information.sale_current, table_sale_dates.sale_date_id
FROM table_sale_dates INNER JOIN table_sale_information ON
table_sale_dates.sale_date_id = table_sale_information.sale_date
WHERE (((table_sale_information.sale_current)=True));
and now I have a form in which I enter sales of items, which I would like to
store the current date id in the field "clerking_date_ID", but I can't figure
out how to make the current date in the query become the default value for
the form field.
The current date's ID value right now is 1, but everything I try either
brings up a 0, or an error.
I have tried filtering the "clerking_date_id" field by the query, creating a
new text box containing the query result, creating a new combo containing the
result, but I can't get that 1 to show up.
What am I missing?
I have a table, "sale_information"
containing field "sale_dateID" as number
and "sale_current" as Yes/No
I have it joined to table "sale_dates"
containing "sale_date_ID" as number
and "sale_date" as date
I have a query filtering them to only return the current sale:
SELECT table_sale_information.sale_current, table_sale_dates.sale_date_id
FROM table_sale_dates INNER JOIN table_sale_information ON
table_sale_dates.sale_date_id = table_sale_information.sale_date
WHERE (((table_sale_information.sale_current)=True));
and now I have a form in which I enter sales of items, which I would like to
store the current date id in the field "clerking_date_ID", but I can't figure
out how to make the current date in the query become the default value for
the form field.
The current date's ID value right now is 1, but everything I try either
brings up a 0, or an error.
I have tried filtering the "clerking_date_id" field by the query, creating a
new text box containing the query result, creating a new combo containing the
result, but I can't get that 1 to show up.
What am I missing?