You would have recently seen in LinkedIn that Barb asked the following question. “When you add html code into your survey, it displays beautifully but then it displays as code in your tabs. Is there a way in a DMS to globally eliminate any HTML code?” and I pointed him to a post that had been written awhile ago. Also in my comment I mentioned that I had a script that would add a context to an MDD and then strip out the HTML and put just the text in it. This article shows you the code for that script.
Did you know that you can write dos batch files to execute your mrs and dms scripts , Ace asked us the other day how he could sucessfully parameterise these scripts to make them generic and easy to use for multiple projects. In this post we will show you how this can be done.
In this article I will show you one way that you could use to de-dupe your data collection datafiles. I am not sure how you would get duplicates in it in the first place , but let’s just assume you do have them. This example will use the Museum.ddf file in the DDL. This file & the ddf can be found here “.DDLDataData Collection File”
Recently we where asked how do you put comments in your scripts. This quick post shows us that you can have two types of comments. The first is the block comment. To create a block comment place a ‘! at the start of the bit you want to comment out and then a !’ at the end and you will see that you have commented out that section.
Routing(Web) '! * Survey Description : Comments * Last Updated : 16th June 2011 !' Q1.ask() ' **** End of Survey End: End Routing
The next type of comment you can have is a single line comment. To create a single line comment place a ‘ at the front of the line that you want to comment out.
Here is another good question that we received recently and thought it should be added to our questions and answers section.
Q: The labels for new variables created in our dms script are not coming up in the tables output why would that be.
Recently we where asked the following question and thought it was a good one for our questions and answers section.
Q: In relation to our having two existing questionnaires with the same questions, I saw in the DDL documentation that a project database can be merged into a second project database. What software is used to do this and what happens when you have duplicate serial numbers ?