Expand my Community achievements bar.

Mark_Lindberg
Mark_Lindberg
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Dayna:I would switch to the Change Event, from the Exit Event.What value do you want in Textbox1 if "Multi-point N2" is selected in Dropdown2?something like:Textbox1.rawValue = "My New Text";in the change event of Dropdown2 should do the trick.Mark

    Type

    Discussions

    Views

    998

    Likes

    0

    Replies

    0
  • Sarah:In the Change Event of the first box (filletParameterBox), Set grooveParameterBox.rawValue = "N/A";In Change Event of grooveParameterBox, Set filletParameterBox.rawValue = "N/A";If you really want to remove the option to select anything else in the "N/A" dropdown, you can clear the items out o...

    Type

    Discussions

    Views

    528

    Likes

    0

    Replies

    0
  • Ronny:Try setting the 'formattedValue' property of the drop-down field to the desired value.DropDownField.formattedValue = "This One";Mark

    Type

    Discussions

    Views

    528

    Likes

    0

    Replies

    0
  • Set the rawValue of the Radio Button field to the value of the choice you want selected.In my example, Radio_Button3 has 2 values "Yes", and "No".To set Yes on: Radio_Button3.rawValue = "Yes";To set No on: Radio_Button3.rawValue = "No";To reset the button (clear): Radio_Button3.rawValue = "";Hope th...

    Type

    Discussions

    Views

    1.3K

    Likes

    0

    Replies

    0
  • That was my point - by placing your connection into the variable, you are no longer truely accessing the connection in some way.There are some changes taking place when var x is being set.In general, I try to access and set properties directly vs. setting a variable first. If you want to change the ...

    Type

    Discussions

    Views

    758

    Likes

    0

    Replies

    0
  • OK - here is the best I can give you.Do not set var x, then try to display the properties.Place the object in your messagebox directly:var x = xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.value; xfa.host.messageBox("value" + x);xfa.host.messageBox("value 2" + xfa.sourceSet....

    Type

    Discussions

    Views

    758

    Likes

    0

    Replies

    0
  • xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.nodes.item(0).value- or -xfa.sourceSet.TestDataConnection1.resolveNode("#command").query.select.valueShould display the Select clause contents for you.I used this in my testing:app.alert("Select value: " + xfa.sourceSet.TestDataC...

    Type

    Discussions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • Sorry - my tags are not showing around the select stmt. <br />There should be the word select inside <>'s before your select statement, and /select between <>'s before recordset.<br />These may have been in your original post as the do not display for mine.<br /><br />Should be: <br />... <query com...

    Type

    Discussions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • In the XML sample you provided, the text between "<>"s are tags.<br />Your sample was missing the following:<br />...<br /><query commandType="text"> <br /> SELECT Test1, Test2 FROM Test_Table <br /> <recordSet cursorType="static"<br />...<br />Should be:<br />...<br /><query c...

    Type

    Discussions

    Views

    1.0K

    Likes

    0

    Replies

    0
  • OK, I guess I answered the first time without complete understanding of what the question was.What do you want to be returned to x?I thought you were trying to display the contents of your SQL select statement - Is that the case?If so, I think you may need to wrap your SELECT statement in XML tags:

    Type

    Discussions

    Views

    1.0K

    Likes

    0

    Replies

    0
Top badges earned by Mark_Lindberg
Customize the badges you want to showcase on your profile