>When creating a Mainform/subform, will the One to many table-in my example table A- be use as the mainform, and will table B-the one that has the foreign key from table A- be use as a subform ?
The design is yours, so you tell me. That is certainly a very common approach.
Entering the values in table A as a Mainform, will that put the value in the foreign key of table B ?
No. No. No. How many B rows should it insert and what values should go in the other columns of table B?
>How come when I run the query using table A and table B the query does not returned any results ?
Because you are using an inner join to table B which does not have any matching rows yet. Use an outer join to table B or add rows to table B and your query will return results.