Notice: Undefined offset: 2 in /home2/icentarb/public_html/icentar/classes/class.permissions.php on line 735
Private Sub Form_BeforeUpdate(Cancel As Integer) Dim StatusK, Ctl As Control, Frm As Form, Vrijednost Dim Polje As String Polje = "Status Kupca" Set Frm = Me.Form StatusK = Trim(Me.StatusKupca) If Format$(StatusK) = "" Then GoTo Kraj If Me.StatusKupca = 1 Then Vrijednost = Me.ImeKupca If Format$(Vrijednost) = "" Then Polje = Me.ImeKupca.Controls.Item(0).Caption GoTo Kraj End If Else For Each Ctl In Frm.Controls If Ctl.ControlType = acTextBox Then Vrijednost = Ctl If Format$(Vrijednost) = "" Then Polje = Ctl.Controls.Item(0).Caption