Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Algernon83

    Can I hide a subreport, but use its shared variable?

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

    Can I hide a subreport, but use its shared variable?

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

    Where-used sort file in Crystal Reports (BOM module)

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

    Where-used sort file in Crystal Reports (BOM module)

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

    Where-used sort file in Crystal Reports (BOM module)

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

    Where-used sort file in Crystal Reports (BOM module)

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

    Where-used sort file in Crystal Reports (BOM module)

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

    Can't pass $this by reference

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

    Can't pass $this by reference

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

    Can't open pop-ups after removing SpySheriff

    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?
  11. Algernon83

    Type not found in namespace; namespace name given is not as expected

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

    Remembering the password for a network printer

    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"...
  13. Algernon83

    Remembering the password for a network printer

    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?
  14. Algernon83

    Making a custom control post back to the server

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

    Making a custom control post back to the server

    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?
  16. Algernon83

    Recording the UID/PWD for an ODBC-linked SQL Server table

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

    Setting properties of a custom control

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

    Explicitly renewing a session

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

    Explicitly renewing a session

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

    Explicitly renewing a session

    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.

Part and Inventory Search

Back
Top