Splice an empty column from a sub-table in an Appointment.

Parameters

appointment_id

The ID of the Appointment you are removing the empty column from.

column

Number of the column to remove (0-based).

table_id

The table from which to remove the empty column.

force

OPTIONAL. If set to '1', then the column will be removed even if it is not empty.

Example

FM_api('Appointment_deleteEmptyTableColumn', ['appointment_id' => '222404', 'table_id' => '148', 'column' => '1', 'force' => '1']);

Result

On Success

{'ok':1}

On Failure

If there are errors, then the result will return an error string, such as:

{'error':'Cannot delete that column as it is not empty.'}