Re: "cannot perform this operation on a closed dataset"



It was just that obvious. There was an odd condition occurring where I was
stopping the dataset from opening (because the subroutine was trying to
search for null), yet still trying to fetch data from it. Simple "Stupid
Programmer Trick".

The funny thing is that it's been working for a year and never had this
problem before.

Go Figure...


.



Relevant Pages

  • Re: "cannot perform this operation on a closed dataset"
    ... Bryan Valencia wrote: ... I was stopping the dataset from opening (because the subroutine was ... yet still trying to fetch data from it. ...
    (borland.public.delphi.database.ado)
  • Re: Unwanted RELEASE, my record locks are not holding
    ... passing all file vars needed and NOT opening them in the called code. ... The lock now holds until I release it. ... 002 OPEN 'FILE' TO FILE ELSE CRT "ERROR" ... 001 SUBROUTINE PROG2 ...
    (comp.databases.pick)
  • RE: Printing to a file
    ... You're overwriting the file every time by opening with ... > append mode. ... Er, that is, if your find subroutine recurses through directories and ...
    (perl.beginners)