In Access 2013 db, I've written two queries.
A Query having Parameter
SELECT [par], IIf(Len([par])>=4,Left(([par]),4),"") AS first_part, IIf(Len([par])>=6,Left(([par]),6),"") AS second_part, IIf(Len([par])>=8,Left(([par]),8),"") AS third_part;
A Query without Parameter
SELECT par_list.par, IIf(Len(par_list.par)>=4,Left((par_list.par),4),"") AS first_part, IIf(Len(par_list.par)>=6,Left((par_list.par),6),"") AS second_part, IIf(Len(par_list.par)>=8,Left((par_list.par),8),"") AS third_part
FROM par_list;
I want to rewrite the second query with the first query. How ?
I want to use the first query as function within other queries. How ?
Most Access parameter query call examples use VBA. CAN we call parameter query within another query, WITHOUT using VBA?