iOS Question Add record in SQL table

Graeme Mitchell

Member
Licensed User
Hi, I am wanting to add a record (ClockNumber and Name) to a table that is hosted in Azure. I can read from the table with no issues, I am just somewhat struggling with how to write to the table.
 

Graeme Mitchell

Member
Licensed User
Load data from Azure:
Dim table As String
        
    table = "TCICShiftLogins"
    Dim j1 As HttpJob
    j1.Initialize("", Me)
    j1.Download("https://prod-13.canadacentral.logic.azure.com**************************/invoke/" & table & "/?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%*********************")
    Wait For (j1) JobDone(j1 As HttpJob)
    If j1.Success Then
        'The result is a json string. We parse it and log the fields.
        Dim jp1 As JSONParser
        jp1.Initialize(j1.GetString)
        data  = jp1.NextArray
    End If
    j1.Release
 
Upvote 0
Top