Page Index Toggle Pages: [1] 2  Send Topic Send Topic Print Print
Hot Topic (More than 10 Replies) Reports w/Attached Retrieve Specs (Read 2314 times)
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Reports w/Attached Retrieve Specs
May 28th, 2004 at 2:56am
Print Post Print Post  
Is there still a bug with attached retrieve specs in reports? I know there was a problem in an earlier version, if a sort spec was used.

The problem I'm having is, if I attach a retrieve spec that includes an entry in a subform, the report finds no results. The same exact spec loaded manually (provided the spec has been un-attached from the report), produces results as expected.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Reports w/Attached Retrieve Specs
Reply #1 - May 28th, 2004 at 11:39am
Print Post Print Post  
What happens if you attach a retrieve spec that has only a single entry in a subform? I'm looking for whether it's subform criteria giving you trouble, or multiple criteria.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #2 - May 28th, 2004 at 2:43pm
Print Post Print Post  
Quote:
What happens if you attach a retrieve spec that has only a single entry in a subform?

It fails to find anything.

There are no results found whenever any criteria (in one or two elements) is placed in the subform, whether or not there is anything placed in the main form.

Here are the various combinations of entries I tested:
1) Test1 - 1 in main form, 1 in subform
2) Test2 - 1 in subform
3) Test3 - 1 in main form
4) Test4 - 2 in main form
5) Test5 - 2 in subform

Tests 1, 2, & 5 all failed to find any results. You'll notice that each of those contain at least one entry in the subform.

I did use these same saved specs to run a search to verify that they actually produce results. Wink
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Reports w/Attached Retrieve Specs
Reply #3 - May 28th, 2004 at 2:51pm
Print Post Print Post  
Carl,

1.0.4 does include some fixes to attached retrieves that may cover this. If you want, you can send in your app and we'll give it a try under 1.0.4. If you do this, please let me know which Database and Report to run.  Smiley
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #4 - May 28th, 2004 at 3:38pm
Print Post Print Post  
Erika,

I just discovered a VERY serious problem related to this!

Some of the subforms have had their data replaced with the retrieve specs. For example, one of the retrieve specs were "..dsi..". After running the report that had this spec attached, a subform now has ..dsi.. in an element that used to have other data. Another element ended up with /= in place of a number that was there before.

It seems to hit random subforms. In other words, it doesn't hit the subform that actually contained the spec within it's contents.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Reports w/Attached Retrieve Specs
Reply #5 - May 28th, 2004 at 4:30pm
Print Post Print Post  
Definitely send it into Support. Are you sure that this is what is happening? Q&A databases are regularly peppered with records where people have accidentally typed a Retrieve Spec into an actual record. Are you sure that this is not the case here?
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #6 - Jun 2nd, 2004 at 1:49am
Print Post Print Post  
Quote:
Q&A databases are regularly peppered with records where people have accidentally typed a Retrieve Spec into an actual record. Are you sure that this is not the case here?

Yes. I'm the only one that uses it. Besides that, one of the elements is automatically filled with a value upon exiting it, and it had "/=" in it after running the report. Another element that had "..dsi.." in it, brings up a userselect menu upon element entry, so I am pretty sure I would have noticed if I were in update mode.

Unfortunately, I cannot seem to recreate that problem. I'll let you know if I can figure out what conditions caused it.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Reports w/Attached Retrieve Specs
Reply #7 - Jun 2nd, 2004 at 10:54am
Print Post Print Post  
Did the report, or the retrieve spec have any SBasic programming in it?
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #8 - Jun 2nd, 2004 at 2:50pm
Print Post Print Post  
Hello Carl,

Just to let you know, we have been able to reproduce the behavior, and are looking into it now.
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #9 - Jun 2nd, 2004 at 2:57pm
Print Post Print Post  
Quote:
Did the report, or the retrieve spec have any SBasic programming in it?
No.

I still can't recreate the data loss, but the original problem still exist. If any attached retrieve specs contain subform criteria, the report finds no records.

I will send the application to support.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #10 - Jun 2nd, 2004 at 3:20pm
Print Post Print Post  
Whoa! I just discovered how to recreate the problem.

It was not while running the report. It was while testing the retrieve specs in search mode to verify that those specs actually should be finding records.

The retrieve specs actually REPLACED the values in the subform elements when leaving the search mode by pressing F10!

I'll document the steps, and send it to support.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Reports w/Attached Retrieve Specs
Reply #11 - Jun 2nd, 2004 at 3:25pm
Print Post Print Post  
Carl,

We've got this replicable. You don't need to send us anything. We're looking at it right now.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #12 - Jun 2nd, 2004 at 3:47pm
Print Post Print Post  
You can replicate both problems?
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Reports w/Attached Retrieve Specs
Reply #13 - Jun 2nd, 2004 at 3:49pm
Print Post Print Post  
Quote:
You can replicate both problems?


Yup.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Reports w/Attached Retrieve Specs
Reply #14 - Jun 2nd, 2004 at 4:04pm
Print Post Print Post  
Just to make sure we are talking about the same thing... Smiley

I am seeing the problem when I get to search mode by pressing F7 from update mode, then use Alt-F8 to load a retrieve spec with subform criteria, and run the search.

The record that was being viewed when F7 was pressed, will have it's subform elements replaced with the retrieve specs.

Is that the same thing that you have found?
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send Topic Send Topic Print Print