B
Barry A&P
I have a form with multiple unbound text boxes and a bunch of dlookups in VBA
to populate them all when the afterupdate of my SerialNumberIDcombo fires..
Since i am only working with two tables there must be a better more efficient
way to get the values i am after..
here is a query that gets me what i want but i dont know how to set multiple
unbound boxes from the result maybe i need an intro to arrays or something??
SELECT T_SerialNumbers.SerialNumberID, T_PartNumbers.[(NSN)],
T_PartNumbers.PartNumber, T_PartNumbers.Description,
T_SerialNumbers.SerialNumber, T_SerialNumbers.SNNotes FROM T_PartNumbers
INNER JOIN T_SerialNumbers ON
T_PartNumbers.PartNumberID=T_SerialNumbers.PartNumberID WHERE
(((T_SerialNumbers.SerialNumberID)=Me!SerialNumberIDCombo));
in the after update of Me!SerialNumberIDCombo i would like to set;
UnboundNSN = [NSN]
UnboundPartNumber = [partnumber] .ect
Maybe a single refined Dlookup can get me there..
Any help would be greatly appreciated
Barry
to populate them all when the afterupdate of my SerialNumberIDcombo fires..
Since i am only working with two tables there must be a better more efficient
way to get the values i am after..
here is a query that gets me what i want but i dont know how to set multiple
unbound boxes from the result maybe i need an intro to arrays or something??
SELECT T_SerialNumbers.SerialNumberID, T_PartNumbers.[(NSN)],
T_PartNumbers.PartNumber, T_PartNumbers.Description,
T_SerialNumbers.SerialNumber, T_SerialNumbers.SNNotes FROM T_PartNumbers
INNER JOIN T_SerialNumbers ON
T_PartNumbers.PartNumberID=T_SerialNumbers.PartNumberID WHERE
(((T_SerialNumbers.SerialNumberID)=Me!SerialNumberIDCombo));
in the after update of Me!SerialNumberIDCombo i would like to set;
UnboundNSN = [NSN]
UnboundPartNumber = [partnumber] .ect
Maybe a single refined Dlookup can get me there..
Any help would be greatly appreciated
Barry