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 dencom 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 cagiv

  1. cagiv

    temp variables in clarion

    The Clarion language provides three types of implicit variables: # A label terminated by a # names an implicit LONG. $ A label terminated by a $ names an implicit REAL. " A label terminated by a " names an implicit STRING(32). (Clarion - User Help)
  2. cagiv

    using vb-script with clarion

    Hello, you could use RUN() Example: RUN('C:\Windows\system32\WScript.exe test.vbs') cagiv
  3. cagiv

    Mouse Roller Control On a Listbox

    Hi, you could experimentalize with PROP:WheelScroll, perhaps there is a value with no reaction when he scrolled inadvertently. cagiv
  4. cagiv

    Compilation error

    https://groups.google.com/forum/#!topic/comp.lang.clarion/9OkbD9oamyc cagiv
  5. cagiv

    Determine how many Sundays are in date range

    Hi, you can try this way: SUN# = 0 LOOP i# = DEFORMAT('10.07.2015',@d17) TO DEFORMAT('10.08.2015',@d17) IF i# % 7 = 0 THEN SUN# += 1 END END message(SUN#) cagiv
  6. cagiv

    Convert string to long

    LONG declares a integer, you have to use DECIMAL (for example DECIMAL(15,2)). cagiv
  7. cagiv

    number of field from prop:sql

    In Oracle for example, you can make a select in/before your other Main-Statement. select count(*) from ALL_TAB_COLUMNS where TABLE_NAME = 'TABLE'
  8. cagiv

    number of field from prop:sql

    IF you use TABLE{PROP:SQL} = 'SELECT * FROM TABLE' you get all fields from TABLE. WITH NEXT(TABLE) you sync the hole row.
  9. cagiv

    Browse A Queue which Has an Array Field

    Why DIM(20), is there any Reason? How did try to browse this data? cagiv
  10. cagiv

    rename tabs

    Try After Opening The Window, because the default-text will be load on opening Window and overwrite yours again. cagiv
  11. cagiv

    time

    In your case: ROUND((DEFORMAT('20:20',@T1) - (DEFORMAT('08:30',@T1) + 8640001))/(-6000),.01) -> 730 min cagiv
  12. cagiv

    Refresh browse in another window

    Hi, an example: loc:ThreadID SIGNED loc:NotifValue UNSIGNED in FirstWindow you start the SecondWindow: loc:ThreadID = START(prSecWindow, 2500, Window{PROP:Thread}) in SecondWindow you will now refresh the FirstWindow NOTIFY(NOTIFY:RefreshWindow, pThread) in FirstWindow you get the...
  13. cagiv

    Refresh browse in another window

    Hi, you can use: NOTIFY( notifycode, <thread>, <parameter> ) It's very easy ,there is an example in Clarion-Help. cagiv
  14. cagiv

    refresh toolbar

    Hi, i hope i understand you right. 1) you can refresh with: DISPLAY() or DISPLAY(?MyString) or ThisWindow.Reset(True) 2) You can set the Rights for every action, for example: IF YourCondition THEN BR1.DeleteControl = 0 HIDE(?Delete) ELSE BR1.DeleteControl = ?Delete ! BR1 =...
  15. cagiv

    Counting Characters in a string on the fly

    Hi, you could use timer-event. In timer-embed you can get LEN() of string and display. cagiv

Part and Inventory Search

Back
Top