mole999
Well-known Member
- Joined
- Oct 23, 2004
- Messages
- 10,524
- Office Version
- 2019
- 2016
- 2013
- Platform
- Windows
I have the following
It lives in a Front End (multiple users, 2003 and eventually 2007), and "Units" lives in the Back End (Access 2003)
DSA to DSZ are used to populate the text on a form, which adjusts to the location. In essesence I have one form that acts as many and I can therefore from a central position change the value used for future.
Is there a quicker way that as the request for this information is read I can pull all the information over as a single hit, rather than 26 requests.
I have no server priledges and am basically confined to what i can do within the Access setup.
The usage is likely to be low so volume is not an issue, but for the few seconds this takes to be pulled, I have a user level with short attention spans and itchy hurry up fingers.
A very quick routine that copies the table from Back to Front, on each session would be considered, though I might not need the information for days
Code:
DSA = DLookup("[DSA]", "Units", "[Unit]=Forms!Data![Hospital]")
DSB = DLookup("[DSB]", "Units", "[Unit]=Forms!Data![Hospital]")
DSC = DLookup("[DSC]", "Units", "[Unit]=Forms!Data![Hospital]")
DSD = DLookup("[DSD]", "Units", "[Unit]=Forms!Data![Hospital]")
It lives in a Front End (multiple users, 2003 and eventually 2007), and "Units" lives in the Back End (Access 2003)
DSA to DSZ are used to populate the text on a form, which adjusts to the location. In essesence I have one form that acts as many and I can therefore from a central position change the value used for future.
Is there a quicker way that as the request for this information is read I can pull all the information over as a single hit, rather than 26 requests.
I have no server priledges and am basically confined to what i can do within the Access setup.
The usage is likely to be low so volume is not an issue, but for the few seconds this takes to be pulled, I have a user level with short attention spans and itchy hurry up fingers.
A very quick routine that copies the table from Back to Front, on each session would be considered, though I might not need the information for days