-
Well - it is messy. If I enter 900, the colon is supposed to go after the first digit, and you'll need a 0 before the first digit. If I enter 1400, it has to go after the second digit. Here's a sample - right click the link in the post header, save it locally. Right click the saved file and open in design mode - from there you can look at ...
-
Looks like your form is set to use VB.NET for the language. Me.Print() in that case. Did you check the link I included? It had a VB sample as well.
-
If you enable .NET programmability support when you install InfoPath 2007 (here's a link on that) you'll be able to use C# and can probably find more samples. Here are a few that might get you ...
-
If you are using IP 2010, I'd expect the code to be:this.Print()MSDN link. Looks like your form will have to be full trust. Are you sure you need to to this via a button instead of just setting up the print view as a print view for your main view and letting users print via the normal Office route?
-
Well - I think your question could use a little more info.
Are you writing code? VB script instead of managed code? What version of InfoPath are you using?
-
Just to chime in, in IP + is an addition operator. To concatenate strings, we use the concat function as mentioned. NaN is Not a Number.
-
Sure, use a concat formula: concat(field, ", ", otherfield)
-
Okay - first, you are not an idiot.
You can use an expression box (calculated value in IP 2010) to display your data without using controls. Just add a calculated value, click the fx box, select the field with the data and you're done. Easy peasy!
-
Thanks for letting us know about the possible issue. We'll see if we can repro on our servers and update this thread with more info.
-
What is the extension of the file you are testing with? Can you try a few different file types?