Recent content by tho28199

  1. T

    Importing CSV file with header row

    I was looking for an automated way of doing that, so the user can simply receive the source csv file, and import it into the database without manual manipulation. The alternative is to go back to the source and have them remove the header, but that comes at a $ cost, which I was trying to avoid.
  2. T

    Importing CSV file with header row

    Unfortunately, that does not do it... as I explained, the 1st row does not contain the field names... they are in the 2nd row. The 1st row contains header information (filename, date created, period covered, total record count, etc.). I need a way to eliminate the 1st row completely or for...
  3. T

    Importing CSV file with header row

    Is there a way to automatically skip row 1 of a CSV file when importing? Row 1 contains a header with filename, date created, period covered, total record count, etc., and then Row 2 contains the column names.
  4. T

    SQL stopped working "reserved word" error

    Problem solved... the culprit was the variable varSampleSize, which was being set to null because the user did not follow the process through to completion initially, so the variable value was reset when they 'stepped' back into the process at a later step.
  5. T

    SQL stopped working "reserved word" error

    Added the spaces as suggested, but still getting the same error.
  6. T

    SQL stopped working "reserved word" error

    Database was created with Access 2003, but is now being run under Office 2007. Need some more eyes on this... it was working fine for several months, but now is failing with the error: "The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the...
  7. T

    Call Shell with Parameter

    Thanks, George... the quotes enclosing the whole thing did the trick. I love this forum...
  8. T

    Call Shell with Parameter

    Thanks, lagbolt. The double-quotes are now accepted by VBA, but I am now getting a Run-time error '53' File not found. However, I tried using Windows > Run with the following, and it worked perfectly: "C:\Program Files\Gavlock Consulting\SmartDir.exe" /run "C:\DataEntry.ini" Any ideas on why...
  9. T

    Call Shell with Parameter

    Hi all, Can anyone please help me out with the correct syntax for this: Dim stAppName As String stAppName = "C:\Program Files\Gavlock Consulting\SmartDir.exe" /run "C:\Reports\WeeklyFL.ini" Call Shell(stAppName, vbHide) I have tried searching the forum, but obviously haven't...
  10. T

    Change 'Show' Property with VBA Code

    David, you were absolutely right about the field names, but not because of spaces. I missed a " mark after the 31st field in the list values, causing the remaining descriptions to become the column 0 values. Once I fixed that minor mistake, it works perfectly, returning results for all fields if...
  11. T

    Change 'Show' Property with VBA Code

    Limit on number of items selected Hi David, I just discovered it is not working quite as perfectly as initially thought. The problem now is that, although I was able to create a list of 43 items, it appears the SQL limits me to a selection of only 30 items. Any more than that and I get the...
  12. T

    Change 'Show' Property with VBA Code

    Amazing what a difference that makes, David. Thank you so much for your assistance with this. It is working perfectly now. Much appreciated.
  13. T

    Change 'Show' Property with VBA Code

    Almost there Hi David, Thank you for the assistance thus far. I am almost there. However, this piece of code is stringing together only the last list item selected, resulting in a circular reference when the query is executed. For X = 0 To Me.lstFieldChoice.ListCount - 1 If...
  14. T

    Change 'Show' Property with VBA Code

    I only wish the solutions were that simple Thanks, DCrake It appears the listbox is limited to 20 items, and my query is more than double that. Would it be possible to contatenate the string results from 3 listboxes for the SQL? How would I code that? I really don't know VBA code... I just...
  15. T

    Change 'Show' Property with VBA Code

    Hello all, I have tried searching through this forum for clues on whether this is possible, but I'm not even sure how to phrase the search criteria. I would like to create a form that has a check box for each field in an underlying query. I can do this. I would then like to change the 'Show'...
Back
Top Bottom