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 wOOdy-Soft 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: *

  • Users: Algernon83
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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?
  5. 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...
  6. 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?
  7. 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?
  8. 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...
  9. 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...
  10. 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.
  11. Algernon83

    Submitting a form via an XMLHttpRequest object

    I need to submit the data from a form to another page via an XMLHttpRequest object, but I'm hard-pressed to find an easy way. To I really have to build a query string by iterating over every element in the form, or is there a simple way to POST this information?
  12. Algernon83

    Including a separate file

    I have one .cs file that defines a class that I want to use in another program. How can I do this? I've spent half an hour on the MSDN site, and I still can't figure out how to do this in this language.
  13. Algernon83

    Passing a function as an argument to another

    There's a point in my code where it's useful for a particular function to take another function as an argument. There's no trouble doing this with functions in the global scope, but I want to be able to pass it a method of a class (as in Class::Method). Unfortunately, it fails with a message of...
  14. Algernon83

    Connecting to a password-protected Access DB via OLE

    I need to create a program that one of the workers at my office can use to read and modify some columns of a table in an Access database. However, I can't figure out what connection string I would use to make this work. I specify all the details including the system database, but it leaves me...
  15. Algernon83

    Exporting a database to an older format

    I've made a database in Access 2000, but one person who needs to use it only has Access 97, and upgrading his software is not an option. How can I save my database in a format that he can read? The database has forms that must be used, so simply exporting/importing the data won't do.
  16. Algernon83

    Getting the results of an Access SQL query in VBA

    For a form I'm building, I need to run a query on one of the tables in my database, and enable or disable a pair of buttons based on the result. However, I can't seem to figure out how to run an arbitrary select query and view the results. Just opening a stored query won't do, since there has to...
  17. Algernon83

    Reporting on a many-to-many relationship

    My database has two tables that share a many-to-many relationship. Call them A and B. There is, of course, a join table, which we'll call J. J has a foreign key for A and for B, as well as a 3rd value. I'd like to create a report that uses each foreign key in J as one of the axes of a table...
  18. Algernon83

    Passing a reference to a function

    In a program I'm writing, it would be useful to be able to pass in a function as an argument to another function, so a portion of the receiving function's behavior is determined by this argument. Is this possible in VBA? If so, how?
  19. Algernon83

    Sorting & filtering data

    I'm working with a Range of data in Excel, and what I need to do is operate on only those items that fall between two thresholds. Unfortunately, I can't seem to find an easy way to sort and filter a row of data. Is there a simple way to do this?
  20. Algernon83

    Populating a CheckBoxList w/ some items selected

    I was working on a project recently that entailed having a CheckBoxList on a page to represent a number of values. Each of these needed to be checked or unchecked based on an item in the data table used to populate the list. Unfortunately, the only way I could find to do this was the really ugly...

Part and Inventory Search

Back
Top