Beastie
07-31-2008, 09:37 PM
Hi, I need help with defining the forms source as the latest row of the table - and I need to give the report this if/thens as I have in Form - they affect number of the document (I need to in every open increase ++)
Private Sub Form_Open(Cancel As Integer)
If (Text70.Value) = "Hamrozi František" Then
text8.Value = "000"
End If
//these if are there multiply, only the name and the number is changing//
znacka.Value = Int(znacka.Value) + Int(1)
//this I hope will do the increasing
End Sub
The problem is, that the text70.value is a combobox based on column and I need it to log the last row in the table. (it would do the drill just for this combo , not the form actually)
Please help :)
Bye Tess
Private Sub Form_Open(Cancel As Integer)
If (Text70.Value) = "Hamrozi František" Then
text8.Value = "000"
End If
//these if are there multiply, only the name and the number is changing//
znacka.Value = Int(znacka.Value) + Int(1)
//this I hope will do the increasing
End Sub
The problem is, that the text70.value is a combobox based on column and I need it to log the last row in the table. (it would do the drill just for this combo , not the form actually)
Please help :)
Bye Tess