_Ralph_
26th January 2007, 13:05
Hi Friends :)
Can someone explain me if i can compile and execute data already inserted on a table?
For example:
I have a table eucom101 named "Actions". Wich contains 3 fields:
eucom101.code - Script Code - tcorno
eucom101.dsca - Script Description - tcdsca
eucom101.scpt - Script - tctxtn
In short this gives the user a chance to program on a visual way.
In this script is just possible to call a Business Method, DLL or make an AFS.
What o need is a command that compile and execute the eucom101.scpt.
I tried the following:
extern long expr_id, x, buffer
extern domain tcmcs.str80 id.buffer(500)
extern domain tcmcs.str80 aux2
|*************************************************
buffer = text.to.buf("eucom101.scpt.o", language$, 500, id.buffer)
expr_id = expr.compile("id.buffer")
aux2 = s.expr$(expr_id)
expr.free(expr_id)
But this is not what i really want. Do you have any advice??
regards
Can someone explain me if i can compile and execute data already inserted on a table?
For example:
I have a table eucom101 named "Actions". Wich contains 3 fields:
eucom101.code - Script Code - tcorno
eucom101.dsca - Script Description - tcdsca
eucom101.scpt - Script - tctxtn
In short this gives the user a chance to program on a visual way.
In this script is just possible to call a Business Method, DLL or make an AFS.
What o need is a command that compile and execute the eucom101.scpt.
I tried the following:
extern long expr_id, x, buffer
extern domain tcmcs.str80 id.buffer(500)
extern domain tcmcs.str80 aux2
|*************************************************
buffer = text.to.buf("eucom101.scpt.o", language$, 500, id.buffer)
expr_id = expr.compile("id.buffer")
aux2 = s.expr$(expr_id)
expr.free(expr_id)
But this is not what i really want. Do you have any advice??
regards