Sub-Report won't always display..
- From: "every1luvsVB via AccessMonster.com" <u18005@uwe>
- Date: Tue, 29 Aug 2006 23:43:31 GMT
hello there,
I am trying to dynamically assign a report (and its sub-report) resultset
values from various form filters, ie. toggle buttons, combo boxes, via a
SELECT INTO query being ran then assigned as the report's record source..
I have the sub-report 'link child fields - link master fields' functionality
linked to the parent report correctly as far as i can see.
The issue I am having is that the report rarely displays any sub-report
values, although they should exist.
A point to note is that i had it working fine before i introduced the
filtering into the report.. i think it could be someting to do with this
parent (main report) table that i am dynamically creating??
psuedocode is:
onclick of openrpt button:
sqlstring = select blah from blah into blah
select case toggle value
WhereClauseString = blah
case toggle value
WhereClauseString = blah
case toggle value
WhereClauseString = blah
end case
sqlstring = sqlstring & WhereClauseString
runSQL, using sqlstring (with dynamic tablename assigned at design time..)
open report
Am at the end of my tether with this one -any ideas?
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200608/1
.
- Prev by Date: Re: Loop in Report Detail Section
- Next by Date: Re: Suppressing Null in Report
- Previous by thread: Re: I want a Grand Total from the Wizard -- no Groupings!
- Next by thread: Re: Grabbing only certain records for total
- Index(es):
Relevant Pages
|