Hello =) my program is a inventory type. It has a 5 Forms, and 3 of those forms are main; the Main, Add and the Edit.
*Add Form is perfectly working fine for adding up data to the Listview.
It has a 3 Combo-boxes for cboSchool, cboDepartment, and cboStatus.
*Edit Form same with Add Form.
Problem: Everytime I click a Data from the Listview and press the command for Edit form - an Compile error: Variable not defined
I guess the Error is on the Edit form so here are the Codes for Edit Form
Please help me. This is for my thesis guys :)
*Add Form is perfectly working fine for adding up data to the Listview.
It has a 3 Combo-boxes for cboSchool, cboDepartment, and cboStatus.
*Edit Form same with Add Form.
Problem: Everytime I click a Data from the Listview and press the command for Edit form - an Compile error: Variable not defined
I guess the Error is on the Edit form so here are the Codes for Edit Form
Code:
Private Sub Form_Activate()
FindRecordset "Select * From Finder Where Owner = '" & txtOwner & "';"
If Not FindRs.BOF = True Or FindRs.EOF = False Then
txtOwner.Text = FindRs.Fields("Owner")
txtIDNumber.Text = FindRs.Fields("IDNUmber")
cboStatus.Text = FindRs.Fields("Status")
cboSchool.Text = FindRs.Fields("School")
cboDepartment.Text = FindRs.Fields("Department")
txtAcquired.Text = FindRs.Fields("Acquired")
txtReleased.Text = FindRs.Fields("Released")
Else
End If
End Sub