I have basically a vacation tracking form.
I have on the main vacation tracking for a button you can click on to search by name, so the user can then get a table listing that they can amend.
My issue now is when they make an update to the values that are returned from the query (SQL) these attributes are not getting updated in the underlying table.
My baseline code for the SQL query is below which gets me the attributes I need based off name, but how can I then get these updated in my table without also creating duped records. (For example user changes date or time-off type (Sick vs Vacation)
SELECT TIMEOFF.NAME, TIMEOFF.Date, TIMEOFF.TYPE, TIMEOFF.COMMENTS
FROM TIMEOFF
WHERE (((TIMEOFF.NAME) Like [Enter the User to Search For]));
I think I need to use UPDATE statement, but I keep getting syntax errors.
Any help is appreciated.
Thanks
I have on the main vacation tracking for a button you can click on to search by name, so the user can then get a table listing that they can amend.
My issue now is when they make an update to the values that are returned from the query (SQL) these attributes are not getting updated in the underlying table.
My baseline code for the SQL query is below which gets me the attributes I need based off name, but how can I then get these updated in my table without also creating duped records. (For example user changes date or time-off type (Sick vs Vacation)
SELECT TIMEOFF.NAME, TIMEOFF.Date, TIMEOFF.TYPE, TIMEOFF.COMMENTS
FROM TIMEOFF
WHERE (((TIMEOFF.NAME) Like [Enter the User to Search For]));
I think I need to use UPDATE statement, but I keep getting syntax errors.
Any help is appreciated.
Thanks