A family of Microsoft relational database management systems designed for ease of use.
You need to create a query that joins your all three tables . Join Sales and Purchase to Product on ProductID. Add the ProductID, ProductName columns from Products and the SalesQty and PurchaseQty fields. Turn the query into a Group By query, Group on ProductID and ProductName, and Sum the two Quantity fields. Finally add a column to calc the difference:
Difference: Sum(ProductQty)-Sum(SalesQty)
Then use that query as the Recordsource of your Continuous form.
Note: this might be better as a report rather than a form since you won't be able to edit the data.