-
Hey, you're welcome! I think the reason why these contorsions are needed is because there is some obscure bug with reading the XML directly.
-
good point, lol, I think I'm losing it......
I just find it rediculous that,
To read XML, you have to convert to text then back to XML,
Why do we have to have a middle man??
anyways it works,
THANKS A BUNCH
-
Anyone know how to dynamically change the URL address that a secondary data source uses for a web service, or at least have it point to a form field so that I can change it dynamically? Maybe I am asking too much, but I would like to avoid messing with the source xml files because if someone re-publishes the form they won't ...
-
This happens because there is no QueryAdapters property...
To access the main query adapter's command, use this:
XDocument.QueryAdapter.Command
To access a secondary adapter's command, use this:
XDocument.DataObjects["Detail"].QueryAdapter.Command
Hope this helps. Also using F1 while editing the code is very helpful, just ...
-
I am not sure why it does not work - have not used the FSO in a while. But maybe you could just use ReadAll() instead of ReadLine() and not worry about while loops...
-
Very Helpfull, thanks
would there be a reason why, I can't use ReadLine in a Loop statement??
ex:
tmpTxt = SoftwareXML.ReadLine ' <-- Works
do while true
if ( (tmpTxt = "") or (tmpTxt = EOF))then
Exit Do
else
tmpTxt = SoftwareXML.ReadLine ' <-- Doesn't ...
-
Whenever I run this code:
function CTRL2_7::OnClick(eventObj)
{
//Retrieve the value of the field that you want to use as a parameter
//to the stored procedure.
var planIdValue = XDocument.DOM.selectSingleNode("/dfs:myFields/my:myPlanId").text;
//Set the ...
-
Thanks so much for all your help. I've fixed the problem! I did what Matt suggested about clearing the cache and it seems to have done the trick. I am soooo grateful!
Thanks again, very much.
Jo
-
Qu'est-ce que ton bouton fait? Utilises-tu les Règles?
-
You have to reference an interop assembly that can talk to that ActiveXObject...
In Visual Studio, click Add Reference and see if the control you want to use is already listed in either the .NET or COM tabs. If it's not you need to use the AxImp.exe that is part of the .NET SDK to generate the interop assembly.
Once you have the reference ...