Results 1 to 4 of 4

Thread: One hopeful solution to Operation is not allowed in this Context issue

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    4

    Post One hopeful solution to Operation is not allowed in this Context issue

    "Operation is not allowed in this Context."

    I got this on some of my code.

    It turned out to be I was trying to reference the field name as a recordset property.

    e.g. rs.firstname rather than rs.fields("firstname")

    I could advise to run through your code and check the methods, properties and objects.

    Useful sites:
    http://www.w3schools.com/
    Check out the ASP and ADO area. You might need to check on the recordset object methods etc.
    http://www.devguru.com/
    This is also good for object referencing.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: One hopeful solution to Operation is not allowed in this Context issue

    Is this supposed to be a response to another thread instead of a brand new thread?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    4

    Re: One hopeful solution to Operation is not allowed in this Context issue

    a new thread.. instead on an issue I thought id post a solution! Might help someone..I hope :S

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: One hopeful solution to Operation is not allowed in this Context issue

    Quote Originally Posted by g000we
    a new thread.. instead on an issue I thought id post a solution! Might help someone..I hope :S
    No problem.

    But, it should go in our CodeBank repository. Typically that is where members will look when they are searching for something.

    Thanks for the tip.

    Moved To The CodeBank

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