Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5975 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

  • 3 weeks later...
Posted

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 & ""

Posted

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.

Posted

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 & ""

Posted

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**

untitled-6.jpg

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

Posted

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.

Posted

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...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.