Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

It needs to look like this:




  Mechanical

Thermal

Other

  

  • 3 weeks later...
  • Author

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

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.

  • Author

in vb.net the code for the return button is "chr(13)"

and i have it

 & VariableHere & chr(13) & 

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

  • Author

What if I only wanted one to show?

One what?

  • Author

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

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.

  • Author

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.