CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    UK
    Posts
    33

    Calling Procedures from Recordset Field

    Is there a way (I'm sure that there is) of calling a procedure from the name of a field in a table.

    e.g. I have a recordset with fieldname say "callthisone". the value of the field in callthisone runs a procedure in a code module.

    Thanks............ RogerD


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Calling Procedures from Recordset Field

    using the Microsoft Script Control you can do many things. E.g. you could store the VB code in a database table and use the Script Control's properties to dynamically build procedures and call them from your app. Or, you could simply Eval text strings that come from a database...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured