Z
Zanstemic
The following is an event procedure that runs After Update of a pull down
menu. Everyone works fine except for number 7 which returns a null value. If
I switch the phone and fax, in the sql code or in the procedure, it works
fine.
Any suggestions?
Event Procudure
Private Sub cboAttorneyID_AfterUpdate()
attorneystreetaddress = cboAttorneyID.Column(2)
attorneycitystatezip = cboAttorneyID.Column(3) & ", " &
cboAttorneyID.Column(4) & " " & cboAttorneyID.Column(5)
attorneyphone = cboAttorneyID.Column(6)
attorneyfax = cboAttorneyID.Column(7)
End Sub
Query
SELECT Attorney.AttorneyID, [Attorney.LastName] & ", " & [Attorney.First
Name] AS Expr1, Attorney.Address, Attorney.City, Attorney.State,
Attorney.Zip, Attorney.Fax, Attorney.Phones
FROM Attorney
ORDER BY [Attorney.LastName] & ", " & [Attorney.First Name];
menu. Everyone works fine except for number 7 which returns a null value. If
I switch the phone and fax, in the sql code or in the procedure, it works
fine.
Any suggestions?
Event Procudure
Private Sub cboAttorneyID_AfterUpdate()
attorneystreetaddress = cboAttorneyID.Column(2)
attorneycitystatezip = cboAttorneyID.Column(3) & ", " &
cboAttorneyID.Column(4) & " " & cboAttorneyID.Column(5)
attorneyphone = cboAttorneyID.Column(6)
attorneyfax = cboAttorneyID.Column(7)
End Sub
Query
SELECT Attorney.AttorneyID, [Attorney.LastName] & ", " & [Attorney.First
Name] AS Expr1, Attorney.Address, Attorney.City, Attorney.State,
Attorney.Zip, Attorney.Fax, Attorney.Phones
FROM Attorney
ORDER BY [Attorney.LastName] & ", " & [Attorney.First Name];