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



Bryan Valencia wrote:

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

Murphy's law :-)

--
Best regards :)

Guillem Vicens Meier
Dep. Informatica Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam

.



Relevant Pages

  • 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: "cannot perform this operation on a closed dataset"
    ... There was an odd condition occurring where I was ... stopping the dataset from opening (because the subroutine was trying to ... The funny thing is that it's been working for a year and never had this ...
    (borland.public.delphi.database.ado)
  • 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)