C
Charlieo
What did I do wrong?
Private Sub AdvertiserCombo_AfterUpdate()
If ([queries].[q_Advertiser_ID].[Billing_Name]) Is Null Then
Me.ID.Value = Me.AdvertiserCombo.Column(1)
Me.AdvertiserName.Value = Me.AdvertiserCombo.Column(0)
Me.AdvertiserAddress.Value = Me.AdvertiserCombo.Column(2)
Me.AdvertiserCity.Value = Me.AdvertiserCombo.Column(3)
Me.AdvertiserState.Value = Me.AdvertiserCombo.Column(4)
Me.AdvertiserZip.Value = Me.AdvertiserCombo.Column(5)
Else
Me.ID.Value = Me.AdvertiserCombo.Column(1)
Me.AdvertiserName.Value = [queries].[q_Advertiser ID].[Billing Name]
Me.AdvertiserAddress.Value = [queries].[q_Advertiser ID].[Billing Address]
Me.AdvertiserCity.Value = [queries].[q_Advertiser ID].[Billing City]
Me.AdvertiserState.Value = [queries].[q_Advertiser ID].[Billing St]
Me.AdvertiserZip.Value = [queries].[q_Advertiser ID].[Billing Zip]
End If
End Sub
Charlie
Private Sub AdvertiserCombo_AfterUpdate()
If ([queries].[q_Advertiser_ID].[Billing_Name]) Is Null Then
Me.ID.Value = Me.AdvertiserCombo.Column(1)
Me.AdvertiserName.Value = Me.AdvertiserCombo.Column(0)
Me.AdvertiserAddress.Value = Me.AdvertiserCombo.Column(2)
Me.AdvertiserCity.Value = Me.AdvertiserCombo.Column(3)
Me.AdvertiserState.Value = Me.AdvertiserCombo.Column(4)
Me.AdvertiserZip.Value = Me.AdvertiserCombo.Column(5)
Else
Me.ID.Value = Me.AdvertiserCombo.Column(1)
Me.AdvertiserName.Value = [queries].[q_Advertiser ID].[Billing Name]
Me.AdvertiserAddress.Value = [queries].[q_Advertiser ID].[Billing Address]
Me.AdvertiserCity.Value = [queries].[q_Advertiser ID].[Billing City]
Me.AdvertiserState.Value = [queries].[q_Advertiser ID].[Billing St]
Me.AdvertiserZip.Value = [queries].[q_Advertiser ID].[Billing Zip]
End If
End Sub
Charlie