' Connect to the MusicBase
dtmm_SQL.CP.GetConnectionAsync("sqlMB")
wait for sqlMB_ConnectionReady(Connected As Boolean, sqlMB As SQL)
If Connected Then
' Queue the Addrecording command
Wait for (dtmm_SQL.Add_TableRecord(sqlMB, dtmm_SQL.cmdAddRecording, lstArgs, False)) Complete (Success As Boolean)
' Queue the AddExtRecording and execute both commands
Wait for (dtmm_SQL.Add_TableRecord(sqlMB, dtmm_SQL.cmdAddExtRecording, lstExtArgs, True)) Complete (Success As Boolean)
CDAdded = Success
End If
sqlMB.Close