Search results

  1. N

    Solved How to add an attachment in Gmail managed in MS Access VBA

    Many thanks June7 it has work very well I have also managed to make CC: and Attachment Optional, I need now to add some tables for host credentials and customer's table.
  2. N

    Solved How to add an attachment in Gmail managed in MS Access VBA

    Thanks isladogs I'm calling the above function as below but it does allow only MS Access Database instead of any document, could it be I'm again making a mistake somewhere: Me.Attachment = GetFile()
  3. N

    Solved How to add an attachment in Gmail managed in MS Access VBA

    I'm getting user un defined Function on fDialog As Office.FileDialog Function GetFile() ' Requires reference to Microsoft Office xx.0 Object Library. Dim fDialog As Office.FileDialog ' Set up the File Dialog. Set fDialog = Application.FileDialog(msoFileDialogFilePicker) With...
  4. N

    Solved How to add an attachment in Gmail managed in MS Access VBA

    After working almost the whole Xmas day 25th December 2024 to make sure that access is able to send an email from its own form. This process is now working okay though very length . Last issue requiring your help is on attachment for an external document, here I'm using the actual path of the...
  5. N

    Solved I want to be able to send a few emails in access 2016 using gmail but am having challenges

    Okay many thanks to all contributors no answer is wrong they are all valuable and I appreciate you all. Finally, Mark above hinted something about dual authentication, and from there I have used the Gmail application password, and it has sorted out the problem.
  6. N

    Forms parameters in the MS Access URL string

    Many thanks to all contributors all your answers are valuable to me
  7. N

    Solved I want to be able to send a few emails in access 2016 using gmail but am having challenges

    Am trying to configure a simple email system in MS Access 2016 so that I can directly send invoices from MS Access 2016 using a form. I have put a button on a form as onclick event, but whenever, I try to send an email I'm getting an error message saying: "Check your internet", transportation...
  8. N

    Forms parameters in the MS Access URL string

    Okay finally a wrapper has work to remove spaces Function spaceremove(strs) As String Dim str As String Dim nstr As String Dim sstr As String Dim x As Integer str = strs For x = 1 To VBA.Len(str) sstr = Left(Mid(str, x), 1) If sstr = " " Or sstr = " " Then Else nstr = nstr...
  9. N

    Forms parameters in the MS Access URL string

    its actual leaving spaces on Me.txtlatsouth and Me.txtlongNorth MYURL = "https://api.openweathermap.org/data/2.5/weather?lat=" & Me.txtlatsouth & "&lon= " & Me.txtlongNorth & "&appid=xxxxxxxxxxxxxxxx" No space is allowed the URL should like below then it works ok, the issue is how to remove...
  10. N

    Forms parameters in the MS Access URL string

    This what I'm doing : MYURL = "https://api.openweathermap.org/data/2.5/weather?lat=" & Me.txtlatsouth & "&lon= " & Me.txtlongNorth & "&appid=xxxxxxxxxxxxxxxx" Its failing it bring type mismatch
  11. N

    Forms parameters in the MS Access URL string

    I need help to solve the parameters in this URL string below which is working okay as long as the parameters are hard codded , now I want the parameters to be more flexible by providing some kind of input form parameters like below: Here are the parameters: Me.txtlatsouth = -15 (where there is...
  12. N

    Solved Getting the key and value from Json collection with VBA Microsoft Access

    My apologies people I forgot the last field required as well, its called humidity Me.txthumitity = Json("main")(1)("humidity") This the last field required for the weather pattern, sorry to trouble you again { "coord": { "lon": 28, "lat": -15 }, "weather": [ { "id"...
  13. N

    Solved Getting the key and value from Json collection with VBA Microsoft Access

    Many thanks Cheekybuddha your method has worked very well it's unbelievable. Many thanks to you
  14. N

    Solved Failing To Save Imported Data from the internet in Ms Access

    Many thanks CJ you were 100% correct on DMax , it did the magic everything is now working okay
  15. N

    Solved Failing To Save Imported Data from the internet in Ms Access

    Okay thanks CJ let me try it
  16. N

    Solved Failing To Save Imported Data from the internet in Ms Access

    Okay the problem here is that this field ImportID" is not part of Json I just wanted to link the data to the primary key in the parent table because if I do not do that the same field in the Child will appear quite okay, but the reference remains hidden that is where my problem is. But I can...
  17. N

    Solved Failing To Save Imported Data from the internet in Ms Access

    I have imported the data from the internet successfully, but surprising I'm failing to save it in the database, below is my code what is the problem here: Private Sub CmdImports_Click() Dim n As Integer Dim Request As Object Dim strData As String Dim stUrl As String Dim Response As String Dim...
  18. N

    Solved How to access the server resources from the internet on a different network

    @ GPGeorge your response is well respected thank you
Back
Top Bottom