How to pass a virtual Field Parameneter to a Query

Please help if you can.
I have a main Form that needs to be able to enter two (Virtual Filelds):
(Virtual Field A = where I am to enter (“ID Value”) and then
(Virtual Field B) = where I to enter numeric number Value.

Then the Main Form is to call A query that suppose to use this “ID Value” to find the coresponding record in its “Table”
and to perform calculation such as division on some of its numeric fields, of its Record with the Virtual Parameter (Field B) that was passed by the Main Form.

Output the Result.

Idealy if possible to use a list box in Main Form to be able to choose the specific record of the Table.
Thank you very much.

Please delete all duplicates of this question. This question is a duplicate of How to pass a virtual Field Parameneter to a Query. Thanks in advance …