Search results

  1. M

    Query Names

    I'm using the created Browser, and assigning it a new query. BUT, the old query is closed and emptied. Therefore, the Get-Next in my old tools (using the Query Name) are not working since the newly assigned Query doesn't have the same name (or so i think).
  2. M

    Query Names

    Hello everyone, I have a question. I have a screen that starts with a Static Query/Browse and that changes to a Dynamic one. Unfortunatly all my system tools are built using the Pre-Proc name of query: br_table. Is there any way to name my newly created Dynamic query to that specific...
  3. M

    Dynamic Queries + Static Queries

    HUm... Not sure i get your answer :P hehehe Might still be sleeping. Anyway, i am using the standard query (therefore called br_table). My current dynamic code that messes out everything is this Procedure: /*------------------------------------------------------------------------------...
  4. M

    Dynamic Queries + Static Queries

    Hi everyone, I have wandering, once you do the whole code for a dynamic browser, can the static query that was previously assigned to the browser be used? I have a lookup screen. Upon loading the screen, it displays all the employee using the standard AppBuilder Browser Query Builder...
  5. M

    Pre-Proc

    Hi everyone, We have an existing platforme that has a very slow functionnality. I was easilly able to figure out what was the problem but unfortunatly i can't seem to be able to fix it! Here we go: I have a lookup button on a window that brings a browser where you can search a record...
  6. M

    Handles

    The one in the Initialise section is called as i previously said. The other one is called using this procedure: (Look for the zztool.notifyselect variable. thing is, i tried this methode before and it still messes up the parenting.... &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE...
  7. M

    Handles

    Alright... the publish event didn't work... But this worked: RUN notify in h_ToolBar (zzTool.NotifySelect) NO-ERROR. unfortunatly, this does not fix my problem.... My problem is that whenever i call a click on this button, the lookup opens, then the lookup's Define Search window (So...
  8. M

    Handles

    Both didn't work. First one used as such gave me a runtime error: User-defined Function 'AllFieldNames' invoked dynamically but could not be found. (5639) ASSIGN cAllFieldNames = DYNAMIC-FUNCTION ( 'getAllFieldNames':U IN h_Toolbar ). MESSAGE cAllFieldNames VIEW-AS ALERT-BOX INFO BUTTONS...
  9. M

    Handles

    ADM2 it is... I have SDO's everywhere with links. I was wandering how to use the properties you mention. Progress is not giving up a lot of info on it in the Help files :( Other then using these, there are no way to run a adm-get-something to get the com-handle?
  10. M

    Handles

    I have no idea what ADM version i am running. how can i know that? I haven't used handle so this part is quite new to me.... Been doing CHUI for 10 years so my GUI is pretty bad! How do i use these properties? What is an SDV?
  11. M

    Handles

    Hi Everyone, I have a Smart Window built as such: 1 - Smart Object called h_Toolbar. 1 - Smart Object called h_viewer1. 1 - Smart Object called h_browser1. The browser currently is my query. The Toolbar has some buttons created as such: PROCEDURE ADDBUTTON: define input...
  12. M

    Smart Window problem

    I've been trying for a while now. I am currently calling it from the container window. But still has the same problem. Thing haven't changed. I have done testing about putting it right after the CreateObjects and it is not the right place to put it. Enable_UI seems to be the best place i could...
  13. M

    Smart Window problem

    Hi Everyone, Well my question is both simple and complicated! hahahah Alright, i have a Smartwindow with 3 smartobjects. 1st Smart Object is a Toolbar. 2nd Smart Object is a Viewer. 3rd Smart Object is a SmartFolder with 6 tabs containing each a Smartbrowser. My question: What is...
  14. M

    Browser clearing

    Alright! I was able to figure it out! I was indeed closing the Query but as such: q_MyQuery:QUERY-CLOSE (). This wasn't workin! So used what David said: CLOSE QUERY q_MyQuery. And it worked! Only a few other glitched but i think those are linked to our software tools that are not used with...
  15. M

    Browser clearing

    Hi everyone, i have a screen built as such. A smart window containing 3 smart objects. 1 toolbar, one viewer and one browser. As this is a simple inquiry screen, the browser itself is my query. The users are requesting a a "Clear" button be added. That button would clear the viewer and...
  16. M

    How to know if a Temp-Table is defined

    Hi everyone, i know that might seem weird but i have an Include that is used in a procedure all arround my system. This procedure checks validity of data. One point is that i can't get it to check the content of a temp-table as well as this static temp-table is not always defined! It depends...
  17. M

    Queries and Can-Find

    Here's what i got, it's giving me (at compile) that it can't find nss-employee.SSN in the Browser. This is from my Local-initialize: /* Include file required at the beginning of each internal procedure */ DEFINE VARIABLE cQueryWHere AS CHAR NO-UNDO. {system/method/proc.i}...
  18. M

    Queries and Can-Find

    Alright i started playing with the thing... Do i need to initialise the browser ? Can i use my current browser called br_table and therefore change all the ghBrowse? I tried it using this in the local-initialize and well, didn't work. It actually crashed my App builder completely hahahaha
  19. M

    Queries and Can-Find

    As soon as i assign the new query to the browser, all the fields are removed :( Dammit... I'll have to go with the Dynamic fields as well... Might take a while but i'll get back to you on it :) Thanks a lot!
  20. M

    Queries and Can-Find

    Another Step closer! :) But no cigars... again hahaha I'm trying to fix my problem! It's coming from the fact that i have a calculated field in my columns! So since they are seperated by Space, this causes me a problem. GetStatusDesc(nss-employee.status-code) @ v-statusdesc Any other way we...
Top