September 7, 201213 yr Update for those of you bitten by the FMS12 bug that pushes the INCORRECT number of COL elements in the FMPXMLRESULT grammar (fms12 only - CWP, as export and import for this grammar is ok!). Background: if you have a layout with portals, you *should* get something like this for each record: <ROW> <COL><DATA>parentfield</DATA></COL> <COL><DATA>childfield</DATA><DATA>childfield2</DATA></COL> <ROW> <COL><DATA>parentfield</DATA></COL> <COL><!-- empty portal, no children --></COL> What the bug produces: <ROW> <COL><DATA>parentfield</DATA></COL> <COL><DATA>childfield</DATA><DATA>childfield2</DATA></COL> <ROW> <COL><DATA>parentfield</DATA></COL> <!-- OOPS! no column for empty portal --> We all had hoped the v2 FMS12 update would fix this, but alack alas did NOT. TO THE RESCUE: Chris (a.k.a iViking) Hansen has agreed to put the fmresultset grammar into the FX.php code. While we await formal "announcements", let me tell you it's going to be in there. You specify the alternate grammar and your code should work "as-is". Beverly
Create an account or sign in to comment