Is it possible to lock a table coming from a SQL query?
I've tried just locking the table but I've also tried converting my SQL query into a table and locking it. Neither worked.
Please see red text as example.
Query1=(Open Database("Example Query"));
Query1<<Run Foreground;
Wait(0);
Query1<<Set Edit Lock ("Modify Cells");
<<Make Into Data Table;
Close database connection(Query1)
<< Query1_tabulate=(Tabulate(
Show Chart( 1 ),
Show Control Panel( 0 ),
Add Table(
Column Table( Grouping Columns( :parameter ), Analysis Columns( :value ) ),
Row Table( Grouping Columns( :XX, :YY ) )
));
)<< Make Into Data Table;
Close(Query1_tabulate);