Hi.
I am to try to bring update a field in the db but I get this message of error:
"Ambiguous name detected: codproduto_AfterUpdate"
Can somme one help me Thanks
the code i have is:
Option Compare Database
Option Explicit
Private Sub Form_AfterDelConfirm(Status As Integer)
Forms![orcamento]![SubformularioDetalhes].Requery
End Sub
Private Sub codproduto_AfterUpdate()
Me![descricao] = Me![codproduto].Column(3)
End Sub
Private Sub codproduto_AfterUpdate()
Me![unidade] = Me![codproduto].Column(4)
End Sub
Private Sub codproduto_AfterUpdate()
Me![embalagem] = Me![codproduto].Column(5)
End Sub
Private Sub codproduto_AfterUpdate()
Me![preco_custo] = Me![codproduto].Column(6)
End Sub
Private Sub codproduto_AfterUpdate()
Me![preco_venda] = Me![codproduto].Column(7)
End Sub
Private Sub codproduto_AfterUpdate()
Me![mrg_uni] = Me![codproduto].Column(8)
End Sub
Private Sub codproduto_AfterUpdate()
Me![negotior] = Me![codproduto].Column(9)
End Sub
Private Sub codproduto_AfterUpdate()
Me![colaborador] = Me![codproduto].Column(10)
End Sub
I am to try to bring update a field in the db but I get this message of error:
"Ambiguous name detected: codproduto_AfterUpdate"
Can somme one help me Thanks
the code i have is:
Option Compare Database
Option Explicit
Private Sub Form_AfterDelConfirm(Status As Integer)
Forms![orcamento]![SubformularioDetalhes].Requery
End Sub
Private Sub codproduto_AfterUpdate()
Me![descricao] = Me![codproduto].Column(3)
End Sub
Private Sub codproduto_AfterUpdate()
Me![unidade] = Me![codproduto].Column(4)
End Sub
Private Sub codproduto_AfterUpdate()
Me![embalagem] = Me![codproduto].Column(5)
End Sub
Private Sub codproduto_AfterUpdate()
Me![preco_custo] = Me![codproduto].Column(6)
End Sub
Private Sub codproduto_AfterUpdate()
Me![preco_venda] = Me![codproduto].Column(7)
End Sub
Private Sub codproduto_AfterUpdate()
Me![mrg_uni] = Me![codproduto].Column(8)
End Sub
Private Sub codproduto_AfterUpdate()
Me![negotior] = Me![codproduto].Column(9)
End Sub
Private Sub codproduto_AfterUpdate()
Me![colaborador] = Me![codproduto].Column(10)
End Sub