BookMark Property in Visual Basic 6.0
Hello guys, I required to be familiar with, How is Bookmark Property used in Visual basic 6.0? I comprise no thought about it but as I am a new learner of programming language in visual basic 6.0. In order to know what the bookmark property is I have referred some books but I am not able to get through these terms then also. Can anyone help me out with this question so that I could understand this term from VB 6.0 and get the term known properly.
Re: BookMark Property in Visual Basic 6.0
This property works like a real bookmark which allows you to return to the page where you stopped reading. If you want to bookmark the current record, assign the BookMark property to a variable of Variant type. After that you may navigate through the records. When you want to return to the bookmarked record, simply assign the variable to the BookMark property.
Re: BookMark Property in Visual Basic 6.0
The AbsoultePostion property holds the current record postion. ii. It is zero based. So you must add 1 to get the current record number. iii. It works only for dynaset and snapshot type records. ExampleN = datBooks.Recordset.AbsoultePosition + 1' Get the current record number Me.Print "Current Record: " & N ' Print it on the form Accessing Database Fields.
Re: BookMark Property in Visual Basic 6.0
SyntaxesDataControlName.Recordset!FieldName DataControlName.Recordset("FieldName")Expanation. FieldName is the name of the field to be accessed. If FieldName has spaces and you are using the first syntax, it must be enclosed in square brackets or double quotes. ExampledatBooks.Recordset. datBooks.Recordset!"Year Published" datBooks.Recordset.("Year Published")
Re: BookMark Property in Visual Basic 6.0
Does the exe file created in Visual Basic 6.0 are more stronger than exe file created in VB.net as it contains the support of .net architechture and please do suggest me some good examples of using VB in project making