Search results

  1. B

    apostrophe in a string used in a query to build a recordset

    Pat, thanks for your help! Big jim
  2. B

    apostrophe in a string used in a query to build a recordset

    Hey, Big Jim here: Let's say for example I have a setup where I am using this string strTest = "Doug's" as a recordset parameter. This will of course cause an error if the SQL was written as: Select * From Table Where Name = '" & strTest & "';" What oh what do I do about that apostrophe in...
  3. B

    MAX - 1

    Hello, Big Jim here, I was wondering if there is an easy way to find the 2nd most MAX value of a column. I could figure this out using some VB, but I was hoping there is an easier less stressful "function" to accomplish this task. Thanks in advance... Big Jim
  4. B

    Array using non-numeric arguments

    Hello, Big Jim here, Is it possible to set up an array such as: intTotal(strGender,strLocation) = intTotal(strGender,strLocation) + some value where of course strGender and strLocation are both non-numeric values? The thought here being that I would have 2 strGenders and many strLocations...
  5. B

    Adjusting Field Properties on a Query using VB

    Hi, Big Jim here: I created a query using a querydef in VB. Is there anyway for me to adjust the properties on one of the columns using VB? Specifically, I want to adjust the number of decimal places allowed. Thanks in advance, Big Jim
  6. B

    Using a String in an array?

    Thanks, Kaspi! Big Jim is greatful that you could help him out. You're the best! Big Jim
  7. B

    Using a String in an array?

    Hey, Big Jim here, Is there anyway to use a string in an array? Say I had: Dim intTest(strWords, 1 to 5) as Integer Something along those lines. Is it possible? Thanks in advance....Big Jim
  8. B

    Adjusting Table Column Field Width from VB

    Thanks, Mic, that is a very good point. Big Jim just lets his boss look at the table, but I'll look into that Form idea as well. I use the table as a report. The table is not referenced by anything, and it doesn't look like it would fit in a report nicely. I'll email you a piece of it if you...
  9. B

    Adjusting Table Column Field Width from VB

    Hello, Big Jim here: I created an Access table using code (tableDef, field, etc.). I am trying to adjust the field width of a table's column from code. Any suggestions? Thanks in advance! Big Jim
  10. B

    Finding a date

    Keith, Thanks for your help. Worked great! Big Jim
  11. B

    Finding a date

    Hello, Big Jim here, Ok, say I have a number from 1-365 (I had to build an array to group data by each day of the year. I need to convert that number 1-365 back to the month and day of month. How would I do this? Thanks in advance, Big Jim
  12. B

    Determine a date by a number

    Thank you to both of you. You have been a great help. Big Jim
  13. B

    Determine a date by a number

    Hello, Big Jim here, Say I had the number 45. Is there anyway for me to have VB set that as a date on a 1-365 day scale? In other words, 45 would be February 14th. Thanks in advance, Big Jim
  14. B

    Multi-Select items in ListBox from VB

    Thanks, Jack! That really helped. I must remind anyone trying to do this that you have to have the multi-select property for the list box set to yes or it will not work.
  15. B

    Multi-Select items in ListBox from VB

    Hey, Big Jim here... I was wondering if there was a way to select multiple items from a list box from VB. For example, say I have "A", "B", "C", and "D" in a listbox. (I have MultiSelect already turned on.) Now, I want my VB code to highlight both "A" and "B" in the listbox. How would I do...
  16. B

    Using a List of values for a graph

    Pat, As usual, your guidance has shown me the way. Thanks for your help.... Big Jim
  17. B

    Using a List of values for a graph

    Hi, Big Jim here.... I am using a function in the Where clause when creating a graph: WHERE column IN (Function) The function is set = to a list of values contained in a string, generated on my form. My question is how to set up the Function so that it will properly populate my graph...
  18. B

    Lines and Circles

    Hey, Big Jim Here, How would you create lines and circles on a Form from code (Event Procedure)? I am getting the impression that this can only be done on a report. Thanks in advance, Big Jim
  19. B

    VB sql to return value

    Thanks MHM! Your advice wokred great. If I might ask, why is the difference between using "." and "!" in VB? For example, object properties are referenced using ".", but the recordset is referenced using "!". Thanks again! Big Jim
  20. B

    VB sql to return value

    Hello, Big Jim here: I was hoping to use VB to run an sql statement and then place the single value returned by the sql statement in a label on a form. Here is the code I was using: ****** Dim rsta As Recordset Dim strSQL As String Dim strHold As String strSQL = "Select [1] From [00Fleet]...
Back
Top Bottom