Recent content by kenanyuk

  1. kenanyuk

    How to auto set an object by a function

    ok Set objtree = Forms(frmName).Controls(objName) what I need exactly
  2. kenanyuk

    How to auto set an object by a function

    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
  3. kenanyuk

    How to auto set an object by a function

    ı attached both of them
  4. kenanyuk

    How to auto set an object by a function

    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, _...
  5. kenanyuk

    How to auto set an object by a function

    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...
  6. kenanyuk

    How to auto set an object by a function

    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
  7. kenanyuk

    How to auto set an object by a function

    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...
  8. kenanyuk

    How to auto set an object by a function

    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...
Back
Top Bottom