View Single Post
 
Old 04-08-2013, 11:07 AM
Tornado70 Tornado70 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Apr 2013
Posts: 4
Tornado70 is on a distinguished road
Default

Thanks for the information, I had no idea where to start but this has helped. I can't quite get the code you gave to work correctly, it prompts for the date and shift but whatever I enter it still pulls in all records.

I have worked out from your code how to use the SKIPIF command to get records for today's date and a specified 'shift', which means using a separate document for each shift will give me what I need.

It would be nice to have the prompt working to give the option of printing other dates.

Just in case it helps, the date field is in UK format, ie DDMMYYYY and the shift field is either:
6-2 or 2-10

If there are any other suggestions it would be much appreciated.
Reply With Quote