Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Variable Caching Problem With Report Window Custom Button Export To Excel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Variable Caching Problem With Report Window Custom Button Export To Excel

    Hopefully this is simple but I can't seem to figure it out.

    I made an action button in the freeform edit region of the search part of my grid.

    In defining that button I picked the "open a report" helper function and filled in my information.

    I wanted it to prompt for beginning and ending dates so I converted that action to text mode and added the relevant code.

    I then wanted a custom button in the report window that allows the user to export the report to excel instead of printing it so I made another button with the export to excel action, converted it to text mode and took that code and put it in my report button.

    It works perfect the first time my button is clicked. On subsequent clicks; however, the report works fine but the export to excel function seems to cache the dates that were used the first time. Refreshing the browser or closing the tabbed ui tab that the button is in clears this cache and allows it to work properly.

    Is there a way to make it clear the variables out and figure them each time the button is clicked?


    The conglomerated code looks like this:
    Code:
    window['{grid.componentName}_G_ACTIONBUTTON_PCREPORT_1'] = function(objEle) {
    var rowNum = {grid.object}._selectedRow;
    var rowId = $u.s.tran(rowNum,'-','_');
    var date1 = ''
    var date2 = ''
    var datestring = prompt('Please enter the dates between which you would like to run this report.  Separate the dates with two dots like the default example below:','01/01/2012..01/01/2013');
    if(datestring!=null)
    {
    date1 = datestring.split('..').shift();
    date2 = datestring.split('..').pop();
    }
    
     window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'] = {Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c' );
    if(!window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1']) {
    window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'] = {grid.object}.createWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c','modal-url-resizable',{
    	height: '5in',
    	width: '8in',
    	title: {
    		html: 'Window',
    		location: 'top',
    		show: true
    	},
    	disableMove: false,
    	theme: '{grid.style}',
    	body: {
    		content: {
    			type: 'url',
    			url: '__workingMessage.a5w'
    		}
    	},
    	onHide: function() { $(this.getWindowId('body')).src = '__workingMessage.a5w';},
    	buttons: {
    		items: [
    			{
    				html: 'Export To Excel',
    				name: 'Export To Excel',
    				action: function() {
    				var placeHolderValues = '';
    				var arguments = 'Date1|Time|'+date1+'||Date2|Time|'+date2+'';
    				//alert(date1 +' '+date2);
    				var callbackData = '_csfilename=%3cDefault%3e&_exportDataType=Excel%2dXLSX&_recordSelection=Records%20in%20current%20query&_exportSource=4&_maxRecords=10000&_exportHiddenFields=Y&_useColHeadings=Y&_zip=N&_customType=SQL&_connectionstring=%3a%3aName%3a%3aAutocrib&_sqlselect=SELECT%20a%2eitem%2c%20b%2edescription1%2c%20a%2eprices%2c%20a%2ehighprice%2c%20a%2elowprice%2c%20a%2edifference%2c%20a%2epercentdiff%20FROM%28SELECT%20item%2c%20COUNT%28DISTINCT%20unitprice%29%20prices%2c%20MAX%28unitprice%29%20AS%20highprice%2c%20MIN%28unitprice%29%20AS%20lowprice%2c%20MAX%28unitprice%29%2dMIN%28unitprice%29AS%20difference%2c%20100%2d%28MIN%28unitprice%29%2fMAX%28unitprice%29%2a100%29%20AS%20Percentdiff%20FROM%20MyTran%20WHERE%20type%20IN%20%28%27PO%27%2c%27PE%27%2c%27P%27%29%20AND%20mydate%20BETWEEN%20%3aDate1%20AND%20%3aDate2%20GROUP%20BY%20item%20HAVING%20COUNT%28DISTINCT%20unitprice%29%20%3e%201%29%20AS%20A%20LEFT%20JOIN%20item%20AS%20B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ON%20a%2eitem%3db%2ecode';
    				callbackData = callbackData + '&_placeholderValues='+placeHolderValues + '&_arguments='+arguments;
    				{grid.Object}.ajaxCallback('G',rowNum,'__a5systemfileExport','',callbackData);},
    				disabled: false,
    				show: true
    			},
    			{
    				html: 'Close',
    				name: 'Close',
    				action: 'Close',
    				disabled: false,
    				show: true
    			}
    		],
    		style: ''
    	}
    }   );
    };
    
    	var ro = new Object();
    	ro.hostComponentType = 'Grid';
    	ro.reportName = '[email protected]';
    	ro.reportNameShort = 'ACPriceChange';
    	ro.reportType = 'Report';
    	ro.reportIFrame = window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'].getWindowId('body');;
    	ro.gridId = '{grid.componentName}';
    	ro.download = 'N';
    	ro.xbasicFunction = '';
    	ro.clientSideFilename = '';
    	ro.reportMessagesDivId = '';
    	ro.filter = '';
    	ro.order = '';
    	ro.sqlFilter = '';
    	ro.sqlOrder = '';
    	ro.arguments = 'Date1|Time|'+date1+'||Date2|Time|'+date2+'';
    	ro.workingMessage = '<img src="CSS/A5System/images/wait.gif" />Working...';
    	ro.pdfoptions = '';
    	ro.displayMode = '';
    	ro.saveAs = 'pdf';
    	ro.pdfOpenParameters = '' ;
    	ro._gridCurrentFilter = {grid.object}._gridFilter;
    	ro._gridCurrentOrder = {grid.object}._gridOrder;
    	ro._gridCurrentArguments = {grid.object}._gridArguments;
    	ro._gridCurrentDBType = {grid.object}._gridDBType;
    	ro.afterExecuteJavascript = '';
    	if(A5.__dtfmt) ro.__dtfmt = A5.__dtfmt;
    	
    	
    	
    	ro.htmlReporting = false;
    	
    	
    	
    	if({grid.object}._embeddedMode) {
    		var callWorkingPreview = true;
    		if( typeof ro.htmlReporting == 'object' ) {
    			if( ro.htmlReporting.initialView == "HTML" ) {
    				callWorkingPreview = false;
    			}
    		}
    		if( callWorkingPreview ) {
    			ro.windowType = 'Modal';
    			reportPreviewFromWorkingPreview(ro);
    			return false;
    		}
    	}
    	
    	A5.component.runReport(ro);
    
    window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'].show();
    
    }
    Here's a screen shot for clarification of what I'm working on.
    exportreport.png

    #2
    Re: Variable Caching Problem With Report Window Custom Button Export To Excel

    Does anyone have an idea on this? How about you Andy ole' buddy ole' pal?

    Comment


      #3
      Re: Variable Caching Problem With Report Window Custom Button Export To Excel

      He-rohoh?...LOL

      Comment


        #4
        Re: Variable Caching Problem With Report Window Custom Button Export To Excel

        Originally posted by -Jinx- View Post
        He-rohoh?...LOL
        Is the snow coming down too fast for you to type????
        Al Buchholz
        Bookwood Systems, LTD
        Weekly QReportBuilder Webinars Thursday 1 pm CST

        Occam's Razor - KISS
        Normalize till it hurts - De-normalize till it works.
        Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
        When we triage a problem it is much easier to read sample systems than to read a mind.
        "Make it as simple as possible, but not simpler."
        Albert Einstein

        http://www.iadn.com/images/media/iadn_member.png

        Comment


          #5
          Re: Variable Caching Problem With Report Window Custom Button Export To Excel

          Lo!

          So. The first time you execute this routine, the window doesn't exist. There's a check for this:

          Code:
          window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'] = {Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c' );
          if(!window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1']) {
          ...
          }
          On subsequent runs, that IF statement returns FALSE. Unfortunately, your dates for the Excel button are being set inside that if statement. Because windows are NOT destroyed on close, the dates are retained and are not updated on subsequent displays (because the window already exists!)

          There are many ways to solve this issue. But the easiest by far is probably to just delete your window & always create it. Author's Warning: I did not test this code:

          Code:
          // add the following just before window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'] = {Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c' );
          
          if({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c') !== false) {
            delete {Grid.object}._genericWindow['WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'];
          }
          Good luck.
          ---
          Sarah
          Last edited by TheSmitchell; 03-05-2013, 01:15 PM.
          Alpha Anywhere latest pre-release

          Comment


            #6
            Re: Variable Caching Problem With Report Window Custom Button Export To Excel

            LOL,
            The snow must have went to my head.

            I hope it doesn't get so deep that I regret taking my car to work instead of my old Willys.

            Comment


              #7
              Re: Variable Caching Problem With Report Window Custom Button Export To Excel

              Sarah,
              Thanks for your help. It didn't work though. I actually get two of the "working" images in the window the second time I run it instead of 1 if that is any help.

              Also, if I put an alert
              Code:
              alert({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'));
              in my code before the part you asked me to insert, it runs that alert before I even click the button.

              Maybe this shouldn't be in the "Declarations - Global"
              Last edited by -Jinx-; 03-05-2013, 12:56 PM.

              Comment


                #8
                Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                Originally posted by -Jinx- View Post
                LOL,
                The snow must have went to my head.

                I hope it doesn't get so deep that I regret taking my car to work instead of my old Willys.
                I'd always take the Willys.. and heavy clothing....
                Al Buchholz
                Bookwood Systems, LTD
                Weekly QReportBuilder Webinars Thursday 1 pm CST

                Occam's Razor - KISS
                Normalize till it hurts - De-normalize till it works.
                Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
                When we triage a problem it is much easier to read sample systems than to read a mind.
                "Make it as simple as possible, but not simpler."
                Albert Einstein

                http://www.iadn.com/images/media/iadn_member.png

                Comment


                  #9
                  Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                  Originally posted by Al Buchholz View Post
                  I'd always take the Willys.. and heavy clothing....
                  As long as the snow doesn't go over the bumper, my AWD Subaru with snow tires is like a fricken mountain goat. Snow over 8" and the Willys takes the advantage. Plus, if you do go in the ditch with a '59 Willys truck, there isn't any plastic to break.

                  Comment


                    #10
                    Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                    Originally posted by -Jinx- View Post
                    Sarah,
                    Thanks for your help. It didn't work though. I actually get two of the "working" images in the window the second time I run it instead of 1 if that is any help.

                    Also, if I put an alert
                    Code:
                    alert({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'));
                    in my code before the part you asked me to insert, it runs that alert before I even click the button.

                    Maybe this shouldn't be in the "Declarations - Global"
                    The alert displays when the page is loaded? Does it display your prompt for dates before you click the button?
                    Alpha Anywhere latest pre-release

                    Comment


                      #11
                      Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                      Originally posted by TheSmitchell View Post
                      The alert displays when the page is loaded? Does it display your prompt for dates before you click the button?
                      Yeah, it displayed when the page was loaded. No, it didn't display my prompt until I clicked the button.

                      I've subsequently moved your code along with an alert into the Javascript - Attribute:
                      Code:
                      alert({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'));
                      if({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c') !== false) {
                        delete {Grid.object}._genericWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c');
                      }
                      {grid.componentName}_G_ACTIONBUTTON_PCREPORT_1(this);
                      It works and displays "false" the first time around. The second time around (when delete should fire) it gives me an error saying a function was expected.

                      Comment


                        #12
                        Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                        Whoops! () should be []:

                        Code:
                        delete {Grid.object}._genericWindow['WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'];
                        Imma going to edit the previous post thar.
                        Alpha Anywhere latest pre-release

                        Comment


                          #13
                          Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                          Originally posted by TheSmitchell View Post
                          Whoops! () should be []:

                          Code:
                          delete {Grid.object}._genericWindow['WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'];
                          Imma going to edit the previous post thar.
                          Thanks!!!!
                          It works perfectly now when placed in the Javascript - Attribute:
                          Code:
                          if({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c') !== false) {
                          	delete {Grid.object}._genericWindow['WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'];
                          }
                          {grid.componentName}_G_ACTIONBUTTON_PCREPORT_1(this);
                          Many thanks again oh JavaScripting guru.

                          Comment


                            #14
                            Re: Variable Caching Problem With Report Window Custom Button Export To Excel

                            You *should* be able to put it inside the function that you're calling instead of deleting it outside the place where it is originally created:

                            Code:
                            window['{grid.componentName}_G_ACTIONBUTTON_PCREPORT_1'] = function (objEle) {
                                var rowNum = {grid.object}._selectedRow;
                                var rowId = $u.s.tran(rowNum, '-', '_');
                                var date1 = ''
                                var date2 = ''
                                var datestring = prompt('Please enter the dates between which you would like to run this report.  Separate the dates with two dots like the default example below:', '01/01/2012..01/01/2013');
                                if (datestring != null) {
                                    date1 = datestring.split('..').shift();
                                    date2 = datestring.split('..').pop();
                                }
                            
                            [B][COLOR="#0000FF"]    if ({Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c') !== false) {
                                    delete {Grid.object}._genericWindow['WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c'];
                                }
                            [/COLOR][/B]
                                window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'] = {Grid.object}.getWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c' );
                                if(!window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1']) {
                                    window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'] = {grid.object}.createWindow('WINDOW_a05501da_c7da_40c8_b3e1_8137f37fb33c','modal-url-resizable',{
                            	    height: '5in',
                                	    width: '8in',
                                        title: {
                                            html: 'Window',
                                            location: 'top',
                                            show: true
                                        },
                                        disableMove: false,
                                        theme: '{grid.style}',
                                        body: {
                                            content: {
                                                type: 'url',
                                                url: '__workingMessage.a5w'
                                            }
                                        },
                                        onHide: function() { $(this.getWindowId('body')).src = '__workingMessage.a5w';},
                                        buttons: {
                                            items: [
                                                {
                                                    html: 'Export To Excel',
                                                    name: 'Export To Excel',
                                                    action: function() {
                                                    var placeHolderValues = '';
                                                    var arguments = 'Date1|Time|'+date1+'||Date2|Time|'+date2+'';
                                                    //alert(date1 +' '+date2);
                                                    var callbackData = '_csfilename=%3cDefault%3e&_exportDataType=Excel%2dXLSX&_recordSelection=Records%20in%20current%20query&_exportSource=4&_maxRecords=10000&_exportHiddenFields=Y&_useColHeadings=Y&_zip=N&_customType=SQL&_connectionstring=%3a%3aName%3a%3aAutocrib&_sqlselect=SELECT%20a%2eitem%2c%20b%2edescription1%2c%20a%2eprices%2c%20a%2ehighprice%2c%20a%2elowprice%2c%20a%2edifference%2c%20a%2epercentdiff%20FROM%28SELECT%20item%2c%20COUNT%28DISTINCT%20unitprice%29%20prices%2c%20MAX%28unitprice%29%20AS%20highprice%2c%20MIN%28unitprice%29%20AS%20lowprice%2c%20MAX%28unitprice%29%2dMIN%28unitprice%29AS%20difference%2c%20100%2d%28MIN%28unitprice%29%2fMAX%28unitprice%29%2a100%29%20AS%20Percentdiff%20FROM%20MyTran%20WHERE%20type%20IN%20%28%27PO%27%2c%27PE%27%2c%27P%27%29%20AND%20mydate%20BETWEEN%20%3aDate1%20AND%20%3aDate2%20GROUP%20BY%20item%20HAVING%20COUNT%28DISTINCT%20unitprice%29%20%3e%201%29%20AS%20A%20LEFT%20JOIN%20item%20AS%20B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ON%20a%2eitem%3db%2ecode';
                                                    callbackData = callbackData + '&_placeholderValues='+placeHolderValues + '&_arguments='+arguments;
                                                    {grid.Object}.ajaxCallback('G',rowNum,'__a5systemfileExport','',callbackData);},
                                                    disabled: false,
                                                    show: true
                                                },
                                                {
                                                    html: 'Close',
                                                    name: 'Close',
                                                    action: 'Close',
                                                    disabled: false,
                                                    show: true
                                                }
                                            ],
                                            style: ''
                                        }
                                    });
                                };
                            
                                var ro = new Object();
                                ro.hostComponentType = 'Grid';
                                ro.reportName = '[email protected]';
                                ro.reportNameShort = 'ACPriceChange';
                                ro.reportType = 'Report';
                                ro.reportIFrame = window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'].getWindowId('body');;
                                ro.gridId = '{grid.componentName}';
                                ro.download = 'N';
                                ro.xbasicFunction = '';
                                ro.clientSideFilename = '';
                                ro.reportMessagesDivId = '';
                                ro.filter = '';
                                ro.order = '';
                                ro.sqlFilter = '';
                                ro.sqlOrder = '';
                                ro.arguments = 'Date1|Time|'+date1+'||Date2|Time|'+date2+'';
                                ro.workingMessage = '<img src="CSS/A5System / images / wait.gif " />Working...';
                                ro.pdfoptions = '';
                                ro.displayMode = '';
                                ro.saveAs = 'pdf';
                                ro.pdfOpenParameters = '' ;
                                ro._gridCurrentFilter = {grid.object}._gridFilter;
                                ro._gridCurrentOrder = {grid.object}._gridOrder;
                                ro._gridCurrentArguments = {grid.object}._gridArguments;
                                ro._gridCurrentDBType = {grid.object}._gridDBType;
                                ro.afterExecuteJavascript = '';
                                if(A5.__dtfmt) ro.__dtfmt = A5.__dtfmt;
                            
                                ro.htmlReporting = false;
                            	
                                if({grid.object}._embeddedMode) {
                                    var callWorkingPreview = true;
                                    if( typeof ro.htmlReporting == 'object' ) {
                                        if( ro.htmlReporting.initialView == "HTML" ) {
                                            callWorkingPreview = false;
                                        }
                                    }
                                    if( callWorkingPreview ) {
                                        ro.windowType = 'Modal';
                                        reportPreviewFromWorkingPreview(ro);
                                        return false;
                                    }
                                }
                            	
                                A5.component.runReport(ro);
                                
                                window['{Grid.ComponentName}_ACTIONBUTTON_PCREPORT_1'].show();
                            }
                            Keeps the ID's all together...
                            ---
                            Sarah
                            Alpha Anywhere latest pre-release

                            Comment

                            Working...
                            X