myCloudData - deleting table

I would like to delete the myCloudData table using AdvMyCloudDataConnection. 
I have AdvMyCloudDataConnection and AdvMyCloudDataDataSet on the Data Module. Atter connecting to myCloudData and acivating  AdvMyCloudDataDataSet  I try to do it this way:

var
  vInt1 : integer;
..
  vInt1 := AdvMyCloudDataDataSet1.TableID;
  AdvMyCloudDataDataSet1.Active := false;
  AdvMyCloudDataConnection1.CloudData.DeleteTable( vInt1 );

I doesn't work - I'm getting error :  InternetConnect error 123. Description: The filename, directory name, or volume label syntax is incorrect. 
I checked the TableID - it is correct. If this is not the right way of deleting the table how should I do it?

Hi,


The above code looks OK.
I have not been able to reproduce the reported issue.
Where do you see the error message you provided?
Can you please provide a log file so I can further investigate this?
Logging can be enabled by setting CloudData.LogLevel to llDetail and CloudData.Loggin to true.
The log file is generated automatically in the machine's Documents folder.


I use your demo project ... Public\Documents\tmssoftware\TMS VCL Cloud Pack Demos\myCloudDataDataSetDemo
I just added the button with delete code. I start the application, click Connect button and when it is connected I click the delete button and that generates the error. 
The Log is not very helpful :

...

20180305T130819:HTTPS GET: https://api.myclouddata.net/v2/schema/table/field?tableid=1685
20180305T130820:HTTPS GET RESULT:[
 {
  "column_name": "_ID",
  "is_nullable": "NO",
  "data_type": "bigint",
  "character_maximum_length": null
 },
 {
  "column_name": "NAME",
  "is_nullable": "YES",
  "data_type": "nvarchar",
  "character_maximum_length": 50
 },
 {
  "column_name": "EMAIL",
  "is_nullable": "YES",
  "data_type": "nvarchar",
  "character_maximum_length": 50
 },
 {
  "column_name": "SEX",
  "is_nullable": "YES",
  "data_type": "nvarchar",
  "character_maximum_length": 1
 },
 {
  "column_name": "PICTURE",
  "is_nullable": "YES",
  "data_type": "varbinary",
  "character_maximum_length": -1
 },
 {
  "column_name": "BIRTHDATE",
  "is_nullable": "YES",
  "data_type": "date",
  "character_maximum_length": null
 },
 {
  "column_name": "FRIEND",
  "is_nullable": "YES",
  "data_type": "bit",
  "character_maximum_length": null
 }
]
20180305T130830:HTTPS DELETE: //schema/table?tableid=1685

<<I have not been able to reproduce the reported issue.>>

I tried this on two different computers and get the same error. 
I tried AdvMyCloudDataConnection1.CloudData.Delete( tableName ) and if failed. Is there any other way to delete the table? What code did you use trying to reproduce this error?

Hi,


Please note that the AdvMyCloudDataConnection.CloudData reference can only be used inside it's OnConnected event.
As deleting tables is not considered functionality directly related to the dataset you'll have to use a separate TAdvMyCloudData control in your application and call the delete command from there.