Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by 51m0n

  1. 51m0n

    Open .pbl source code

    http://www.justpbinfo.com/pbtips/pblviewer.asp -- regards, Simon
  2. 51m0n

    PBL required from PBD!!

    no way. -- regards, Simon
  3. 51m0n

    How can I access an object in a DWObject having its name ?

    just user dot notation. to access the data property of dw_2 for example, you could use: dw_list.object.dw_2.Object.data -- regards, Simon
  4. 51m0n

    Multi-dimension dynamic arrays

    i would use a datastore. -- regards, Simon
  5. 51m0n

    Maximize a window after open?

    w_window_to_maximize.windowstate = maximized! -- regards, Simon
  6. 51m0n

    Converting to a Web Target?

    yes there is. http://www.sybase.com/products/internetappdevttools/appeon converts a c/s powerbuilder app in html + javascript. -- regards, Simon
  7. 51m0n

    Sending message from one instance to another

    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...
  8. 51m0n

    OleObject and making it Visible

    myoleobject.visible = true? -- regards, Simon
  9. 51m0n

    how to produce a xmlfile from a table?

    > 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
  10. 51m0n

    Dropdownlistbox

    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
  11. 51m0n

    how to produce a xmlfile from a table?

    try this: set linesize 1000; set pagesize 1000; -- regards, Simon
  12. 51m0n

    Connecting to Oracle 8

    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
  13. 51m0n

    how to produce a xmlfile from a table?

    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 :) --...
  14. 51m0n

    Extracting string from sysdate.

    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')...
  15. 51m0n

    how to produce a xmlfile from a table?

    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...

Part and Inventory Search

Back
Top