hi,
this may seem like a stupid question, but I do hope that someone will give me a reply. What is actually BOF and EOF? I know they stand for beginning of file and end of file respectively. I am just wondering when it says beginning of file, it is pointing to the first location of the file and therefore, infers that a record exists rite?
Yet when I was running my program, I keep getting this error saying that a current record is required. (BOF and EOF cannot be true ==> why?).I am wondering if I get my syntax wrong.
If Adodc1.Recordset.BOF = True Then
With Adodc1.Recordset
!due_date = MSFlexGrid1.TextMatrix(i, 3)
!transaction_status = "N"
.Update
End With
txtdisplay = "Successful Update!"
Else
txtdisplay = "Renewal quota is reached or the book is not borrowed!"
End If
this may seem like a stupid question, but I do hope that someone will give me a reply. What is actually BOF and EOF? I know they stand for beginning of file and end of file respectively. I am just wondering when it says beginning of file, it is pointing to the first location of the file and therefore, infers that a record exists rite?
Yet when I was running my program, I keep getting this error saying that a current record is required. (BOF and EOF cannot be true ==> why?).I am wondering if I get my syntax wrong.
If Adodc1.Recordset.BOF = True Then
With Adodc1.Recordset
!due_date = MSFlexGrid1.TextMatrix(i, 3)
!transaction_status = "N"
.Update
End With
txtdisplay = "Successful Update!"
Else
txtdisplay = "Renewal quota is reached or the book is not borrowed!"
End If