Hi I am using TBC version 3.4 and I am using sparqlmotion to give me the reference value of a variable which can be from 1-12 depending on whats returned. When I get the reference value I want to return a two digit number as the ?Val variable, so 01, 02, 03 and so on. I do not want to return the current value of 1, 2, 3. I am toying around with using the If funtion , but can't seem to get it to work correctly. Can someone please show me how to use the If function correctly or let me know the best way to append a 0 to the number if the value is from 1-9. Thanks!
?Pkg *:Variable* ?Variable ?Variable ano:hasReferenceValue ?Val -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to topbraid-users@googlegroups.com To unsubscribe from this group, send email to topbraid-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en