RoadrunnerII
Registered User.
- Local time
- Today, 16:20
- Joined
- Jun 24, 2008
- Messages
- 49
What this part of the form does is based on a Product numberID the Dlookups bring up the appropriate info for that product number
So here are the 4 Dlookups with the field names:
Manufacturer
=DLookUp("[Manufacturer]","nonserializedproducts","[ProductNumber] = '" & [Forms]![frm_NonSerializedInventory]![ProductNumberID] & "'")
Product Description:
=DLookUp("[ProductDescription]","nonserializedproducts","[ProductNumber] = '" & Forms!frm_NonSerializedInventory!ProductNumberID & "'")
Inventory Type:
=DLookUp("[Type]","qryNonSerializedInvTypes","[ProductNumber] = '" & Forms!frm_NonSerializedInventory!ProductNumberID & "'")
Product Notes:
=DLookUp("[Notes]","nonserializedproducts","[ProductNumber] = '" & Forms!frm_NonSerializedInventory!ProductNumberID & "'")
When the form loads it takes about 10 seconds or more on WAN link with a Calculating in the bottom Right
The rest of the form is up and showing only these 4 Dlookup fields are empty until the Calculating is completed
I am thinking it is the Dlookups that are slowing it down because the tables are on the SQL server
So is there a better way to do these than the Dlookups?
RRII
So here are the 4 Dlookups with the field names:
Manufacturer
=DLookUp("[Manufacturer]","nonserializedproducts","[ProductNumber] = '" & [Forms]![frm_NonSerializedInventory]![ProductNumberID] & "'")
Product Description:
=DLookUp("[ProductDescription]","nonserializedproducts","[ProductNumber] = '" & Forms!frm_NonSerializedInventory!ProductNumberID & "'")
Inventory Type:
=DLookUp("[Type]","qryNonSerializedInvTypes","[ProductNumber] = '" & Forms!frm_NonSerializedInventory!ProductNumberID & "'")
Product Notes:
=DLookUp("[Notes]","nonserializedproducts","[ProductNumber] = '" & Forms!frm_NonSerializedInventory!ProductNumberID & "'")
When the form loads it takes about 10 seconds or more on WAN link with a Calculating in the bottom Right
The rest of the form is up and showing only these 4 Dlookup fields are empty until the Calculating is completed
I am thinking it is the Dlookups that are slowing it down because the tables are on the SQL server
So is there a better way to do these than the Dlookups?
RRII

Last edited: