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

    Error with SQL statement.

    When I run the following SQL statement in the immediate window. I get the following error: The SELECT statement includes a reserved word or an argument name that is mispelled or missing, or the punctuation is incorrect. DoCmd.RunSQL " Select TESTTABLE t, TBL_FieldID f, TBL_Index i WHERE...
  2. tbiceps

    Working with Strings and Variables (Type Mismatch)

    I tend to have problems with syntax when mixing strings with variables. For instance, MsgBox "This is:" + variable gives me a type mismatch error or in a SQL statement. Can someone direct me to some Faq or other resource.
  3. tbiceps

    How do you post segments of code when posting a question?

    I notice when many members post code, they have a neat formatting trick which makes the code more readable on these post. Does anyone know how to perform that action.
  4. tbiceps

    Using Variable numbers in a SQL statement

    This is SQL statement that I'm using in my code. RptValue, and X represent variable that I want to alter. This SQL statement will not put the constant into the SQL string. If I try to do something similar to the following ('RptValue','X')" then I get the words not values. Does anyone have a...
  5. tbiceps

    Getting the path of a shared drive

    Will the GetAbsolutePathName method return directory of a shared folder. Different users in different regions access a database with different directory letter drives. I'm looking for a way to map a user's drive in an automated manner without concern of the drive letter.
  6. tbiceps

    Syntax error in CREATE TABLE statement using VBA/SQL

    The following line of code was entered in the Immediate Window of Access. I'm following an online tutorial on SQL and VBA coding. When I press enter I get the following error: Run-time error '3290' Syntax error in CREATE TABLE statement. Any clues? DoCmd.RunSQL "CREATE TABLE tblTest...
  7. tbiceps

    SQL statement gives a compile error

    When I try to execute the following line of code, I get a compile error: Expected: case SELECT MasterTBLReport.[Report Fields]FROM MasterTBLReport This code was generated using the query tool, and it works. It does not work when integrated into VBA. Any clues?
  8. tbiceps

    Viewing all field headers on a form

    I have a form that populates a list box control after an event click. It dynamically builds the column headers based on selected criteria. My problem is the lack of real estate to show all the columns. If the program selects 5 - 10 field headers, then my application works well. If you need to...
  9. tbiceps

    Determining what was selected from a multiple list box

    I built a query dynamically, that uses a list box to make multiple selections. How do I determine what is selected from the list box. For instance, I have five entries on the list box that a user may make choices from. If the user makes two choices, how do I determine the choices.
  10. tbiceps

    Multiple Select List Box

    How do you make more than one selection in a list box? I have a list box containing 9 possible choices. I would like to make 4 selections, however I'm limited to one selection at a time. Does anyone have a solution?
  11. tbiceps

    Securing a database on Server

    I placed an Access database on a shared drive of a server at my company. This database is also password protected. When assigned users of the database attempt to access the database, it opens without requiring a logon. When I attempt to access the database, it works properly. One problem may be...
  12. tbiceps

    Help placing words in a text box control into a table.

    I have a text box in a form. Each word in the text box is separated by a comma. Each word in this text box control represents a field heading for internal company reports. I want to place each word into a table for comparising purposes. Does anyone have a clue?
  13. tbiceps

    Adjust Scroll bars through VBA code

    I have a two tab form in my database application. When the form opens, a user has to manually move both scroll buttons, the one on the bottom has to be pushed over to the left, and the one on the right side has to be pushed up to the top. Once these actions have been made, then the user can see...
  14. tbiceps

    Changing the query behind an Access Report

    I have created a report based on a specific query, and it works very well. I would like to use the same report for a different form, but I need to change the query that's driving the report. I have searched all over the report's page, checked properties, etc. but not luck. Is it possible, or do...
  15. tbiceps

    How do I remove a picture from the second tab of a form

    I have a form which has two tabs. I placed embedded a picture on the form, however, I only want the (picture)symbol to appear on the first tab. Now it appears on both tabs. How do I prevent the picture from appearing on the second tab.
  16. tbiceps

    How do I duplicate the right click of the mouse button using VBA code?

    Does anyone know if the right mouse click activity of the mouse control be duplicated using VBA code? Any ideas?
  17. tbiceps

    User-defined type not defined

    The error message listed below references the following line of code: ' Create a reference to the current objects. Dim Objs As OLEObjects Set Objs = Sheet3.OLEObjects Does anyone have any ideas? --------------------------- Microsoft Visual Basic --------------------------- Compile...
  18. tbiceps

    The Microsoft Jet database engine stopped

    I get the following error message when I attempt to import a table into a different database. I have no clue, does anyone else have a clue concerning error message. The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the...
  19. tbiceps

    Importing a screen shot into a Table

    I want to create a user-friendly command button that will enable a user to import a screen shot into a table field record. Currently, if you right click on the correct cell, the option Insert Object dialog box will open with the various choices associated with the activity. Will any of these...
  20. tbiceps

    Combo box is altering the data in my Master Table

    I currently have a combo box, (Combo7) placed in a form which pulls its drop down list from a table (TBL_Warehouse_Process_Area). This table has one field, [Operations AREA]which simply lists the varied operational processes. This form has 3 combo buttons used to gather information from a user...

Part and Inventory Search

Back
Top