Minggu, 06 Mei 2018

Re: [MS_AccessPros] Re: Creating the right number of records - loop logic

 

Ray- Glad I could be of help. Keep us posted on your progress.

Regards,
Bill Mosca

------ Original message------
From: rayfrew@gmail.com [MS_Access_Professionals]
Date: Sun, May 6, 2018 7:27 AM
Cc:
Subject:[MS_AccessPros] Re: Creating the right number of records - loop logic

 

Hi Bill


Thanks for your reply / nudge in the right direction.  It's funny that after you write down a problem and ask for help your mind keeps churning the problem overnight and you wake up with an idea.  I thought of having 2 recordsets one for the rows in a table that shows the details of the campaign and one that's based on a query of possible editions for a magazine.  I'd walk through the table recordset using movenext and for each entry go to the query recordset to find the first matching edition and walk through that one creating entries in the booking table.
Your solution is so elegant and it's made me realise that I should be creating more sub routines to handle the data manipulation.  It makes the code in the body of the form simpler to follow - and easier to debug later.

Thanks for your help, I'm sure i can move forward with this.
Best regards
Ray

__._,_.___

Posted by: wrmosca <wrmosca@comcast.net>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar