Jump to content
Server Maintenance This Week. ×

fx.php soon to allow use of fmresultset grammar


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

Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

This topic is 4250 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.