So this is library system , na binibuild ko for capstone project namin using VB2010, I'm a little bit confused kong paano kunin yung penalty implementation.
I have 2 DatePicker one is for Date Borrowed second is for Date Due.
Penalty is 1 per day.
Paano ko po ba i sisetup code nito.
Assume ko lang po ganito.
Dim Penalty As Integer
If DateDue <= CurrentDate
Penalty+=1
End If
Paano po ba ang tamang logic /code nito, para makuha yung days na due date na yung book.
Ps. Tia
I have 2 DatePicker one is for Date Borrowed second is for Date Due.
Penalty is 1 per day.
Paano ko po ba i sisetup code nito.
Assume ko lang po ganito.
Dim Penalty As Integer
If DateDue <= CurrentDate
Penalty+=1
End If
Paano po ba ang tamang logic /code nito, para makuha yung days na due date na yung book.
Ps. Tia