Link to home
Start Free TrialLog in
Avatar of allfredeneuman
allfredeneuman

asked on

Access Query Development

Hi,

How do I create an MS Access query which will populate multiple rows in a table based on selecting row from an existing table 'where' the selection criteria is based on the value from an open form.

the SQL pseudo code would be something like:

select * into NewTable
from OldTable
where field value in OldTable = archive_id from a form

Thanks
AEN
Avatar of mbizup
mbizup
Flag of Kazakhstan image

select * into NewTable
from OldTable
where OldTable.YourField = Forms!YourFormName!archive_id 

Open in new window

SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of allfredeneuman
allfredeneuman

ASKER

I accepted multiple solutions. mbizup got most of the points but I could see myself using Helen_Feddema solution in another scenario.

Thank you