Smart! I found that what I also had to do was hide the "details" section in the subreport. If it's set to display, and the subreport doesn't have enough room, then only the lines that can be displayed are shown. If the details section is hidden, it's still calculated, and I get my value. Thanks...
I'm working on a report that uses a subreport to generate a value, which is then displayed in the main report. This works as expected. However, the only purpose of the subreport is to generate this value; I don't actually want to show it. How can I arrange it that the subreport is not displayed...
IM2 is in there because part of the goal is to check stock in a specific warehouse. Let me explain, as I should have in the first post.
The goal is a report that lists, for each raw component, the number in stock in a particular warehouse, as well as the number in subassemblies (which can be...
I don't group on anything. Since it's the sum of the quantity of these items that I'm really interested in, I tried grouping on ComponentItemCode and checking "group on server", but there was no difference in response time. In fact the SQL query didn't change. Perhaps the MAS 200 ODBC driver...
I'm afraid taking off indexes only made the report slower.
The full report uses bm2->bm1->im1->im2, with the select clause:
({BM2_BillMaterialsDetail.ComponentItemCode} = {?ItemCode} and
{BM1_BillMaterialsHeader.Revision} = {BM1_BillMaterialsHeader.CurrentRevision} and...
Thank you, Louie -- However, I'm still at a loss. On my server, the BM4 and BMX tables are empty. Even a test report that only uses BM2 and selects a specific ComponentItemCode takes 20 seconds to return a result. It seems as if MAS 200 is using an index that I can't get to.
PS -- How were you...
I'm trying to make a variant of the where-used report from the Bill of Materials module using Crystal Reports.
According to the technical reference, there should be a "sort file" named BMW_CompWhereUsedSortFile, which is indexed on the ComponentItemCode. However, this doesn't appear in the...
Thank you. That didn't answer my question directly (in fact it doesn't specifically mention $this at all) but it does mention that PHP5 handles = differently for objects than does PHP4. In fact it handles it exactly as I wanted, and upgrading solved my problem.
Short version: Why does setting $myobject->myattribute = &$this from inside of another object's constructor pass a copy of $this? How can I pass $this by reference?
Long version:
The source in question can be found at http://thepeterbailey.net/code/CollapsibleCategory.zip.
I have a class...
I recently removed SpySheriff from a laptop using Ad-Aware, and now, when I click a link on a site in IE that would open a pop-up window, nothing happens, even if I disable pop-up blocking. I tried FireFox, which works fine, but I'm doing this for a friend who prefers IE. How can I fix this?
In an ASP.Net project, I have a number of libraries, one of which is called FreeForm. In a particular page, I make reference to it with a Register directive and bring in an object with this tag:
<FreeForm:RecordFinder id="Finder" runat="server" />
When I try to view the page, it shows me...
OK, this is fixed. What I ultimately did, for anyone having the same problem, was to make a .vbs file and put it in my startup folder, which connects to the printer like so:
Set objNetwork = Wscript.CreateObject("WScript.Network")
objNetwork.AddPrinterConnection "LPT2"...
I have a printer shared on my network, with a password on it. I'm able to connect to it from a remote PC and print documents after entering a user name and password, but I have to repeat the process whenever I reboot. How can I get Windows to remember the user name/password for the printer?
Never mind, actually, I just fixed it. Apparently, IsPostBack is only true if -- get this -- you make a post request instead of a get request. Weird, huh? Thanks for responding.
I need one of my custom controls to make a request to the server, maintaining viewstate. It's easy enough just to make the request, but the server views each request as the first time the page was requested. In other words, IsPostBack is false. How can I make a post back request?
I have a database that I would like to link to a SQL server back-end. However, when I use ODBC to connect, the .mdb file does not record the user id and password. This works for me because I can use my NT login, but other people need to use this database that don't have access to the SQL server...
I've made a custom web control, but I find that when I use it, the properties of it are not set as I expect, and I get a null reference exception when opening the page. What is the correct format for setting object properties of a web control? More detail follows, if necessary:
The control...
Does the browser send the session cookie along with EVERY request or only requests for Active Server Pages?" is a valid way to rephrase the question, assuming that the server resets the session timeout whenever it receives the cookie, but neither of these issues has been resolved. You are...
I'm afraid that solution won't do; the page in question has a form on it and any data entered would be lost in the event of a refresh.
Allow me to clarify my question: If I use a JavaScript setTimeout call to make a new window appear shortly before the session times out, and this window...
I'd like to display a window prompting the user to stay logged into my site when the session is close to expiring. But how can I tell ASP to renew the session? I don't need to add data to or remove it from the session object, so I'm not sure what I need to do.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.