Search results

  1. N

    Oracle dataserver/temp tables/buffer-copy

    Ah, actually, this is how you fix it For future reference... the problem didn't originate with the BUFFER-COPY - it originated with the definition of the temp table. You must not define a temp table LIKE an Oracle table if it contains dates/times or it all goes terribly wrong. EG DEFINE...
  2. N

    Oracle dataserver/temp tables/buffer-copy

    Answer from George Potemkin on the PEG (Thanks George) Issue #20001130-009, Oracle DataServer When your run BUFFER-COPY against a table that has a date field and the time portion as well (field-1), the date in the buffer has the wrong date. Fixed in 9.1B06.
  3. N

    Oracle dataserver/temp tables/buffer-copy

    Help! :errr: Progress 8.3 We're running our standard interface routine (Developed in the 4GL) to an intermediate Oracle database for the first time. Part of the interface code copies a record from a table in the Oracle DB to a Progress TEMP-TABLE (Defined with LIKE) using BUFFER-COPY...
  4. N

    Locking

    Thanks for the suggestions I've pretty much decided that it'd be less painful to swap over to a 'counter' in the long run: As more people start using this system a growing queue forms for the lock on the 'spf' record - and this is under normal operation. The result: people keep going off and...
  5. N

    new line in editor

    Andrew There are two ways I can think of to get around this off the top of my head: 1) Use the REPLACE function to replace your own delimiter with '~n' _after_ you've imported the string. EG of REPLACE function.. ASSIGN cBeschreibung = REPLACE ( cBeschreibung, "delimiter", "~n" ). 2)...
  6. N

    new line in editor

    Samj ... or '~n' ...
  7. N

    new line in editor

    Word wrap? Are you referring to word wrap, or is this something more complex? If we're just talking word wrap, look in the language help for the WORD-WRAP and SCROLLBAR-HORIZONTAL attributes relating to editor widgets.
  8. N

    Locking

    Perhaps I should have mentioned? ..that it's our company policy to never use SHARE-LOCK. All uses of the counter are EXCLUSIVE-LOCK.
  9. N

    How to make a form visible?

    Are you running the child 'persistently'? This may be a stupid question (It depends what your current level of Progress GUI knowledge is), but could it be that you are not running the child window persistently? In that case you would have two windows with two wait-for's running at the same time...
  10. N

    Locking

    Hi all I seem to be beating my head against a wall with what appears to be a simple locking problem. We have an old character system running on Progress 8.3D clients on Windows NT workstation. The code originates way back from Progress V6 (No internal procedures, 63k limit, no 'counters')...
  11. N

    Odd numbers

    How about.. Right off the top of my head, without even thinking about it - Which is usually my problem :awink: ... IF dValue = 0 THEN MESSAGE "You must enter a value!" VIEW-AS ALERT-BOX ERROR. ELSE IF dValue MODULO 2 = 0 THEN MESSAGE "Value is even" VIEW-AS ALERT-BOX...
  12. N

    number of rows in browser v9.1c

    Results from the query? Assuming you mean the number of results from the browsers query, then... Use the NUM-RESULTS function (or attribute if it's dynamic), but... as a FOR EACH browse query initially only grabs a small subset of the results I think you'll need to use PRESELECT - which...
  13. N

    How to make a form visible?

    Simple example? Can you knock a simple example together? Is it possible that you are exiting the calling procedure? Or are you just hiding the calling procedure's window by setting attributes or using 'HIDE'?
  14. N

    Flat Button and Menu

    Whoops! Sorry, that'll teach me to read things properly next time!
  15. N

    Flat Button and Menu

    Appears to be a 'feature'?! Setting the 'FLAT-BUTTON' attribute forces 'NO-FOCUS'. It actually states in the online help: Why this is, I do not know, maybe it's a Microsoft 'feature'? You could get around the problem by sticking something like the following in your main block: ON...
  16. N

    Manuals - MAPI

    Are you using the native MAPI API? I've never used the native API (It's a bit complicated), preferring to use the simpler option of OLE (Which is documented on the dotr site). If you're using the native API, then as you've probably guessed you'll need to use MEMPTR variables to build...
  17. N

    Manuals - MAPI

    Multiple recipients? No problem! When you're sending to multiple recipients in Outlook or whatever, you separate multiple recipients with EG a semi-colon. The same applies here. EG to send to 'john@domain.com' and 'jane@domain.com', fill in the 'To' property as...
  18. N

    help query and table order

    Not sure you're using queries right It's a little difficult to tell from your post exactly what you're trying to do. Perhaps a code sample? If you create a query for a certain sort order then it should return the results in the sort order specified: That's the whole point. You need to use...
  19. N

    Determining lock status

    VST There's always the VST's (Virtual System Tables) as long as you have them enabled, that is. For more info refer to Progress KB article 19136. HTH
  20. N

    Controlling a wheel-mouse in a browse

    I've never tried this but... I've never tried this, but as no-one else has responded since you posted, I thought the following might help point you in the right direction. You might get some luck using the fabled MessageBlaster OCX (Which intercepts Windows messages), together with reviewing...
Top