Search results

  1. K

    Selection list - dynamically set intial

    Is there a way to dynamically set the initial value of a selection list? I have a screen that I am developing and the selection list I am using has different values depending on what is passed in but no matter what I want to select the 1st value in the selection box once it's been populated...
  2. K

    Speeding up query

    Morning all, I'm rewriting a screen and the browse in it is based on data pulled from several tables. The way I've got it now, the user selects data from a few selection boxes (multi-selection available) and based on the data selected the query is ran: /* The variables contain the...
  3. K

    Fetching Selected Records in Brw

    I'm having issues with a multi-selection browse I'm developing. The browse is displaying a query from a temp-table that is created earlier in the program. The issue I'm having is how to find out what the user has selected. I've played around with several different triggers and still can't...
  4. K

    Selection-List: Getting multiple values

    I'm working with a selection-list and I'm allowing users to select multiple values in the list. How do I get all of the selected values into a variable? I can see there is an IS-SELECTED() method but I can't seem to get it to work. Does anyone know how to get this working correctly?
  5. K

    UCC 128 Barcode generation

    I'm working on a report that needs to print out a code 128 barcode on it and haven't found much in the way of help for such a task. Can anyone point me in the right direction for finding this, some code examples perhaps?
  6. K

    Alternative to ADD-LIKE-COLUMN

    Hey all, I'm working on a project and one of the tasks I'm looking into is adding a field to a browser thats from a database. It's pretty simple to implement since it's a new field that was added to the table that the program is already using. The problem is, the new field is a logical and...
  7. K

    Add leading zero to field from csv

    I'm having trouble with a field that I'm reading in from a .csv and loading into a temp-table. The field can (and does) contain characters and integers so the datatype is character for the temp-table field. The only problem is I can't figure out how to add a leading zero for an integer that is...
  8. K

    Nesting dynamic queries

    I'm a bit new to dynamic queries and don't fully understand them, mostly, I've been using code developed by other programmers to learn it. Here's a problem I've encountered that I'm not sure how to approach. Heres the situation: I have 2 dynamic temp-tables (t-hdl-tbl1, t-hdl-tbl2) and...
  9. K

    Changing file types (xls to csv)

    Whats the best way to change the file type of an input file? Heres the situation: A user inputs a file (.xls or .csv), I need to convert to a .csv if they happen to input a .xls. Right now I have a SYSTEM-DIALOG GET-FILE displaying for .xls or .csv and I assign the chosen file to a fill-in.
  10. K

    Hiding Fill-In object

    Working with an application that requires me to show/hide various parts of the screen but I'm having trouble hiding any fill-ins. Here is some of the code I've tried: v-cd-border:HIDDEN IN FRAME T-Main = TRUE. v-cd-border:VISIBLE IN FRAME T-Main = FALSE. v-cd-border:SENSITIVE IN FRAME T-Main...
  11. K

    LOOKUP() func not working

    Hail all, Need some help figuring out the deal with this LOOKUP() function, I've used it many times before, but just can't for the life of me figure out whats wrong with it. I'm sure it's something simple I just need a fresh set of eyes: DEF VAR v-found AS INT. DEF VAR v-list AS CHAR...
  12. K

    Incrementing Time values

    Hey all, Working with some time values here and need to increment by a predetermined amount of hours. Whats the best way to do this? Didn't have much luck searching previous posts or on OEH.
  13. K

    Assigning/Hiding Text Label

    I'm having trouble assigning values to and hiding a text label in a window I am working with. Keep getting ' Unknown Field or Variable name - TEXT-1. (201)" error. Here is the statement I'm using: TEXT-1:HIDDEN IN FRAME M-Main = TRUE. That or assigning it a different value but neither...
  14. K

    RELEASE statement

    Found a rather odd error today. It seems that putting a RELEASE statement after a DELETE statement keep it from actually deleting the record? Could anyone maybe elaborate on this? Thanks!
  15. K

    Anyone using OE Architect?

    I recently tried installing this on my PC and when I attempt to open the application I get an error that tells me: "An error has occured. See the logs: <path name>" Upon looking at the log There are 2 errors: !SUBENTRY 2 org.eclipse.emf.importer 2 0 2009-01-08 08:31:32.569 !MESSAGE...
  16. K

    Display Tooltip depending on IF statement

    Hail ProgressTalkers, Here's a brief overview of what I'm doing: I've got a browse in a window that will display a list of 1 or 2 things. 1 (Checkbox unchecked) it will display type1, or 2 (Checkbox checked) it will display type1 and type2. If the user selects type2 and tries to download it...
  17. K

    Delete column from dyname temp-table

    Is there a way to delete a column from a dynamic temp-table? I need to do this if the user doesn't have the appropriate access level and am having trouble finding a way to do this.
  18. K

    Checking variable for A-Z

    Is there a quick and easy way to check a variable to be A-Z? I figure I have to do it character by character but past that I am unsure as character data types allow more then just A-Z.
  19. K

    Best way to loop through Excel

    What is the best way to loop through an excel document if you don't know where the end could be? Previously, I was using a counter that added the records up as they were put into the excel document but when I am reading them back in, the user could've added records.
  20. K

    EACH in a FOR EACH clarification

    Hello, I was wondering if anyone could clarify what exaclty an EACH inside of a FOR EACH does this code doesn't make a whole lot of sense to me: FOR EACH table1 NO-LOCK, EACH table2 NO-LOCK: blah blah. END. Also where in this would the WHERE statement go if both had a...
Top