just get the handle of a window in the other app, and trigger an event in that window:
ll_handle = FindWindow("Class", "Title")
if ll_handle > 0 then
Post ( ll_handle, 1025, 0, 0 )
end if
in the receiving window, map the event pbm_custom02 to something and put do whatever...
> How can I set this up in the select-statement?
you can create an xsl file and generate xhtml from the xml and the xsl. read some xsl documentation. xsl is the xml stylesheet language.
--
regards,
Simon
no.
a dirty way to do this, is hide the hscrollbar and put the "tag" after a lot of spaces at the end of your item.
this way the user does not see it, and you can take it easily in your code. --
regards,
Simon
in the tab "system", in the field powerbuilder catolog table owner, insert the log id you used in the "connection" tab.
this should get rid of your error. --
regards,
Simon
can you post the error xmlgen is telling you?
the simplest thing you can do to get xml out of a table is the query i gave you.
xmlgen.getXML is a function returning a clob or a varchar2 contanig the resulting row of the qury given as parameter.
it's easy :) just find out what's wrong :) --...
try this (i did not test it, writing it on the fly):
declare
strMonth varchar2(3);
intMonth number;
strYear number;
intYear number;
begin
strMonth := to_char(sysdate, 'MON');
intMonth := to_char(sysdate, 'mm');
strYear := to_char(sysdate, 'yyyy');
intYear := mid(to_char(sysdate, 'yy')...
select xmlgen.getXML('select * from test') from dual;
to display it on a browser just put the xml file on a webspace, or use mod pl/sql and apache to serve it directly off oracle (this second option implies a lot of work though).
you could try (untested code) to put this:
declare
lvare_xml...
did you try dw_1.getitemstring(1, "compute_page")? getrow() may return something different from 1 in report view.
also try dw_1.getitemnumber(1, "compute_page"). --
regards,
Simon
well, i can't tell you why pb crashes.
try to reinstall it, make sure it uses the correct dlls if you have pb 6.5 installed on the same computer, use a short $temp directory, check the error log...
there are a lot of things you can do to find out why it crashes, and once you know, fix it :) --...
Wonboodoo, you are right.
though, what you suggest would require a commit.
without commit and not beeing in the same session, this would probably require access to the sys views. then you could use v$session, v$sqltext, v$sqlarea or another view like that. --
regards,
Simon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.