Re: Problem with button....
Show the code for FillFields().
Re: Problem with button....
Thanks for your reply...
Here is the code:
VB Code:
Public Sub fillfields()
If Not (rst.BOF = True Or rst.EOF = True) Then 'Checks if we are at the first or last record. This is use a lot.
TextBox1.Text = rst.Fields("Item_Code") 'text1 = field2 and display that data
TextBox2.Text = rst.Fields("Description") 'as above
TextBox3.Text = rst.Fields("Qty") 'as above
TextBox4.Text = rst.Fields("Unit_Price") 'as above
Else
MsgBox "Either you are at the first record or the last record.", vbExclamation, "Cannot Move"
End If
End Sub
Re: Problem with button....
Looks fine. :sick:
Can you past all your code now? I am not really sure why this would happen.
1 Attachment(s)
Re: Problem with button....
Hi,
Please find my attached file for your review....Beside Next and Previous Button..it also the same thing with "Update Quantity" on "Fill Invoice" tab...and also for "Check Current Stock" on "Update Item" tab...I dont know why..???
Please help me....