Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Microsoft Access - List of Data on a Form

Hi

On an Access form I want to have a list that is pulled from a query or table using SQL statement.
I am using the report to create an invoice so data will be pulled from the "Invoices" table and
the "Invoice Details" tables using the ID of the invoice.
So I want to use code to build a SQL statement eg "Select Description, Unit Price, Amount From [Invoice Details] Where InvoiceID = " & oID
How do I achieve this?
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark 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
Where do you want to display the result of the query, you can display things in a form, report or you can simply use the Query wizard and put your query there and it will appear under the Queries list then you can click and run that.

What do you exactly want to do ?
Avatar of Murray Brown

ASKER

Thanks