Page 3 of 3 FirstFirst 123
Results 31 to 40 of 40
  1. #31
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    The table "TWLog" created by DoCmd.TransferText acLinkDelim, , "TWLog", "C:\GCC\TWLog.csv", True doesn't contain any fields upon which to create a query, which leaves me really lost at this point.

    IGNORE THE ABOVE


    Not being familiar with the DoCmd.TransferText functionality, I completely missed the assumption that Colin's code would have to be run first so that the csv file was properly loaded, so all is well with what you had intended that I try.



    Last question, I think, do you have some thoughts on how to handle the situation where the "Body" of a message contains commas?

  2. #32
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I'm not surprised. Have you examined the variable with the response text in it? Does it have anything in it? You're only showing a tiny bit of the, which is fine until there's a problem before that point.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #33
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Quote Originally Posted by GraeagleBill View Post

    Last question, I think, do you have some thoughts on how to handle the situation where the "Body" of a message contains commas?
    Mentioned one method earlier. First thing I would try is saving it to a text file with a csv extension and try the linking code on that file.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #34
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    At this point I have a table populated from the CSV file and a query to view the resulting table. I'm burned out for the day so I'll ponder the issue about commas in the Body tomorrow.

  5. #35
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Can you attach or send me the csv file? If it's comma delimited, the third line should result in a table with all the fields in it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #36
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    At this point I have a table populated from the CSV file and a query to view the resulting table.
    I was trying to tell you in post #34 that I was successful in the use of DoCmd.TransferText to create a table from the CSV file.

    Click image for larger version. 

Name:	000.jpg 
Views:	18 
Size:	49.1 KB 
ID:	38930

  7. #37
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Hi Bill
    Sorry but I've been busy and not checked this thread for a while.
    Do you still have any specific questions about using my code that I may be able to assist with?
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  8. #38
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    Hi Colin,

    No. Between the successes with your code and some valuable coaching from Paul plus some input from the techs at Twilio regarding how to use filters with the "GET" function, I'm almost ready to mark this issued resolved.

    What's left is to bring together everything I've learned about the nuances with Twilio and their XML/CSV logs is to code a coherent module that will act like a server in support of the major Access app. That module will run as a scheduled task and periodically "GET" the message log from Twilio looking for incoming requests.

    The app's users more often than not send requests to the app using their cell phones. When doing that, they will now send their requests as a text via the Twilio phone number assigned to the Twilio account. Optionally, they can also enter such requests directly from the app's UI, an Access form designed specifically for that purpose functionally similar to what Rader posted eons ago.

    As usual you're a significant help, so I thank you.
    Bill

  9. #39
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Quote Originally Posted by GraeagleBill View Post
    I was trying to tell you in post #34 that I was successful in the use of DoCmd.TransferText to create a table from the CSV file.
    Ah, this threw me off:

    "I'll ponder the issue about commas in the Body"

    Post back if you're still stuck on the last part.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #40
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2011
    Posts
    1,919
    Okay thanks.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Refreshing one object, and leave the rest alone!
    By Calego in forum Programming
    Replies: 6
    Last Post: 05-01-2017, 06:52 AM
  2. REST Endpoints
    By foo in forum Programming
    Replies: 1
    Last Post: 12-04-2016, 07:53 PM
  3. REST api POST method
    By irade92 in forum Programming
    Replies: 7
    Last Post: 02-03-2015, 03:21 PM
  4. Help with subforms (and the rest)
    By Franco27 in forum Reports
    Replies: 0
    Last Post: 03-14-2011, 09:43 AM
  5. Combox not filling the rest of the form
    By britt britt in forum Forms
    Replies: 2
    Last Post: 10-27-2009, 04:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums