Search results

  1. C

    Question Find by rowid without table

    If I have a rowid but don't know the table it relates to, is there any way to locate the record and then identify the table? Other than doing this: def var bh as handle. def var fnd as logi. def var rwid as rowid. rwid = <a valid rowid>. for each _file no-lock where...
  2. C

    How to determine which index is Primary

    Can someone tell me how to determine which index on a table is the Primary one by reading the meta-schema. Everything else I need is there e.g. _Index-Name, _Unique, _idx-num, etc but I can't for the life of me figure out where to fine the Primary indicator. Thanks in advance.
  3. C

    Performance issue

    We have been experiencing rather lack lustre performance over the past year or so since upgrading our server. During some recent research on Progress Talk I noticed an article pointing out the running the DB in a Raid config is pretty much the worst thing you can do for performance and...
  4. C

    for each _field of _file

    Hi all I have used the "for each _file , each _field of _file" to retrieve field names from dbs many times in the past but have now struck a small problem that has me scratching my head... The "for each _file" returns tables in the current working database only so the question is, if I have...
  5. C

    Is Progress capable?

    Hi all, we have been a Progress shop since Version 3 so are well versed in the ways of PSC. We have had a recent request to build a number crunching system that needs to cater for up to a 100,000,000,000 (yes 100 million) transactions per annum. Can't tell you anymore at this stage but let's...
  6. C

    WebSpeed fails 5 out of 10 OWASP standards

    Having been a Progress house since 1986 we are now wanting to offer internet access to our application. We have prototyped a portal using WebSpeed and sent it to a security consulting firm for review and penetration testing. Their findings indicate that WebSpeed fails on 5 our of the 10 key...
  7. C

    tables referenced

    I need to extract the names of tables referenced in either .r or .p/.w code. Does anyone know how to do this in V9? Cheers
  8. C

    Xignite data interface

    Hey Guys Has anyone developed an interface to Xignite data? I am specifically interested in their GlobalHistorical feed for close of day share prices. I need to build an interface but am a bit (read totally) lost on how to go about it... So I'm hoping that one of you good people out...
  9. C

    Com object hex parameter

    Hi all I need to send Hex parameters to a COM object method. An example is: XYChart(width,height,bgcolor) where bgcolor must be passed as Hex. Therefore Progress code could be something like: chChart:XYChart(200,200,&FF000000) Progress of course doesn't like the &FF000000 Can anyone...
  10. C

    Source code repository

    Can anyone recommend a source code manager? I've had a quick look at SourceSafe but wondered if there was anything around that specifically works with Progress?
  11. C

    Relasing Excel from memory

    Hi I am having trouble releasing Excel from memory. The following works just fine; Excel is loaded and released from memory correctly: CREATE "Excel.Application" chExcel. chBook = chExcel:Workbooks:Add. chSheet = chBook:Sheets:Item("Sheet1"). chSheet:Activate. RELEASE OBJECT chSheet...
  12. C

    Session:suppress-warnings

    Hi All, Simple question I hope. I want to set SESSION:SUPPRESS-WARNINGS=YES as a default whenever I start the uib. Can someone remind me where I can do this without having to have it in a .p that fires off the shortcut? Cheers
  13. C

    Trapping error returned from COM object

    Hi All Can anyone tell me how to trap an error returned from a COM object. For example: If "Sheet1" doesn't exist in chSheet = chBook:Sheets:Item("Sheet1") then we get an error dialog If "Sheet1" doesn't exist in chSheet = chBook:Sheets:Item("Sheet1") NO-ERROR then we don't get...
  14. C

    Easy Excel question

    Hi All This should be an easy question... If I want to send the follow commands to Excel: With ActiveSheet.PageSetup .LeftHeader = "This is the left side" .CenterHeader = "This is center" Would I need to send as: chExcel:ActiveSheet:PageSetup:LeftHeader = "This is the left side"...
  15. C

    Excel 2007 question

    Hi I am building a 2d line chart in Excel 2007. Can anyone explain why the following code generates the message "an error occurred while accessing property/method 'line' - unknown name". chExcel:ActiveChart:SeriesCollection(1):Line:Color = 7. (I have also tried replacing the 7 with a...
  16. C

    Drag and drop between browsers

    Hi I have a window that holds 5 browsers all containing buffers of the same table but with different keys so each contains different records. The user needs to move records between browsers and at the moment I have a popup menu that allows them to choose which browser to move their selected...
  17. C

    PDFInclude and the Euro font

    Hi All I have a pdf template with fill-in fields that I am using PDFInclude to populate. Whilst all the fill-in fields are populated correctly in the finished pdf file, if I pass a € as part of one of these fields to PDFInclude it outputs a square black box. Obviously this is a character set...
  18. C

    Editor widget size limit

    Hi all I know this is in the documentation somewhere but I can't find it... Does anyone know the size limitation for an editor widget set to "large". I am copying and pasting from a large Word document and am getting a message advising I am exceeding the maximum available. No problem on...
  19. C

    Using smtpmailv5_7a.p

    Hi All Has anyone used this utility? I am running 9.1E under Windows XP Pro. It works brilliantly except when I try and attach an Excel spreadsheet. When trying to open the attached spreadsheet on receipt of the email I get a message saying '<file name> cannot be accessed. The file may be...
  20. C

    Buttons and sensitivity

    Hi All Something weird I thought I'd share and maybe get an answer to. I have many buttons in procedures that start other procedures. Quite often when I click one of these buttons, work in the window of whatever it was that was started, then close and return to the window with the button...
Top