109bow
Registered User.
- Local time
- Today, 23:28
- Joined
- Oct 24, 2007
- Messages
- 141
Hi all,
I'm not sure this post is in the right category, but here goes!
I'm still getting to grips with Access, so please bear with me. I have form "front page 2" from which I can select 2 numbers from 2 combo boxes. The 2 combo boxes refer to the 2 halves of a train, known as north and south units. When a north unit is coupled to a south unit it then becomes a train.
With 2 numbers selected in the 2 combo boxes, I can then press 1 of the 3 buttons, coloured in different shades of purple. Each button print a different combination of reports.
As a starting point I have created many queries, which ultimately give the last data for each wheel fitted to the 2 units selected. Then a final query "record sheets" pulls the 32 queries for each wheel together along with the data entered on "front page 2" into one line, using lots of DLookup's. This query is then the source for all the reports. This works, sort of, as it is unsurprisingly very slow, especially when all this is part of a bigger DB.
In an attempt to speed things up, I have created query "lastturn3" which gives me the last record for each wheel. I am now at a loss as to how I can get the data into the correct boxes in all the reports.
Any suggestions very, very welcome.
Thanks
I'm not sure this post is in the right category, but here goes!
I'm still getting to grips with Access, so please bear with me. I have form "front page 2" from which I can select 2 numbers from 2 combo boxes. The 2 combo boxes refer to the 2 halves of a train, known as north and south units. When a north unit is coupled to a south unit it then becomes a train.
With 2 numbers selected in the 2 combo boxes, I can then press 1 of the 3 buttons, coloured in different shades of purple. Each button print a different combination of reports.
As a starting point I have created many queries, which ultimately give the last data for each wheel fitted to the 2 units selected. Then a final query "record sheets" pulls the 32 queries for each wheel together along with the data entered on "front page 2" into one line, using lots of DLookup's. This query is then the source for all the reports. This works, sort of, as it is unsurprisingly very slow, especially when all this is part of a bigger DB.
In an attempt to speed things up, I have created query "lastturn3" which gives me the last record for each wheel. I am now at a loss as to how I can get the data into the correct boxes in all the reports.
Any suggestions very, very welcome.
Thanks
Attachments
Last edited: