Question : Max integer value exceeded - overflowed an int column

I'm trying to combine 5 columns into one. 4 of the columns are varchar, 1 is an int (extraitem).
How do I combine them without getting the 'Max integer exceeded' message? I'm assuming that I need to convert the int column somehow...

jobsalesexti.projid + jobsalesexti.phase + jobsalesexti.prodcode + jobsalesexti.extrano + jobsalesexti.extraitem AS ProjPhaseProdItem

Thanks

Answer : Max integer value exceeded - overflowed an int column

Use vbCRLF as to put a carraige return and line feed between these.

       Dim valMessage As String
        Dim valInvolvement As String
        Dim valFirstName As String
        Dim valLastName As String

        valMessage = ""

        If IsNull(Me.txtInvolvement.Value) Then
            valMessage = valMessage & "Involvement" & crlf
        End If

        If IsNull(Me.txtFirstName.Value) Then
            valMessage = valMessage & "First Name" & crlf
        End If

        If IsNull(Me.txtLastName.Value) Then
            valMessage = valMessage & "Last Name" & crlf
        End If

        If Len(valMessage) > 0 Then
            MsgBox "These field(s) must be filled out before a Person can be saved:" & crlf & crlf & valMessage
            Cancel = True
            Exit Sub
        End If
Random Solutions  
 
programming4us programming4us