S
sebastico
Hello comm
I have a code in a form (MS Accees 2003)working perfect. However, if I open
the form in Access 2007 the concatenation does not work in the field CodSigCat
This the code. Could you tell me what is wrong or new in Access 2007?
Many thanks
Option Compare Database
Option Explicit
Function CodSigCat() As String
CodSigCat = Me!Prov & ""
CodSigCat = CodSigCat & Me!Cant & ""
CodSigCat = CodSigCat & Me!Dist & ""
CodSigCat = CodSigCat & Me!Bloq & ""
CodSigCat = CodSigCat & Me!Sect & ""
CodSigCat = CodSigCat & Me!NumParc & ""
End Function
Private Sub Bloq_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Cant_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Dist_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub NumParc_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Prov_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Sect_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
I have a code in a form (MS Accees 2003)working perfect. However, if I open
the form in Access 2007 the concatenation does not work in the field CodSigCat
This the code. Could you tell me what is wrong or new in Access 2007?
Many thanks
Option Compare Database
Option Explicit
Function CodSigCat() As String
CodSigCat = Me!Prov & ""
CodSigCat = CodSigCat & Me!Cant & ""
CodSigCat = CodSigCat & Me!Dist & ""
CodSigCat = CodSigCat & Me!Bloq & ""
CodSigCat = CodSigCat & Me!Sect & ""
CodSigCat = CodSigCat & Me!NumParc & ""
End Function
Private Sub Bloq_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Cant_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Dist_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub NumParc_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Prov_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub
Private Sub Sect_AfterUpdate()
Me!CodSig = CodSigCat()
End Sub