S
S33
Guest
Hi -- I want to use a javascript function to run a Progress program. Is this possible? I found an example that is close: function connectDb() { var ConnDB = new ActiveXObject("ADODB.Connection"); ConnDB.ConnectionString="dsn=MyDSN;uid=foo;pwd=bar;"; ConnDB.Open(); var Rs = new ActiveXObject("ADODB.Recordset"); var tempstr=""; Rs.Open("select * from customer",ConnDB,1,3); while(!Rs.EOF) { tempstr = tempstr + Rs("name") + " br "; Rs.MoveNext; } } That Rs.Open command contains a SQL command, and I think I could tweak this to use a SQL stored proc. But is there a way to run a Progress 4GL program, and if so, how would it know where that program resided? TIA - Jim
Continue reading...
Continue reading...