Looping VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Looking for proper syntax for a loop in a loop vba.

I have a table with Job information and another table related to it with
order information. I am looking for a way to loop through all jobs and then
list the orders for each job. I am actually going to print this info to an
email, here is an example of what I would like:



Job 100

Order 1 Order Desc
Order 2 Order Desc
Order 3 Order Desc



Thanks
 
I want to loop through each job and put the job number and all associated
Orders with that job in a seperate email, the email part I can do, I always
get my wires crossed when it comes to looping through a recordset though. The
purpose is to notify relevant associates about outstanding orders to be
processed. I could do this on an individual basis, but I would like to do it
all at once.

Thanks
 
You don't need to loop here. All you do is create a report, and drop in a
sub-report for the details.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

VBA loops 1
PowerPoint Randomise slides and have an infinite loop 0
Access Inventory Calculation 0
MS ACCESS INVENTORY CALCULATION 0
Looping or Do While statement? 10
Excel Populate Delivery Note 0
SQL TOP 50,000 Help 11
Change a Form's recordsource dynamically? 12

Back
Top