Search results for query: like

  1. ajetrumpet

    VBA Create Array

    ...i Using ReDim Preserve saves the values that are already in the array and also redimensionalizes it. It saves time for one-dimensionals, like: dim i as long for i = 0 to 5 ReDim Preserve myarray(i) myarray(i) = i next i More than one dimension usually does not work...
  2. ajetrumpet

    Query Techniques & Methods

    Here are some tips on querying your data in Access: Using the LIKE keyword There are two uses that I know of here: 1) To search for a string in the entire cell, regardless of its placement. To do this, you need the following syntax:WHERE [field] LIKE "*" & "criteria string" & "*"2)To search...
  3. ajetrumpet

    Navigate Internet Explorer using VBA

    ...and line numbered, which is a huge improvement by Microsoft (one of the few for sure!) First thing to know is how to open IE in Access. Just like any other application, the best way is probably to create the object and make it visible. Like this:dim ie as object set ie =...
  4. ajetrumpet

    Vertical data manipulation in queries

    ...has a solution article for this: http://support.microsoft.com/kb/290136 There really should never be another reason to need vertical analysis like this, but if there is, I would suggest using Excel as your program. As a flat file program, you can analyze in all directions. If you...
  5. ajetrumpet

    Horizontal Concatenation with Queries

    ...holds a unique identifier for each record *UNIQUE ID FIELDVALUE - Name of that field in []. For example, a field named "ID" would be written like: [ID] *TABLE(S) - the "FROM" clause of the statement that would result from the DATASET variable, regardless of what it is. SQL statements...
  6. ajetrumpet

    Combo / List Box Switches

    Every once in a while, the forum gets a question that says something like this: "I have two combo boxes. One contains a list of installed software programs, and the other contains a list of programs that are not yet installed. What I want to do is when I install a program and select it from...
  7. ajetrumpet

    Sort Array VBA

    ...Debug.Print ArrayToSort(i) Next i End Function If you want to sort an array with 2 dimensions, it's just like sorting rows of data on an excel sheet based on ONE column only (e.g. - sorting a table based on a column). For example, number of columns would be the 1st dimension and...
  8. ajetrumpet

    Using Google to Research Problems

    ...Another thing too, if your problem is well documented or popular among Access users, and you are searching google the right way, more than likely you will hit microsoft's KB articles or the office online help articles FIRST on the list, so you can go strait to the horses mouth. If anyone...
  9. ajetrumpet

    2007 ADE distribution guide

    ...c:\program files\jab\listendata.accdb. "JAB" is my install subfolder that I specified, so the sound files would be installed with a path like so: c:\program files\jab\voicemale\yellow.wav The product name is what will appear at the top of the first screen when the user runs the installer...
  10. ajetrumpet

    Subform Techniques

    ...get it with one piece of syntax, TRY ANOTHER. It eventually works. :) Hopefully this will give more insight into the basic idea of what it is like to work with subforms and their hidden properties that seem to always be missed! EXPLANATION OF SUBFORM CONTROLS and CONTAINERS In short -...
  11. ajetrumpet

    Popup Form vs. Modal Form

    ...of when it was opened Modal forms are rarely useful (without being coupled with the "popup property). But, they do serve some purpose...like: *1) Stops the user from clicking anywhere outside the modal form and having something happen on accident. *2) when they're maximized. this plainly...
  12. ajetrumpet

    Packaging and Deployment solution using MS DOS

    By far the best way to deploy an Access solution is to use the ADE from Microsoft, but if you're like me and many other people around the world, you haven't gotten around to upgrading to 2007 yet. Either that, or you simply don't care to upgrade until you absolutely have to. So...what do you...
  13. ajetrumpet

    Navigate Internet Explorer using VBA

    ...of the boats listed above, try these remedies: *1) programmers sometimes use images as submission button "substitutes" so the page doesn't look like it was just slapped on the internet without any class or effort. try clicking the image using its NAME or ID. *2) rarely will there be a...
  14. ajetrumpet

    Get Table Information

    ...With db.TableDefs.Append tbldef Set rsNEW = db.OpenRecordset("DBdata") For Each tbldef In db.TableDefs If Not tbldef.Name Like "msys*" Then If Not tbldef.Name Like "~tmp*" Then If Not tbldef.Name = "DBdata" Then Set rsLOOP =...
  15. ajetrumpet

    Autopopulate a field value from a combo box

    ...http://support.microsoft.com/kb/319482/en-us A few other things to note: 1) For most people, the term "autopopulate" means that they would like the value to appear in the text box as soon as the selection is made in the combo box. This is not magic. In fact, the value that seems to be...
  16. ajetrumpet

    Cascading Combo Boxes

    ...Rowsource (SQL statment). I have attached a sample that illustrates the above coding examples using list boxes. That was just a preference...I like using list boxes more than combo boxes. I guess I've just gotten attached to them. :) I also wrote some comments in the "Notes" module that...
  17. ajetrumpet

    Sample Table Design Structure

    ...people that think normalization is not necessary (and believe me, sometimes it is not!), but when the advice comes from this board, more than likely the data in question is not set up in the most efficient manner (hence, it needs to be normalized). Efficiency of a database system is all...
  18. ajetrumpet

    Form Control Referencing in VBA

    ...The above syntax lines were tested using Access 2007. It is quite likely that the compatibility for each syntax block will change with different versions of the program (I can almost guarantee this). There is nothing we can do about that, but hopefully this helps you figure out what works...
  19. ajetrumpet

    Using the GROUP BY clause for aggregate functions

    Using GROUP BY with aggregate queries Hi everyone, I thought I would let you all know of a few things I like to remember when using the GROUP BY clause in queries that involve aggregate data... 1) Even though the GROUP BY clause is written after the selected fields in the query, Access...
  20. ajetrumpet

    Using Wildcards in Queries

    ...[ ] (bracket), ! (exclamation) 3) 'Range' Group [ ] (bracket), - (hyphen), ! (exclamation) The key word to use when querying with wildcards is LIKE. Conversely, it can also be used with the word NOT (e.g. NOT LIKE) to give results that do not match the criteria you specify. The placement...
Top Bottom