-
Hi - On your upload button, you need to change the rule "Save Images to SharePoint" to set the value of the qRules Command field - it is currently setting the Picture field to your command.
-
Whoops - didn't see Patrick's reply. You'd need to manually modify the view file to change the image file used by the view.
-
The first line of that is perplexing, isn't it? Suggesting that it simply can't overwrite - at any rate - I don't know if changing the maximum allowed file size will help at all, but here's a link on that. Perhaps you could try admin approving the form? See if that gets you around this issue?
-
Yup - I noticed that in your code, figured one thing at a time. Where is your code executing - in the context changed event?
-
Here's a blog post of mine from ages ago, and at the bottom you'll see I mention an issue with my stored proc & that Jimmy had made a suggestion that worked for me. Try setting implicit_transactions to off in your stored proc.
-
I think I know! One minute - let me go look this up.
-
That the stored procedure is what you'd expect and that it is executing?
-
You've run in debug and verified your code is executing? Can you run SQL Server Profiler while you execute the connection? (in other words - off-hand it looks fine to me...)
-
Oh, getting your code to paste in formatted here is such a pain. I think I used to paste from Visual Studio into Word or a rich text field in InfoPath. Just paste it into a text file and attach it under the options tab - I think you can attach .txt
-
Hi - sorry, I meant to reply earlier. The reason I suggest creating a data connection to your table is so that you can use that data connection for your insert - that way you don't have to make your form full trust.
To change the data connection's SQL command, try taking a look at this ...