-
I also had a situation once where I had a client that did not want to use JScript and wanted everything to be written in VBScript. I had a heck of a time trying to get an existing form to do that. I read the following link -http://www.kbalertz.com/kb_828853.aspx - and it did the trick. Following these steps will purge your manifest of the ...
-
My two cents has been to use web services as a means for getting and setting data:
Maintenance – You have a single point for modification.
Scalability – If your data sources are to change (access to sql server, sql server to SAP, etc.), only the web service implementation needs to be changed.
Re-usability – Code written to get and set data can ...
-
Yeah...the namespace issue will bite you...it has with me in the past. I personally do not like this ''my'' namespace that InfoPath shoves on you. I would love to sit down and write an article on XSD management with InfoPath in an enterprise. The problem is, which I can see as becoming a problem, is that developers do not see a bigger picture ...
-
Two options come to mind:
1 - Create a View in SQL Server and the select off of the view.
That will solve your problem if the data is read-only to the user. Although, if the user needs to update this item information, it will not work because a SQL rule is that a View that is built from more than one table cannot be inserted, updated or ...
-
Virginia Tech Asparagus (nickname of the family for three generations)...but very tender is not too bad either.
-
Check this out:http://groups.google.com/group/microsoft.public.infopath/browse_frm/thread/e33d0430f5490787/32f94965c270b171
-
The code works for me. I do not have an explanation why you are getting the error in VBScript but you run this in JScript it works.
Where you able to try the code I posted that used Wscript.Shell?
Anyone else run into this issue before???
-
Is ''2'' the name of your view? You do not reference a view by an index if that is what you are trying to do.
---Directly from help-------------
SwitchView Method
Changes the active view of a Microsoft Office InfoPath 2003 form to a specified view.
expression.SwitchView(ByVal bstrName As String)
expression Required. An expression that ...
-
I find it hard to believe but it is happening. Post up the code you are running and let me see if I or someone else can generate the error.
-
I would think if the jscript works, then the vbscript would work.
What is the exact error message that you are getting? Does it have anything do with ActiveX not being allowed to run in IE on your machine as I described above?