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 TouchToneTommy 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: darkhat01
  • Content: Threads
  • Order by date
  1. darkhat01

    CurrentDB Error

    I am having a problem with setting the Data Source when it is set to CurrentDB. If I set the path to c:\test\mydatabase.mdb it works fine. Why will this not work, does anyone have an idea? Set objConnection = CreateObject("ADODB.Connection") Set objRecordSet =...
  2. darkhat01

    how to have a Select Query show up in a text box

    I need to have a Select Query show up in a textbox and return everything back in the text box from the query. I tried to put the select Query in the Control Source of the textbox, but this did not work. Here is the Query SELECT qManagerQuery.Q8 FROM qManagerQuery; Q8 is a memo field; it will...
  3. darkhat01

    How do I make a call to another query in my current report?

    How do I make a call to another query to do a Sum of all the Q1's that equals 1? Currently the Record source for the report is one query qManagers and this gives me 90% of the data that I need and I also need results from another query called qEnterpriseQuery. Here is what I was thinking, but...
  4. darkhat01

    Doing Percentage on a report

    I am trying to do percentages on my report in the expression builder, here is what I did: =Round((([text67]/[text60])*100),0) & "%" It does work, but does not look pretty. Is there a better way to do percentages? Thanks, Darkhat01
  5. darkhat01

    Run-Time Error '13': Type Mismatch

    I am getting a Run-Time Error '13': Type Mismatch. The Set db_data = NewConnection is what is highlighted in yellow. Would anyone know why this is happening? I got the code from: http://www.tek-tips.com/faqs.cfm?fid=5250 I am trying to learn how to import a csv file into a access table...
  6. darkhat01

    Browsing for a file and return the path and filename

    I am having problems on how I can browse for a file and return the path of the file selected by the user. Example a user will be in Access on a Form, click the Browse for File Command button, locate a file on the C: drive in a folder called test2 and the file name is test.csv. I would want it...
  7. darkhat01

    Crosstab query "Microsoft jet Database error"

    I am trying to count the records that are in a query that I created. I am doing this with a Cross tab query. If I put "Like [Forms]![Company_Reports]![txtPortfolio]" in the criteria to filter the query I created, it still works fine and does filters what I need, but the cross tab that I...
  8. darkhat01

    Using an If in the criteria of a query

    I am trying to use a string filter in the criteria in the query, but I can't seem to get the if statement to work correctly, any ideas would be great on what I could try next? The [PortfolioName] in the report [Rtest] is an invisible text box on the report, the value is selected by a choice on...
  9. darkhat01

    Chart Question

    Is there away to build a “Fuel gage” like chart that will move a needle from one side to the other when you enter in numbers? E would be 0% and F would be 100%.... My boss said this can be done in Excel and I have no clue how to do this... Thanks....
  10. darkhat01

    Adding queries together

    I am confused on where to start on this project. I have 3 queries that are doing counts for different things. They count High's Medium's and Low's. I would like to build a query that takes the totals of all three queries that counts different things and combine them into one query that Adds all...
  11. darkhat01

    Moving the backend of the database.

    I would like to move the backend of our Access DB. However there are MANY links for the tables that will need to be reestablished. Is there a way to point the front-end database to the new location for the backend and all the links will be reestablished? Or do I have to go through each one...
  12. darkhat01

    Moving the backend of the database.

    I would like to move the backend of our Access DB. However there are MANY links for the tables that will need to be reestablished. Is there a way to point the front-end database to the new location for the backend and all the links will be reestablished? Or do I have to go through each one...
  13. darkhat01

    Crosstab query Invalid precision for decimal data

    I am trying to create a crosstab query that is the average score for each Line of Business. I thought that this would be simple. But I am running into problems. Here is what I would like it to look like. The number must be between 0 and 2 with two decimal places. LOB1 LOB2...
  14. darkhat01

    Imput Date error.

    This works: In the Criteria box I have: Year([TARGET_DATE])=2007 This returns all the dates with the year 2007. What I would like to do is have a box pop up and ask for the year to report for,The user would enter 1/1/2007 would be for 2007. Here is what I have tried and is does not work. The...
  15. darkhat01

    Subform default value not being writen to the table.

    I have a field in a sub-form that has the default value set to 99. But when I go to the record in the table it does not show up. However if I change the value to any other number the record is written to the table and shows up. Why is this? How can I get this sub-form to write this value to...
  16. darkhat01

    Cursor starts in a field

    How do I make the cursor start in the field I would like it to? Example: Currently it starts in the last name, but I would like it to start in the first name. Thanks, Darkhat01
  17. darkhat01

    Folder move....

    Ok I have a problem, I have Windows 2000 Server and I had to move a folder to a new Hard dirve because of it's size. The problem is I have many things pointing to the origianl place the folder is. Is there a way that I can create a point to the new location and make it look like it is still...
  18. darkhat01

    How "If Application.IsCompiled" works

    If I use the following code should this disable the field on the form so no one can enter anything in it only if it has been compiled or creat an MDE? Also could someone explain what Me! means? I don't understand why there has to be a "!" after Me. Private Sub Form_Load() If...
  19. darkhat01

    Strange Message box???

    Hi I used the Hyperlink Address in the properties of a command button to go to a website, but I get an message box that comes up: Opening http://www.whatever_the_link_is.com Some files can contain viruses or otherwise be harmful to your computer. It is important to be certain that this is from...
  20. darkhat01

    Run-time error '94': Invalid use of Null

    Need some help on what I might be doing wrong? I tried to put a Error handler in it and it did not work. Currently the Error handler is commented out. From time to time there will not be a data and it will be Null. How can I tell it to skip this if there is a null??? Run-time error '94'...

Part and Inventory Search

Back
Top