Hi!
I have a table with 2 columns, 'year' and 'month'. I want to create a query which creates a date from these two numbers.
In the design view of the query, my current code in the field-cell is:
Datum: DateSerial([SELECT Year FROM QueryTotal];[SELECT Month FROM QueryTotal];1)
QueryTotal is a query which contains all the data.
When I run the query access asks me to enter a parameter value for year and month... So it is not working, what am I doing wrong? Anyone a suggestion?
I am rather new in SQL-stuff, perhaps I am overlooking the obvious...
please inform me!
Willem!
I have a table with 2 columns, 'year' and 'month'. I want to create a query which creates a date from these two numbers.
In the design view of the query, my current code in the field-cell is:
Datum: DateSerial([SELECT Year FROM QueryTotal];[SELECT Month FROM QueryTotal];1)
QueryTotal is a query which contains all the data.
When I run the query access asks me to enter a parameter value for year and month... So it is not working, what am I doing wrong? Anyone a suggestion?
I am rather new in SQL-stuff, perhaps I am overlooking the obvious...
Willem!