Crookshanks
Technical User
Goodafternoon,
I have got a small question. I am building a Form, and on that form a particular textbox (me.txtId.value) provides a value that I want to user in my Query:
SELECT tbl_Intresses.INTRESSE_ID, tbl_ObjectGroepen.CODE, tbl_ObjectGroepen.OMSCHRIJVING, tbl_Intresses.KANDIDAAT_ID
FROM tbl_ObjectGroepen INNER JOIN (tbl_Kandidaten INNER JOIN tbl_Intresses ON tbl_Kandidaten.KANDIDAAT_ID = tbl_Intresses.KANDIDAAT_ID) ON tbl_ObjectGroepen.OBJECTGROEP_ID = tbl_Intresses.OBJECTGROEP_ID
WHERE (((tbl_Intresses.KANDIDAAT_ID)='me.txtid.value'));
But after that the form is loaded the query does not run as expected. Also not when I am browsing through the records.
Q: Hoe can I provide that value on a form in a query (by means of an expression?)?
Any help appreciated, thanks in advance,
I have got a small question. I am building a Form, and on that form a particular textbox (me.txtId.value) provides a value that I want to user in my Query:
SELECT tbl_Intresses.INTRESSE_ID, tbl_ObjectGroepen.CODE, tbl_ObjectGroepen.OMSCHRIJVING, tbl_Intresses.KANDIDAAT_ID
FROM tbl_ObjectGroepen INNER JOIN (tbl_Kandidaten INNER JOIN tbl_Intresses ON tbl_Kandidaten.KANDIDAAT_ID = tbl_Intresses.KANDIDAAT_ID) ON tbl_ObjectGroepen.OBJECTGROEP_ID = tbl_Intresses.OBJECTGROEP_ID
WHERE (((tbl_Intresses.KANDIDAAT_ID)='me.txtid.value'));
But after that the form is loaded the query does not run as expected. Also not when I am browsing through the records.
Q: Hoe can I provide that value on a form in a query (by means of an expression?)?
Any help appreciated, thanks in advance,