Lan Solo Posted June 18, 2003 Posted June 18, 2003 I am trying to call the editstate method in order to enable a record from a dataset for editing. I am not sure how to declare it, but VB STudio does not seem to like my syntax. Here is what I coded: Private Sub mmuEditEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mmuEditEdit.Click Call EditState(cblnEditing) End Sub I get the squiggly lines under EditState and cblnEditing in the code editor and it states that neither is declared. Thanks Quote
*Gurus* divil Posted June 18, 2003 *Gurus* Posted June 18, 2003 What editstate method? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Lan Solo Posted June 18, 2003 Author Posted June 18, 2003 It is described in the text I am trying to follow. It is supposed to be (I think) a statement in a sub that puts a record pulled from a database in a state that is editable. However the book is very vague as to how to use/code this method. Quote
*Gurus* divil Posted June 18, 2003 *Gurus* Posted June 18, 2003 I can't find such a method or property anywhere in .NET. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Leaders dynamic_sysop Posted June 18, 2003 Leaders Posted June 18, 2003 i did a search on msdn for EditState , this was the result Search Results -------------------------------------------------------------------------------- for "EditState" using All words -------------------------------------------------------------------------------- Search needs a word or phrase to search for. Please try again. Search needs a category to search for. Please try again. Please enter a unique search to refine your results. You entered "EditState" for your previous search, and those results are reflected in the list below. Your search using "All words" for ""EditState"" returned 0 results. Try some of the following to improve your search: Check your spelling. Choose a different Search Category. Type in a less specific search word or phrase. i bet EditState is a function of an object / referenced item. eg: Dim Obj as New MyClass() With Obj .Add( "my text") .EditState = False '// maybe it's something like this. End With Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.