Boblarson I'm so sorry its first time I'm in a forum like this I will be carefull next time
but I also send the class and module as ziped
loagbolt yes I myself write this class, if this is your question
thanks a lot
here is the class doing other things
Option Compare Database
Option Explicit
Dim rsw As New RecordsetWrapper
Dim Li As Long
Public Function TV_FunctionSelect(TV_FunctionName As TV_FunctionName, _
Optional objtree As TreeView, _...
here is the code below
Option Compare Database
Option Explicit
Dim rsw As New RecordsetWrapper
Dim tvp As New TreeViewWrapper
'Dim objtree As TreeView
Dim objName As Variant 'TreeView Object Name
Dim frmName As String 'Form Name
Dim...
thanks hitech coach
it is really helpfull
but ı dont have any problem in all treeview or other object codes
in my form user can add an additional object whatever possible like treeview. and I'm trying to set every object as per the information coming from recordeset via variables
thanks
thank you for your kind interest
rsw is my recordset and you are that I have my custom classes and all working properly and having no problem with them.
the function objtree fails only
frmName and objName are variables as string which are coming from recordset and has no problem. it is working...
hi,
I'm trying to set a treeview object by function using variables coming from recordset. Variables are string type and there is no problem reading from recordset. While code is trying to run function which has to set treeview object; then run time error '91' happens and says "Object variable...