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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TinLegs

    Sort Lotto numbers

    If its of any help to others I have found a solution (code below). Sure the code is very basic but it works and could be a basis to improve on. ---------------- Code ------------------ SortPIC Routine !For 6 Lotto numbers LOC:SortToDo=TRUE LOC:Temp = 0 LOOP IF LottoNumber[1] >...
  2. TinLegs

    Sort Lotto numbers

    Does anyone have a function that will sort 6 Lotto numbers low to high. Example: From this 21 32 36 01 38 05 to this 01 05 21 32 36 38 I recall a function in BASIC which done this, it included the SWAP command which Clarion 6.1 does not have and I can not seem to find an alternative...
  3. TinLegs

    Have you had this experience with Windows 10?

    I have an application (C6.1 legacy) that has been running trouble free for many years but now, and only now with Windows 10 it stops responding on the browse's Add/Update window. It only seems to occur if the Add/Update window is left open and not in use for a period of time. Its as if the...
  4. TinLegs

    Create a header in a CSV file

    I have a legacy C6.1 app and allow the user to optionally create a CSV header using this code.... ! Start of "Beginning of Procedure, After Opening Files" ! [Priority 3500] !Create Header CREATE(MH_Export) OPEN(MH_Export) CASE MESSAGE('Add a file header...
  5. TinLegs

    Runnig Clarion app on USB memory stick

    Greetings all I have an app compiled in Local with no associated DLL's and all the apps data files, program (everything) is in the same folder. (Compiled in Clarion 6.1) The app appears to run fine on a USB memory stick but I just wondered if I am missing something as I have not tested it on...
  6. TinLegs

    Copy Command

    Not to sure if its the best way but it works for me... 1. Place a 'Progress control' on the window (Use var defaults to 'Progress1'. 2. When the button on the window is pressed that initiates the COPY command I have the following code at the buttons 'Accepted' embed point. In my case I am...
  7. TinLegs

    Copy Command

    If using the Clarion COPY command you can place a PROGRESS control in your app to indicate progress to the user (see PROGRESS in the help). If you are exiting to DOS to Copy (ie. a batch file) then you might consider looking into using the Clarion COPY command within you app instead?
  8. TinLegs

    App hangs in Windows 7

    I have a legacy C6.1 app which has been running fine since 2001 but I have now found that in Windows 7 if the [Alt] key is pressed on an MDI update window the program freezers (hangs). Alt+Esc seems to get me back OK but I am unable to find a reason why it hangs? With Windows XP using the...
  9. TinLegs

    Reports Min/Max for variable

    For those interested in this problem it appears not. I have obtained the result I wanted though hand coding, it was just that I preferred the calculation to be made by Clarion.
  10. TinLegs

    abc clarion record delete issue

    May I suggest you have a look at file relationships and how to set them up in the DCT because the way I understand it is if a record is deleted the action can be made to Cascade to the related file.
  11. TinLegs

    Reports Min/Max for variable

    I have a C6.1 ABC app and on the report footer I have Clarion calculate the Max and Min values of a numetric variable. The problem is that the variable is not a 'Required' field therefore for some records it can be omitted and results in the Min value being reported as zero. It is these blank...
  12. TinLegs

    Paper Size A4 to Letter at runtime.

    I omitted to mention... or would I be better off having both an A4 and Letter size of the same report within the app and have them conditionally called?
  13. TinLegs

    Paper Size A4 to Letter at runtime.

    I have a C6.1 ABC app with reports designed for the 'A4' paper size (default). Prior to printing a report I would like to be able to allow a user to select the 'Letter' paper size. I thought I might just use a GLO:Variable to define which size the report is to be. I appreciate I need to use...
  14. TinLegs

    How to export group footer report to excel or csv file

    If you are just wanting to export to a CSV file from a report I normally create a BASIC file in the DCT for the fields required then within the report itself as the records are processed you ADD(ToBASICfile). Hope this is helpful.
  15. TinLegs

    Rename WMF file for a single page report (Legacy)

    My question was a bit misleading. I see now it is the Job Name I want to change REPORT(jobname) not the WMF file name and if its of any help to anyone else I think I have found a solution. Legacy embed 'After Opening the Report'. ie. LOC:RptJobName=INV:CustName REPORT{PROP:Text}=(LOC:RptJobName)
  16. TinLegs

    Rename WMF file for a single page report (Legacy)

    Greetings all - I have a C6.1 Legacy app and would like to RENAME the WMF file for a single page report that is printing a single record only. I do not need to save this file and it can remain as a temp file and be removed as normal when the report is closed. From the Print Preview it is being...
  17. TinLegs

    Error while browsing CSV file

    Ref from Clarion help: Error 80 - The file driver has detected a file access statement that is not supported. This is frequently an unsupported form (different parameters) of a statement that is supported. ie. Are you trying to use a Key or other unsupported access statement with a Basic file...
  18. TinLegs

    Conditional selection of Radio option

    Thank you very much cagiv. I have it working now however if its any help to anyone else further to my question I found that if the check box was unticked, another Radio option selected, then the check box ticked again SELECT() was useful. ie. IF loc:check then !checkbox is ticked loc:option...
  19. TinLegs

    Conditional selection of Radio option

    I have a C6.1 Legacy app. Q. I want to select (prime) a certain Radio Option from a group if a certain Check Box is ticked. It can remain selected if the Check Box is un-ticked. I thought this would be an easy task but it is really testing me. Thanks.
  20. TinLegs

    Legacy Report - Printing Totals Only problem.

    Just in case it's of any help to other users with this issue I have solved the problem by creating a new report. In my case I now read the Member Types file (normally very few records) and have the report LOOP through the Members file to count the members assigned to each type.

Part and Inventory Search

Back
Top