Search results

  1. A

    XML not accepted in webservice

    Hi there, I don't think this is caused by a string or char limit. I hit this problem a few weeks ago when prototyping an XML-consuming webservice from SoapUI. Because SOAP is XML, sending a node value which is itself XML can cause all sorts of structural problems for the target parser. So...
  2. A

    JDBC Connections to Progress DB - Product Requirements?

    Excellent. Thanks very much Casper!
  3. A

    JDBC Connections to Progress DB - Product Requirements?

    Hi all, We have a requirement to grant JDBC access to our various 10.1A OpenEdge databases, currently living on an IBM AIX server. The connection will be made from a Win32 client. I've had a look through the SQL guide and found the .jar files in my OpenEdge studio installation, which is...
  4. A

    String Function

    You can use a combination of the LOOKUP and ENTRY functions. Here's one way: DEFINE VARIABLE cString AS CHARACTER NO-UNDO. DEFINE VARIABLE cValue AS CHARACTER NO-UNDO. cString = " BRANCH br1 PNO 000016 tollrail STATUS Closed SCHED-START 22/12/04 RESP ". IF LOOKUP("status",cString,"...
  5. A

    Scrollbar on browsers?

    Ouch. That really is brutal! Instead of opening the query associated with the browser with FOR EACH blah-de-blah, use PRESELECT EACH boo-de-doo. The browser then knows the full scope of the query's result set and the scrollbar is accurate. Depending on how big the table is, this can be...
  6. A

    ADM2 || Proc name after adm-create-object and before postCreateObject

    createObjects? Beware that this runs multiple times in containers to manage the paging mechanism.
  7. A

    Smart Window Browses Editing (Open Edge)

    Good luck. Sorry I couldn't be of more help!
  8. A

    Smart Window Browses Editing (Open Edge)

    The bit commented out is Appbuilder's way of storing the ADE stuff without disrupting the compiled code. Even though it's commented out, Appbuilder reads it when you open the source file. I've just tested this out by taking this freeform query (note - nonsense query joins, just to illustrate a...
  9. A

    Smart Window Browses Editing (Open Edge)

    Do you mean you want to change the columns displayed in the browse? That's in the DISPLAY pseudo-trigger. In section editor, click the "List..." button, and look at the code behind the "ON DISPLAY OF yourBrowseName" trigger. If that's not it, then what browser bits exactly are you trying to...
  10. A

    Smart Window Browses Editing (Open Edge)

    Yeah, you've lost me now. If it's a freeform query, you just use the section editor on the OPEN_QUERY pseudo trigger and edit the query definition. If you need to add another table, it just goes in there. No need to go back to the wizards. Perhaps you can post the current query definition...
  11. A

    Smart Window Browses Editing (Open Edge)

    If you defined the query using the wizard (and didn't use a freeform query), then you should use the query wizard to edit it as well. You don't get to this from the section editor - you double-click on the browse widget (inside the smartBrowse master) to open the Property Sheet, and there are...
  12. A

    Returning Parent-Child related data from a web service

    Hi there, Dataset support for webservice proxies just wasn't ready for your version of Progress. 10.2 was supposed to add this to ProxyGen, but we're still on 10.1 ourselves so I can't confirm. Casper's solution is what we ended up using - LONGCHAR parameters in and out to control...
  13. A

    Mail Merge using MS Word

    Here's a basic outline of a merge automation. You've not given any real idea of the bahviour you're looking for, so this executes a merge of a template doc and a text file data source. The resulting merged doc is made visible, but you could do all sorts of things from there. DEFINE VARIABLE...
  14. A

    Appserver not starting

    Hi there, Have you searched through the progress KB for entries involving errors 8117 and 8100? There are many potential reasons for this: Bad port range specified in ubroker.properties. Log file > 2Gb. Bad parameters in PF or startup string. Startup procedure CRC. TERM setting. First...
  15. A

    Runtime variables

    That won't work - you've put the quotes in! So you're just displaying a quoted string! This... DISP "{3}" "{4}". ...needs to be this.... DISP {3} {4}. Have you tried adding the &SCOPED-DEFINEs in?
  16. A

    Runtime variables

    Hi there. I gave you an example. Here it is again: &SCOPED-DEFINE var-03-1-1 YES. &SCOPED-DEFINE var-04-1-1 YES. {gi/data-lst.i vl_SaveData 01 1 1 "Vendor" char 02 1 1 "Name" char 03 1 1 mthdspn char 04 1 1 mthdspno char } When you say "it didn't work", what actually happened? Any error...
  17. A

    Any Freeware Simple Menu Systems?

    Hi all, Feel really cheeky asking this, but it's worth a go before I start hacking together my own solution. Does anyone have a simple menuing system they are willing to share, or know of something similar available freeware? I'm thinking hierarchical menus, users, menu security. All the...
  18. A

    Runtime variables

    It would appear you're in luck! The include file is arranged in such a way that you CAN use a variable for the heading text, but it's very prescriptive and you'll have to use their convention for naming things. Personally, I would never have done this with include files... So, looking at this...
  19. A

    Runtime variables

    Without knowing what the include is doing, it's impossible to say for sure, but my guess is that the include is coded to expect a literal string to be used for the headings rather than a variable. Passing a variable name in makes no difference if the include is wrapping it in quotes! Can you...
  20. A

    Remote appserver process times out after ~ 40 minutes

    Greg is giving great advice here. Appservers aren't really designed for long procedure calls. If you did want to use them in this way, you have to deal with TCP/IP timeouts (as you have found) and you'd be worrying about how many agents you need to serve your entire user base. Most places...
Top