Hello,
I have a problem and I hope that someone can help me.
im using Progress Openedge 10.1a
this is the situation:
-I want to set up a trigger on a table so when someone adds a record i can manipulate the inserted data (I need a Before insert trigger right? )
-I found out that I can't set up a before insert trigger with the data dictionary.(correct me if I'm wrong)
-Even if i set up a Write trigger I still can't get to the user inserted data.(if this is possible tell me how pls)
I'm banging my head against the wall here so i tried the following:
- I've set up an odbc driver so I can get to the database inside "Squirrel SQL"(=sql explorer tool)
- Inside this tool I can set up a before insert trigger like this:
CREATE TRIGGER test
BEFORE INSERT ON pub.personen FOR EACH ROW
BEGIN
''
END
-But when I set something between the begin & end I get a error(a trigger with no content is worthless)
So my questions are:
-Can I set up a Before Trigger on a table with a database from Progress 10.1a?
-Can I get the user input so I can manipulate data inside a Trigger?
-Is it possible to set up a Trigger inside a explorer-tool connected to my Progress 10.1a database?
I hope you understand my problem and that you have a solution.
I have a problem and I hope that someone can help me.
im using Progress Openedge 10.1a
this is the situation:
-I want to set up a trigger on a table so when someone adds a record i can manipulate the inserted data (I need a Before insert trigger right? )
-I found out that I can't set up a before insert trigger with the data dictionary.(correct me if I'm wrong)
-Even if i set up a Write trigger I still can't get to the user inserted data.(if this is possible tell me how pls)
I'm banging my head against the wall here so i tried the following:
- I've set up an odbc driver so I can get to the database inside "Squirrel SQL"(=sql explorer tool)
- Inside this tool I can set up a before insert trigger like this:
CREATE TRIGGER test
BEFORE INSERT ON pub.personen FOR EACH ROW
BEGIN
''
END
-But when I set something between the begin & end I get a error(a trigger with no content is worthless)
So my questions are:
-Can I set up a Before Trigger on a table with a database from Progress 10.1a?
-Can I get the user input so I can manipulate data inside a Trigger?
-Is it possible to set up a Trigger inside a explorer-tool connected to my Progress 10.1a database?
I hope you understand my problem and that you have a solution.