Serialize a dynamic data set to a cookie?

Hello,
I'm working on a shopping cart, and the cart now is very
spry. I'm able to add items to the cart, etc. But, I'd like the
cart persisted over multiple sessions, so I need to serialize the
dataset into a cookie. Any thoughts on how to go about this?
Thanks,
Matt

Hi Matt,
FYI, the next version of Spry has a utility method that
allows you to serialize a JS object into JSON format.
--== Kin ==--

Similar Messages

  • Dynamic Data Sets

    I'm trying to populate a second dropdown based on the
    selected item in the first dropdown. I've been testing out Data Set
    Master-Detail Sample but it specifies a field in the first select
    "url" which contains the actual name of the url file.
    1. I'm using the dynamic xml plugin from Adobe on a CF query.
    Thus, I'd like to only pass the variable needed to the dataset
    needed. I know it should look something like the example, but the
    example is hardcoded, not dynamic ("/photos.php?galleryid=2000").
    How do I make this dynamic based on the ID I have in the first
    select drop down?
    2. Also, I'm getting the error
    that..."document.forms[0].select2" is Null or not an object.
    3. here's my code:
    <script type="text/javascript">
    <!--
    var dsclientlist = new
    Spry.Data.XMLDataSet("/ajax/getclients.cfm",
    "export/row",{sortOnLoad:"ClientName",sortOrderOnLoad:"ascending",useCache:false});
    dsclientlist.setColumnType("ClientID", "number");
    var dsproblemlist = new
    Spry.Data.XMLDataSet("/ajax/getproblems.cfm", "export/row", {
    method: "POST", postData: "clientrecid=184", headers: {
    "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
    </script>
    </head>
    <body>
    <form name="selectForm" action="">
    <div spry:region="dsclientlist">
    <select name="select" spry:repeatchildren="dsclientlist"
    onchange="document.forms[0].select2.disabled = true;
    dsclientlist.setCurrentRowNumber(this.selectedIndex);" >
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{ClientID}"
    selected="selected">{ClientName}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{ClientID}">{ClientName}</option>
    </select>
    </div>
    <br />
    <div spry:region="dsclientlist dsproblemlist">
    <select name="select2"
    spry:repeatchildren="dsproblemlist">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{dsproblemlist::ProblemID}"
    selected="selected">{dsproblemlist::ProblemTitle}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{dsproblemlist::ProblemID}">{dsproblemlist::ProblemTitle}</option>
    </select>
    </div>
    </form>
    Thanks,
    Michael
    Here's the code I'm using

    Kin,
    Yes, I'm using ClientID from the first select box to try and
    pass it to a query to get the values for the second select box. I
    tried your code but I think I'm still missing something. With the
    "post" method, wouldn't I need to actually do a form submit? Or
    would it work just by changing the value in the first drop down?
    I'm trying to base my method off of the following example,
    but make it dynamic:
    http://labs.adobe.com/technologies/spry/samples/data_region/DataSetMasterDetailSample.html
    The query to get my second select list values looks like
    this:
    SELECT ProblemID,ProblemTitle,fgnClientRecID
    FROM dbo.tbl_Problems
    where fgnClientRecID = #url.ClientID#
    My code looks like this:
    <script src="/SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="/SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    var dsclientlist = new
    Spry.Data.XMLDataSet("/ajax/getclients.cfm",
    "export/row",{sortOnLoad:"ClientName",sortOrderOnLoad:"ascending",useCache:false});
    dsclientlist.setColumnType("ClientID", "number");
    var dsproblemlist = new
    Spry.Data.XMLDataSet("/ajax/getproblems.cfm", "export/row", {
    method: "POST", postData: "clientrecid={dsclientlist::ClientID}",
    headers: { "Content-Type": "application/x-www-form-urlencoded;
    charset=UTF-8" } });
    </script>
    </head>
    <body>
    <form name="selectForm" action="">
    <div spry:region="dsclientlist">
    <select name="select" spry:repeatchildren="dsclientlist"
    onchange="document.forms[0].select2.disabled = true;
    dsclientlist.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{ClientID}"
    selected="selected">{ClientName}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{ClientID}">{ClientName}</option>
    </select>
    </div>
    <br />
    <div spry:region="dsproblemlist">
    <select name="select2"
    spry:repeatchildren="dsproblemlist">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{dsproblemlist::ProblemID}"
    selected="selected">{dsproblemlist::ProblemTitle}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{dsproblemlist::ProblemID}">{dsproblemlist::ProblemTitle}</option>
    </select>
    </div>
    </form>
    Thanks,
    Mike

  • Compare scalar value to dynamic data

    I am trying to compare a scalar number input in the front panel to a dynamic data set(from DAQ) and return a boolean true if the condition is met. How can I compare one value to each data point in the acquisition data set?

    You can use the Convert From Dynamic Data and convert to a 1D array. The comparsion functions work with an array as one input and a scalar as another. The output is a Boolean array - the results of each element in the array to the scalar. I think you can also use the Comparison Express VI but I have seldom used any of the Express functions so I'm not sure about that.

  • Can we set the dynamic data source when using getReportParameters() ?

    Hello!
    I have a report where one of its parameters refers to a list of values (LOVs). This list of values is an SQL Query type. When the data source used in the report is defined in the BI Publisher server, I'm able to get the report parameters using the getReportParameters() function in my application. However, if the data source is not defined the function throws an exception, which is understandable.
    I decided to dynamically set the data source so that even if the data source used by the report is not defined in the BI Publisher server, it still will be able to get the LOVs for the parameter. I tried setting the JDBCDataSource of the dynamicDataSource for the ReportRequest object that I passed to the getReportParameters() function. Please see the sample code below:
    reportRequest.dynamicDataSource = new BIP10.BIPDataSource();
    reportRequest.dynamicDataSource.JDBCDataSource = new BIP10.JDBCDataSource();
    setReportDataSource(reportRequest.dynamicDataSource.JDBCDataSource, connectstr, jdbc, dc); //function to set the values for JDBCDataSource object
    reportParams = webrs.getReportParameters(reportRequest, uid, pwd); //call the getReportParameters
    I was expecting this to work as this is what I did to dynamically set the data source before calling the runReport function. So, my question is -- can we set the dynamic data source when using getReportParameters() ? I tried this both in versions 10g and 11g. It does not seem to work on both versions.
    Regards,
    Stephanie

    report_id column of apex_application_page_ir_rpt can help us uniquely identify each saved report.
    We can assign this report_id value to a page item and this page item can be put in the Report ID Item text box of the Advanced section of the Report Attributes page of the IR.
    This should load the saved report identified by report_id and you can get rid of javascript
    Regards,
    Vishal
    http://obiee-oracledb.blogspot.com
    http://www.packtpub.com/oracle-apex-4-2-reporting/book
    Kindly mark the reply as helpful/correct if it solves your problem

  • Spry XML data set and dynamic post variables

    Hi,
    I am trying to create an XML data set that has dynamic post
    variables.
    Everytime something is pressed on the page a variable changes
    and I then want to reload the XML data set using the new variable.
    I know I can just pull in an XML with all possible variables
    and filter client side but this would make it way too large.
    Does anyone know what I may need to do.
    I tried this:
    var myVar = 0;
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'top' , { method: 'POST' ,
    postData: sid=ajaja21&ip=127.0.0.1&cid=' . myVar ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    onclick="myVar=1";
    But the script doesn't understand the post variables sent (it
    does when I remove the . myVar part and put in a static value). I
    think it isn't sending that dynamic variable with the post
    variables.
    Any ideas anyone?
    Thanks

    Well I had it working when I stripped back everything and
    just had the dss data set and a single onclick function, but now
    that I put it back together it hash foobared again.
    Here are the relevant bits of code that I've changed.
    The function to change server id:
    //function to run when changing the server id
    function changeServer ( sid ) {
    //set the url to use the current server id
    dss.setURL = ( '../../cgi-bin/server_details.pl' , { method:
    'POST' , postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid='+sid
    //force a reload of the server data
    dss.loadData();
    The inital load of the data set
    var dss = new Spry.Data.XMLDataSet (
    '../../cgi-bin/server_details.pl' , 'yams' , { method: 'POST' ,
    postData:
    'sid=7gv1m3vjvagfl7h7qeefb8iodj8evhmb&ip=127.0.0.1&cid=0' ,
    subPaths: [ "auth" , "plugins" , "plugins/plugin" ] , keepSorted:
    "true", sortOnLoad: "plugins/plugin/order", sortOrderOnLoad:
    "descending", useCache: false, loadInterval: 10000 } );
    And the part that changes the server id
    <td align="left" style="cursor:default; width:174px;"
    onclick="changeServer({dsv::servers/server/@id})">{dsv::servers/server/name}</td>
    I checked that the function is receiving the correct server
    id and I even tried hard coding the cid variable to 2 in the change
    function but it still wasn't changing on the server side.
    Any ideas?
    Thanks

  • Set dynamic data attribute subvi

    Hi,
    I am facing this wierd issue with a subvi, "set dynamic data attribute". When I place it on the block diagram, it disappears as I move this to the right. It is functional, though I can not see the icon of this subvi, if I move this beyond certain area on the block diagram. I am using LabView 2010 SP1.
    Any clues,
    Thanks,
    Deepak
    LAB View 2010 SP1
    Solved!
    Go to Solution.

    Thank you very much. I looked at the last thread as well. Following are the dimensions of my block diagram in pixels,
    vertically -423 to +121
    horizontally -16338 to +13537
    certainly it is too large. I prefer to use flat sequences over stacked, and that resulted in such a large block diagram. Any tips to improve this. I have started breaking the vi. into subvi as one of the solutions.
    Thank you again,
    Deepak
    LAB View 2010 SP1

  • Why won't the "block cookies and other website data" setting work on Safari 7.0.2?

    Why doesn't the "block cookies and other website data" setting on Safari 7.0.2 work?  Everytime I try this setting, I still get cookies and other data that needs to be deleted from my computer.

    This has been the case for sometime.
    There is no effective way to block these cookies.
    Try this, may help.
    Safari > Preferences > Security > Cookies and other website data:
    Press "Remove All Other Website Data:'
    Do this twice.
    Select "Reset Safari" from Safari drop down menu.
    Select only "Reset all website data".
    Click "Reset".

  • I can't get my iphone 5. Ios 7, to accept cookies. I have set the 'block cookies' field ti either never or from third parties. I have cleared history and cookies and data, restart the iphone. Please help...

    I upgraded my iphone to os 7 two days ago. However, now it cant accept cookies at all. I have set field 'block cookies' to never or from third parties. I have cleared history and cookies, then reboot my iphone. I have tries to force close all applications. Still, cant accept cookies. Please help...

    Make sure you have the latest iTunes version installed and hopefully you have the most recent backup of your iPhone.  Do a DFU restore.  While it's plugged in to your computer, press and hold the Home and Sleep/Wake buttons together until the screen is off.  When the screen's off, release only the Sleep/Wake button and keep holding down the Home button.  Wait until you see in iTunes on your computer to show that it detected it in recovery mode.  When it does, proceed with the restore.  It will be restored and updated to the latest iOS 7.0.2.  If you have a backup, restore from that backup once iOS 7.0.2 is successfully installed on your iPhone.
    If your iPhone still won't activate, I agree with gail, you will have to get in touch with that developer.

  • Dynamic Data in Xcelsius Dashboard via ExcelXML Map?

    Hello,
    I am trying to create a dashboard with a grid with a variable number of rows and columns. The data is given to Xcelsius through an Excel XML map i.e. I have given an XML source to an Excel file and then have imported that excel file into Xcelsius.
    I am able to see dynamic data changes within the pre-specified dimensions (i.e. from the first import). For example, if I have a 4X5 grid and change the text in the first row and first column, then Xcelsius will reflect this. However if I add an additional row with data in the xml file, I am not able to see this, even if I resize the the grid so that it has room at the bottom to be filled in.
    Does anybody have any experience with this/can anyone point me to specific articles? I have followed the instructions given in the Tech Tips article, but this only applies to data within a specific structure, while I want to change the structure itself.
    In short, is it possible to do dynamic structures in Xcelsius?
    Thanks.
    Regards,
    Anjana Dasu

    Hi,
    Please go to Data>Connections>Excel XMl maps under usage tab please check if you have set the options "Refresh on load" or "refresh every".
    If not, please select the refresh option and save the xlf file and then try to create a dashboard again.
    Cheers,
    Anshul

  • Multiple data sets: a common global dataset and per/report data sets

    Is there a way to have a common dataset included in an actual report data set?
    Case:
    For one project I have about 70 different letters, each letter being a report in Bi Publisher, each one of them having its own dataset(s).
    However all of these letters share a common standardized reference block (e.g. the user, his email address, his phone number, etc), this common reference block comes from a common dataset.
    The layout of the reference block is done by including a sub-llayout (rtf-file).
    The SQL query for getting the dataset of the reference block is always the same, and, for now, is included in each of the 70 reports.
    Ths makes maintenance of this reference block very hard, because each of the 70 reports must be adapted when changes to the reference block/dataset are made.
    Is there a better way to handle this? Can I include a shared dataset that I would define and maintain only once, in each single report definition?

    Hi,
    The use of the subtemplate for the centrally managed layout, is ok.
    However I would like to be able to do the same thing for the datasets in the reports:
    one centrally managed data set (definition) for the common dataset, which is dynamic!, and in our case, a rather complex query
    and
    datasets defined on a per report basis
    It would be nice if we could do a kind of 'include dataset from another report' when defining the datasets for a report.
    Of course, this included dataset is executed within each individual report.
    This possibility would make the maintenance of this one central query easier than when we have to maintain this query in each of the 70 reports over and over again.

  • How to realign elements of an array? Working with old Dynamic Data consumers

    Hello,
    I've got some code which was written with DAQ assistants years ago.  I'm trying to use tasks and arrays for my producer now for speed and efficiency, but I'm stumped on one thing.
    The consumers were written to have the data in a certain order - there's even a VI in there that selects certain elements and sends them to specific outputs.  I previously took care of this with a simple VI that split the dynamic data, wired them to different order terminals, and then set it back to dynamic;  Screenshot attached.
    Is there a structure like this for array where you can break out all the array elements, reorder them and insert constants, and then put them back into the array?  What this ends up feeding is a subvi that's an array builder which converts the DD to array and then reroutes it.  Seems almost like what I'm trying to do could be done there, but it's a bit confusing to me.
    Thanks in advance.
    Still confused after 8 years.
    Attachments:
    realign.jpg ‏166 KB

    Hi Ralph@NES,
    One thing I have done before for this is create a mapping array and a for loop to reorder the elements in your data array. Take a look at the example VI I've attached. If you know exactly where you want everything, you just need to go into the mapping array and set the index destination for the corresponding data. Hope this helps.
    Paul C
    Paul C
    Applications Engineer
    National Instruments
    Attachments:
    Reorder Array.vi ‏9 KB

  • Help with Spry Detail Regions, XML Data Sets, for IMG gallery

    Hello,
    I'm working on a site for a friend of mine, a photo gallery. You can see the gallery here, it's a temporary one I'm working on
    http://www.emiliajozefa.com/a_index.html
    Here are some important parts of my code:
    //initially load these data sets. the function will be called by the links to update components later<script type="text/javascript">
         var intNumPhoto = 0;
         dsGallery = new Spry.Data.XMLDataSet("photofile.xml", "galleries/ride/photo");
         dsNav = new Spry.Data.XMLDataSet("photofile.xml", "galleries/ride");
         function updateSpryComponents(galleryDir){
              alert("updating spry components for " + galleryDir);
              intNumPhoto = 0;
              dsGallery = Spry.Data.XMLDataSet("photofile.xml", "galleries/" + galleryDir + "/photo");
              dsNav = Spry.Data.XMLDataSet("photofile.xml", "galleries/" + galleryDir);
              dsGallery.setCurrentRow(intNumPhoto);
              //document.getElementById('nav').innerHTML='<H1>'+enlarge.inp.value+'</H1>';
              document.getElementById('nav').innerHTML=
              "<span spry:detailregion = 'dsGallery'>
             <a href = 'javascript:' onclick = 'if(intNumPhoto > 0){intNumPhoto -= 1}; dsGallery.setCurrentRow(intNumPhoto);'>&lt;</a> {@id} / </span>
             <span spry:detailregion = 'dsNav'>{@numPhotos}
             <a href = 'javascript:' onclick = 'if(intNumPhoto < ({@numPhotos} - 1)){intNumPhoto += 1; }; dsGallery.setCurrentRow(intNumPhoto);'>&gt;</a>
             </span>";
    </script> <--- later ----><!-- SIDEBAR NAV. When link i clicked, set DataSet to the location of the new gallery -->
         <div id = "sideBarNav">
             <a href = "javascript:" onclick ='updateSpryComponents('ride');">Tannersville</a>
                <br />
              <a href = "javascript:" onclick = "updateSpryComponents('dive');">Dive</a>
            <br />
              <a href = "javascript:" onclick = "updateSpryComponents('poland');">Poland</a>
            <br />
              <a href = "javascript:" onclick = "updateSpryComponents('alaska');">Alaska</a>
        </div>
    </div>
    <div id = "content2">
         <!-- PHOTO CONTAINER I think I somehow need to refresh this section of the code to reload new data-->
         <div id = "fotoContainer" spry:detailregion="dsGallery"><img src = "photos/{@path}" width = "{@width}" height = "{@height}"/></div>
         <!-- IMAGE NAVIGATION -->
         <div id = "nav">       
             <span spry:detailregion = "dsGallery" id = "galSpan">
             <a href = "javascript:" onclick = "if(intNumPhoto > 0){intNumPhoto -= 1}; dsGallery.setCurrentRow(intNumPhoto);">&lt;</a> {@id} / </span>
             <span spry:detailregion = "dsNav" id = "navSpan">{@numPhotos}
             <a href = "javascript:" onclick = "if(intNumPhoto < ({@numPhotos} - 1)){intNumPhoto += 1; }; dsGallery.setCurrentRow(intNumPhoto);">&gt;</a>
             </span>
         </div>
    You could view source there to get the code. Here is what I believe is my problem
    I'm trying to automate the site so that when you click on one of the links on the left, without refreshing the page, the paths to the galleries xml file changes, and the spry Detail Regions (1 for the images, 1 for the navigation - left and right arrows). I think the problem is that once the link changes the set and calls my updateSpryComponenets() function, the detail regions need to be refreshed. I'm currently trying to solve this by dynamically rewriting the HTML thru .innterHTML, everytime I call updateSpryComponents().There may also be a problem in the Javascript function updateSpryControllers because if I put the alert after the spry calls, I never get the alert
    Thanks in advance for any help!

    Update:
    Ok, the first query on the Recent tab doesnt work for me because it wont show unless its already voted, and since these are supposed to be new blurts, that kind of breaks the whole site:
    "SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date, ratings.rating_id, Avg(ratings.rating_value) as average_r FROM ratings Left Join Blurt On ratings.rating_id = Blurt.Id_blurt Group By Id_blurt ORDER BY Blurt.`Date` DESC";
    So I replaced it with what I originally had.
    "SELECT Blurt.Id_blurt, Blurt.Name, Blurt.Location, Blurt.Blurt,Blurt.`Date`,DATE_FORMAT(Blurt.`Date`, '%l:%i %p on %M %D, %Y') as Date FROM Blurt ORDER BY Blurt.`Date` DESC";
    But this doesn't provide me with the initial average rating:(

  • Exporting Dynamic data to a formatted excel-readable array

    Hi all,
    I am trying to export some data into an excel sheet (csv) by creating a new file in which the data is stored. With the current set up that i have, i keep on running into the following problems:
    1. After every iteration in a single run, a dialogue box pops up and asks me  where to save the data, after i have already specified a file name
    2. The data format in the excel file is not what i wasnt. The data is all displayed as one string while i would like it to store the data in different columns.
    Some background: In the section of the vi that i have attached, i use 2 DAQ assistants. The first is used to obtain the initial voltage value at the 2 piezos which is then fed into the rest of the vi, this needs to be done just once, at the beginning of the vi run. The second DAQ asst is used to monitor and save the voltage as it is gradually increased and applied to the piezos.
    A picture of the section of the vi im having trouble with is attached, along with the entire vi.
    I would appreciate any help you can give me on these problems.
    Thanks!
    Attachments:
    errorvi.JPG ‏50 KB
    Coordinate Writing V2.vi ‏166 KB

    I Cant run your vi at the moment but from what i can see.
    - use the file open vi from the file I/O pallette rather than the Express file open VI you have and supply it with a proper path, not a string.
    - I prefer to use .csv (Commas Seperated) instead of tab seperated as i find it easier to read in a string indicator or similar and is just as easy to open in excell.
    - How many Samples is your 2nd Express DAQ function doing?  If it is multiple you will need to seperate the samples by comma also (or average them out etc).
    - I rarely use dynamic data but i think you would be best to extract the actual data values out from the data type at least to get you up and running (It is coerced at the moment and may not be doing what you expect it to do).
    craigc
    Message Edited by craigc on 05-19-2009 03:24 AM
    LabVIEW 2012

  • Error in DW when using Dynamic Data

    Hello all,
    I'm not sure if my problem is common or rare, so I'll give you two versions.
    Short Version:
    Everytime I load a page with Dynamic date (I'm using PHP MySQL), the problem tells me an error was encountered and it boots me after I select to send or not to send the Error message.
    Long Version:
    I have a database in MySQL set up to use. I have 23 or 24 fields in the main DB, and 6 other DBs involved. Currently I'm only using Dreamweaver for Data Entry into my inventory. I created a Add Product page to update the MySQL DB, and I succesfully entered about 80 products. I then decided I wanted a new category, added it to MySQL, and proceeded again. This time I encountered an error.... something to the tune of my SQL Script being bad at the " on line 1. I'm not very familar with MySQL, and after a couple of hours trying to figure this out, I went to bed. Next morning, I try to recreate a new database, and a new DW site, to start from scratch (since everything was working fine before the errors).
    Now my errors are listed in the Short Version. Everytime I open a page with dynamic data, the program ecounters an error and I get booted.
    Anyone experience anything similar, or anyone know any solutions?
    Thanks much for any input.
    -Derek

    Hey Gunter,
    Thanks much, that did work.
    The other error I spoke of was fixed with the new database, so apparently the two errors I spoke of weren't related.
    You seem to be a good help to this forum, thank you for that.... fixing my problem relieved me from much stress.
    Cheers,
    Derek Miller
    Dreamweaver Enthusiast

  • Dynamic data source in Excel Pivot Table

    Hello there,
    I am trying to have dynamic data source in pivot table using INDIRECT but getting the error "Reference not valid". Here is how I setup the reference:
    Named range: ConsolLink = "'R:\Root\Sub1\Sub2\Consol File.xlsm'!Source_OpexConsol"
    "Source_OpexConsol" is defined in the source file as a dynamic name using offset formula.
    In the pivot data source, I have tried "=INDIRECT(ConsolLink)" as the data source but that does not work.
    I have also tried using INDIRECT in ConsolLink and just referencing "ConsolLink" as the data source. That does not work either.
    I am not using Power Pivot. Appreciate it if someone can help.
    Thanks.

    If it is open, then try
    Named range: ConsolLink = Range("Consol File.xlsm'!Source_OpexConsol")
    And if it is not currently open, then try
    Dim W As Workbook
    Set W = Workbooks.Open("R:\Root\Sub1\Sub2\Consol
    File.xlsm")
    Named range: ConsolLink =
    Range("Consol File.xlsm'!Source_OpexConsol")
    W.Close False

Maybe you are looking for

  • How to remove namespace prefix

    hi, i have a problem in receiver SOAP adapter because of namespace prefix. so i have to remove the namespace prefix from the paylaod. but namespace should be there... what are the possibilities to remove the namespace prefix alone from the payload? T

  • Retrieving PDF form from Application server

    hi all, i am saving a pdf form in application server and when the user wants the same file then i want to retrive that file from application and show the user and it should not be saved to presentation server only he should see it. iam able to save i

  • IPod Touch hangs / selects controls when my finger is above the screen 5mm

    Hi 16gb touch Playing songs - some controls fail to respond ie touching the volume slider is erratic. Sometimes playing videos or songs the ipod hangs and no amount of tapping the screen helps. I need to turn off and then on again. Also sometimes the

  • Need Employee check-in Software (Secretary's should update it)

    Need an Employee check-in Software please. We recently ditched all our old Windows XP machines and bought all Mac Minis. We used to use MSN Messenger and employees could let everyone knows they are Online, away, sick, vacation etc. It was easy to use

  • Selection in WAD

    Hi All, I have 1 data provider( query) in the web query. It has the selection criteria in which none of the variables is mandatory. when I execute the web query the selection criteria is not  displayed. Instead I'm getting some information messages l