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.

XML Import of one record to several tables

Featured Replies

  • Newbies

Is there a way to take a import a record via xml and have FileMaker put it into multiple tables. For example, a customer order might look like this (I'm just typing this in and the code itslef isn't perfect, but I hope it get's my problem across):


<METADATA>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="orderID" TYPE="NUMBER"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="customer_ID" TYPE="NUMBER"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="FirstName" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="LastName" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="10" NAME="Items::ItemID" TYPE="NUMBER"/>  

</METADATA>

<RESULTSET FOUND="1">

<ROW>

<COL><DATA>1001</DATA></COL>

<COL><DATA>2222</DATA></COL>

<COL><DATA>John</DATA></COL>

<COL><DATA>Smith</DATA></COL>

<COL>

<DATA>OrderdItem1</DATA>

<DATA>OrderdItem2</DATA>

<DATA>OrderdItem3</DATA>

<DATA>OrderdItem4</DATA>

</COL>

</ROW>

</RESULTSET>

I'd like the customer information to go into the customer table and the Ordered items to go into the Items table (with orderID number of course).

Is this doable?

thanks,

baze

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.