Eukanuba Posted June 26, 2008 Posted June 26, 2008 hi guys i have a problem with XML import... I have this code , on the database all of the fields except the Checkboxes of NASA Disciplines... <?xml version="1.0" encoding="UTF-8" ?> 0 This is a test Closed IE NAME HERE This is a test Mechanical(!!!HELP HERE!!!) This is a test This is a test This is a test This is a test This is a test This is a test Ver 1 Ver 1 Ver 1 Ver 1 This is a test This is a test This is a test using just one checkbox works fine... Mechanical equals mechanical check box checked... but Mechanical Thermal leaves all checkboxes blank What grammar do i need to use to get multiple checkboxes checked in my XML code? Thanks in Advance
comment Posted June 26, 2008 Posted June 26, 2008 It needs to look like this: Mechanical Thermal Other
Eukanuba Posted July 14, 2008 Author Posted July 14, 2008 I fixed this problem however I have another related problem... i'm using vb.net to write the XML... now i'm trying to write the contents... (just like you said) back to a "drop-down" field where only the variable is shown in the drop-down box (in filemaker)... ..."" & VariableHere & ""
comment Posted July 14, 2008 Posted July 14, 2008 I believe you need to define the variable as a return-separated list of individual values. I know nothing about vb.net, but I am quite sure the RESULT must contain a return-separated list of individual values in-between the DATA tags.
Eukanuba Posted July 15, 2008 Author Posted July 15, 2008 in vb.net the code for the return button is "chr(13)" and i have it & VariableHere & chr(13) &
comment Posted July 15, 2008 Posted July 15, 2008 That doesn't look right: the carriage return must be IN-BETWEEN multiple values, not AFTER them. I don't know how you define the variable, but I guess it needs to be something like: myVariable = "Mechanical" & chr(13) & "Thermal" Only then you can write: ... "" & myVariable & ""
Eukanuba Posted July 15, 2008 Author Posted July 15, 2008 look at this... I want to go from the XML to having the "Thermal" already entered after i import **before just shows you that it's a drop-down box** **After shows what i want to happen on import** if you look at the either before or after you see that the xml style i used last time (with the chr(13)) checked the checkboxes in the checked list boxes in filemaker... i need for the XML to enter (or show) the variable in the drop-down too... do you get what i mean? thanks, Euka
comment Posted July 15, 2008 Posted July 15, 2008 do you get what i mean? I'm afraid I haven't got a clue. I see no difference between the two pictures, other than the drop-down being dropped. In both, the checkbox field shows "Mechanical", Thermal" and "Controls" as checked - this means that the field contains all of these values (and possibly some others, too), as a return-separated list.
Eukanuba Posted July 15, 2008 Author Posted July 15, 2008 i just found out what it was... STUPIDEST MISTAKE EVER!!! because i just added this feature when i imported i didn't have the arrow selected... Let this be a warning to all who post... Go through the basics first...
Recommended Posts
This topic is 5975 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now