I've already implemented a work-around, but I'd like to know what's causing this.

I have a report that builds a list of plant locations (curPlants), then builds a cursor full of data for a report.  (cList)

When I'm ready, I do this:
Select cList
Report Form MyReport blahblah

It INSISTS on making curPlants the current cursor, massively messing up the report.  I checked and there is nothing in the report data environment, or TAG1/TAG2.  I set the DE initial cursor to cList, and get the same behavior.  There is no mention of curPlants in the report form anywhere (It runs fine if I CLOSE curPlants)

During debugging I stopped it, verified it was on the correct cursor with a browse, let it proceed - and it worked just as it should, using cList.   Also during debugging I accidentally introduced a non-fatal error.  It stopped, I ignored the error, and it proceeded to work correctly, using cList.  Remove the error line, and don't pause... and it selects curPlants.  WTH?

I got around this by CLOSEing curPlants, which is less than Ideal, because then I have to close the screen, so they can't run multiple reports, but it's acceptable.  Any Ideas?  I wasted several hours on this.







--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to