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

  • Users: rookery
  • Order by date
  1. rookery

    Calculate Percentage Reduction?

    Thanks guys for your help. Works a treat. PHV - I think you meant "100" and not "1" in your equation. Appreciated.
  2. rookery

    Calculate Percentage Reduction?

    Hi is there a VBA way of calculating a percentage reduction? eg. work out what a 20% reduction of 10 is? The answer is 8 of course but is there a way I can code the calculation? I know I can do it using: 10 x .2 = 2 therefore 10 - 2 = 8 but is there another way? Ta.
  3. rookery

    Display Startup Dialog From Tools In Code?

    Thanks mate. Worked a treat!
  4. rookery

    Display Startup Dialog From Tools In Code?

    Hi is it possible to display the "Startup" dialog (found in the Tools menu) from code? Cheers.
  5. rookery

    Cant Access Locked Down Database!

    Thanks for the replies Remou. I've got a "Compile Code" function available to me in my app and using that brings up the DB window. Happy days!
  6. rookery

    Cant Access Locked Down Database!

    I have a database that I have secured it so well that I now cant get back into it! I've removed the "Startup" option from the toolbar as well as the Access toolbar. I cant right-click on the menubars and holding down the shift-key etc wont work. I tried importing all the objects into a...
  7. rookery

    Runcommand acCmdPrint problem

    The Forms recordsource is a filtered query. As I mentioned when I used to Print it'd print the results from this query. Now it prints all the records from the screen underneath. Any other ideas?
  8. rookery

    Runcommand acCmdPrint problem

    Thanks for your reply but to begin with it's a pop-up Form and it can contain more than just the one record. I dont really want to go down the road of having to put hidden text boxes on the form displaying ID's. This used to work in a previous copy and I'm not sure why it's now broken.....?
  9. rookery

    Runcommand acCmdPrint problem

    When I run the above command it seems to print out all of the records contained in the Form behind the pop-up one that is open AND that has the Focus (first thing I checked). I also tried using Docmd.PrintOut.acSelection to no avail. Anyone know why this is happening?
  10. rookery

    Unable To Reference Subreport Total

    Thanks Duane for your reply but I tried that already and it didnt work. The answer in the end was to create a footer for the common parameter between the sub and main reports. In this case it was SalesID. So I went to "Sorting and Grouping" selected the para set it to "Yes" on "Group Footer?"...
  11. rookery

    Unable To Reference Subreport Total

    ...the plot thickens. The invisible text box on the Subreport Report Footer displays a different total to what you get if you reference it in code. That is I wrote some code in the On_Format event and then put a break in and checked the Debug window for the value of that textbox and it wasn't...
  12. rookery

    Unable To Reference Subreport Total

    I have a report that details customers and the items they have bought. The "Detail" section of the main report houses a subreport which displays all the items for that particular customers order. The customer may have more than one order but only one invoice is displayed at a time. In this...
  13. rookery

    SQL Server Login Prompt & Report

    ...or a way to trap the error?
  14. rookery

    SQL Server Login Prompt & Report

    ...isnt there a timeout property somewhere which I can reset because, as I mentioned earlier, this only seems to happen on those reports which take a long while to compile (lots of data)? I've already set the ODBC Timeout property in the query to zero.
  15. rookery

    SQL Server Login Prompt & Report

    In my connection string I'm specifying the "UID" and "PWD" already; isnt this enough? Also (for my sins) I'm using DAO to attach in this DB (legacy thing which I inherited) and dont really want to change it.
  16. rookery

    SQL Server Login Prompt & Report

    Thanks for your replies guys. Prairie is there a way of remembering the password in code? I've already hardcoded the password into the connection string - is this what you mean or is it something different?
  17. rookery

    SQL Server Login Prompt & Report

    I'm linking to a SQL back-end using SQL authentication from my Access FE. Everything works fine apart from those reports which contain a lot of data when a SQL Server Login prompt appears halfway through processing. If I then enter the password it continues and works OK but I dont want this...
  18. rookery

    Form Not Opening!

    Give that man a star! Cheers PHV.
  19. rookery

    Form Not Opening!

    Thanks for your reply Crowley. I tried this but it didnt work. Any other ideas and why does it work when I set a breakpoint? Does the code window become the active form/window?
  20. rookery

    Form Not Opening!

    I have an image on my Form that I use as a button. When I click on the image it opens another Form which I make a selection on and then minimize onto the taskbar. When I want to re-enable the minimized Form by clicking on the image again, the Form fails to open. It stays minimized. However...

Part and Inventory Search

Back
Top