Hi
I have a main-form called X and subform called y, When I click on the subform I sent an ID to x form to textbox object.so far it works fine
I have a table called z. I would like to load all field froim z table that related to the id in my textbox. when I display the textbox I can see that the value is chaging everytime I click on a different value in the y form
something like:
for some reason it doensn't recognize the id at the query
Can someone help me?
I have a main-form called X and subform called y, When I click on the subform I sent an ID to x form to textbox object.so far it works fine
I have a table called z. I would like to load all field froim z table that related to the id in my textbox. when I display the textbox I can see that the value is chaging everytime I click on a different value in the y form
something like:
Code:
"select id,firstname,latname from z where id=" & textbox.value
Can someone help me?