Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Function Alert_WaarS3() As Boolean
For Each NRow In Me.OmschrijvingartikelenDataGridView.Rows
If NRow.Cells(7).Value IsNot DBNull.Value Then
If VarType(NRow.Cells(7).Value) = vbInteger Then
NRow.DefaultCellStyle.ForeColor = Color.Black
ElseIf VarType(NRow.Cells(7).Value) = vbString Then
NRow.DefaultCellStyle.ForeColor = Color.Blue
Else
End If
End If
Next
End Function
Function Alert_WaarS() As Boolean
For Each NRow In Me.OmschrijvingartikelenDataGridView.Rows
if NRow.Cells(7).Value IsNot DBNull.Value Then
If Isnumeric(NRow.Cells(7).Value()) = false Then
NRow.DefaultCellStyle.ForeColor = Color.Blue
End If
elseIf NRow.Cells(6).Value IsNot DBNull.Value Then
If val(NRow.Cells(6).Value()) < 1 Then
NRow.DefaultCellStyle.ForeColor = Color.Red
Label1.Text = "LET OP " & vbNewLine & "Geen voorraad" & vbNewLine & vbNewLine & vbNewLine & "Van de rood geaceered artikelen"
Label1.Image = ImageList1.Images(0)
Else
NRow.DefaultCellStyle.ForeColor = Color.Black
End If
Next
End Function
Function Alert_WaarS2() As Boolean
For Each NRow In Me.OmschrijvingartikelenDataGridView.Rows
If NRow.Cells(7).Value IsNot DBNull.Value Then
If IsNumeric(NRow.Cells(7).Value()) = False Then
NRow.DefaultCellStyle.ForeColor = Color.Blue
ElseIf NRow.Cells(6).Value IsNot DBNull.Value Then
If Val(NRow.Cells(6).Value()) < 1 Then
NRow.DefaultCellStyle.ForeColor = Color.Red
Label1.Text = "LET OP " & vbNewLine & "Geen voorraad" & vbNewLine & vbNewLine & vbNewLine & "Van de rood geaceered artikelen"
Label1.Image = ImageList1.Images(0)
Else
NRow.DefaultCellStyle.ForeColor = Color.Black
End If
End If
End If
Next
End Function
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.