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 Mike Lewis 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: gmart
  • Order by date
  1. gmart

    New to JS. Working with it in goog

    This line if (strcell.indexOf("Team")>=0); didn't work, tried: i2 = strcell.indexOf("Team")>=0; if (i2==true); Same log Thank you for your help.
  2. gmart

    New to JS. Working with it in goog

    New to JS. Working with it in google sheets. For some reason, i can't get the nested if to filter out at the bottom. code is not finished. the log is at the very bottom. it should only log 4 times. Please tell me that JS in Google sheets is not that flaky. function loopsearch(){...
  3. gmart

    VBA Access CSV file manipulation before import

    update: I currently am running latest access on my laptop. opened up the database with no special conversion (database was created and maintained in Access 2003, and as i put in previous threads, it works. I setup another laptop with 2003 on it exclusively and brought the database over from...
  4. gmart

    VBA Access CSV file manipulation before import

    Basically, File not Found, and that was it.
  5. gmart

    VBA Access CSV file manipulation before import

    neither Open "C:\CSVUpload\od.csv" For Input As #1 ignore the comment talking about assuming test.csv is in c: drive. That's a copy paste thing from somewhere.
  6. gmart

    VBA Access CSV file manipulation before import

    ok, so this is the exact code that worked on my laptop. Her computer i changed the file location to a C: drive folder as Andrzejek suggested and i still couldn't get it to work. Filename was CSVUpload and file name was od.csv.
  7. gmart

    VBA Access CSV file manipulation before import

    Ok, kept getting a 'Couldn't find file' I checked and checked. Even copy pasted the filename. The code i posted worked on my laptop. On install i changed the directory and the filename. Was thinking since it was Access 2003 there was some missing dll or library inclusion that would help...
  8. gmart

    VBA Access CSV file manipulation before import

    Private Sub Command107_Click() On Error GoTo Err_Command107_Click Dim strTextLine As String Dim aryMyData() As String Dim strSQL As String Dim directory As String Dim FileName As String Dim i As Integer Dim i2 As Integer Dim currtoint As String Dim i3 As Integer directory =...
  9. gmart

    VBA Access CSV file manipulation before import

    Ok, i got this to work on my laptop. When i transferred to the host computer i could even get the open directory to find the file. Help. I have the latest and greatest Access on my laptop but its Access 2003. Is there a functionality that i need...a library or something.
  10. gmart

    VBA Access CSV file manipulation before import

    Ok, got it. Just took out the '$' using right function. Thanks again for your help.
  11. gmart

    VBA Access CSV file manipulation before import

    the destination table column is designated number. I know of the difference in data types. Is there a quick way around it. like something that knocks off the first digit of a variable, or some magic conversion tool?
  12. gmart

    VBA Access CSV file manipulation before import

    Runtime error '3075' Syntax error (missing operator) in query expression 'Collected Amount' Put some logic in to skip the first line read before it hits docmd and it worked until... Syntax error is query expression '$1.00' So im putting a currency into a number data type. Are there any quick...
  13. gmart

    VBA Access CSV file manipulation before import

    Andr, Also, what is the # sign for? I have never seen that in SQL queries. Also, i agree, there should be a sarcasm font
  14. gmart

    VBA Access CSV file manipulation before import

    Andr, Ok, so i don't have a column of numbers in the csv file. Are you asking that i add them to the file then run this or are those numbers based on the comma delimiting?
  15. gmart

    VBA Access CSV file manipulation before import

    Andr, Why bracket some of the column names?
  16. gmart

    VBA Access CSV file manipulation before import

    Andr, Im doing this for our soup kitchen. The database was designed by someone else so im stuck with table design for now because of the heavy integration nature of the present database. The csv file format is basically canned long format export from a donations website. Just looking to give...
  17. gmart

    VBA Access CSV file manipulation before import

    Example csv: attached I've changed the approach a bit. here is what i have been working on today. Dim filepath As String Dim sqlinsert As String Dim sqlvalue As String Dim sqlquery As String Dim sqlwhere As String 'Set db = CurrentDb directory = "C:\Users\gmartin\Desktop\Equip\The Soup...
  18. gmart

    VBA Access CSV file manipulation before import

    So i basically need to search through each column header looking for 1 of 5 strings. Once there is a match i grab all data under that header.
  19. gmart

    VBA Access CSV file manipulation before import

    I have a .csv file that has information i want to import. I tried importing the present csv into a table and moving data via Insert Into Select statement but couldn't get it to work. The easiest route it seems is to take the csv file and format it to match the table i want to move it to. Then...

Part and Inventory Search

Back
Top