Hi,
I have this query which in facts Concatenate a Bill number (factuurnummer)
I want to save this value for later reference, but how to get the value (Factuurnummer) into my table (registratie.factuurnr)?
This is the query that produces the Billing number:
I have this query which in facts Concatenate a Bill number (factuurnummer)
I want to save this value for later reference, but how to get the value (Factuurnummer) into my table (registratie.factuurnr)?
This is the query that produces the Billing number:
Code:
SELECT Year([datum]) AS jaar,
projecten.projectid AS Project,
DatePart("ww",[datum],2,2) AS Week,
periode.Periode_naam AS Per,
[jaar] & [Project] & [Per] & [Week] AS Factuurnummer
FROM periode, projecten INNER JOIN registratie ON projecten.projectid = registratie.projectid
WHERE (((registratie.datum) Between [periode].[Periode_startdatum] And [periode].[Periode_einddatum]));