G
Guest
Dears,
Good afternoon.
I am using the Access to create some forms based on some tables and queries.
I defined a query that brings me more than one line.
I have a form that is based on this query.
I have one field in this form for each query row and I need to select the
correct query value for each field and I have the right WHERE statement to
request this value for each one.
I tried to add this WHERE statement in the text box property (Control
Source) and it didn't run (I think I need a simple sample about it).
Also, I tried to execute a query in the event procedure to populate this
field, however, I didn't found any simple sample of how to run a query
(select statement) inside the event procedure.
The last thing I could try is to create one query for each field, however, I
think should be an easier way to do it.
Could you please, help me on this?
Thanks and regards.
Paulo Henrique.
Good afternoon.
I am using the Access to create some forms based on some tables and queries.
I defined a query that brings me more than one line.
I have a form that is based on this query.
I have one field in this form for each query row and I need to select the
correct query value for each field and I have the right WHERE statement to
request this value for each one.
I tried to add this WHERE statement in the text box property (Control
Source) and it didn't run (I think I need a simple sample about it).
Also, I tried to execute a query in the event procedure to populate this
field, however, I didn't found any simple sample of how to run a query
(select statement) inside the event procedure.
The last thing I could try is to create one query for each field, however, I
think should be an easier way to do it.
Could you please, help me on this?
Thanks and regards.
Paulo Henrique.