Re: Calling User-menu from within 4GL application?
Posted in 1992
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration
In article <1992Apr22.221526.4792@nas.nasa.gov> jcarter@sun419.nas.nasa.gov (John R. Carter Sr.) writes: }My users want to be able to access the User-menu function from }within a 4GL application menu. When the application menu shows }REPORTS: Labels Options Exit }They want to add: }REPORTS: Labels Options User-menu Exit }Or something like that. When User-menu is selected it would execute }the same function as though executed with the following: }isql -s dbase -u reports }Is this getting too far out or what? I can easily enough create }a sub menu in the 4GL application to execute all the selections }in the User-menu report (about 16 items) but if there's a way to }hook the SQL: User-menu Run function (complete with menu selection }for 'reports', just like with the isql statement) I'd rather do that. }If this is documented, can someone point me to it? I have trouble }finding weird stuff like this in any manual and I've never been }formally trained on Informix yet (all seat of the pants so far). Read up on the RUN command. It's not too fancy, but it'll do what you want: RUN "isql -s dbase -u reports" }Thanks. }John R. Carter, Sr. Programmer/Analyst - Informix DBA