| From: Doug Hemingway | Date Sent: 2009-11-30 10:34:32 |
| Subject: Filemaker.php problem | To: FileMaker Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
I am building a web solution using the Filemaker API for PHP.
I have successfully found a record, and have attempted to download it using
getRecords(). Even though the fields of interest are on the layout
specified in the newFindCommand, only some of them actually get downloaded.
The addFindCriterion() instruction is constructed to only find one record,
and a count() instruction indeed confirms that only one record was
extracted.
The layout has 4 fields. Two of them are found in the array, and two of
them are not. The field names are seen if I perform a print_r command, but
the two missing fields show an empty array. All fields are in the table upon
which the layout is built (no related fields)
The fields are both calculation fields. The interesting part is that one of
the fields that works correctly uses the field that does not download in its
calculation.
I hope someone can point me to a solution.
--Doug
--
View this message in context: http:://n4.nabble.com/Filemaker-php-problem-tp931508p931508.html
Sent from the Filemaker Pro - Talk mailing list archive at Nabble.com.
| From: Tom Fitch | Date Sent: 2009-11-30 13:30:46 |
| Subject: Re: Filemaker.php problem | To: FileMaker Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Do any of the fields have non-alphanumeric characters in the field
name? I've seen something like this happen when a field name had a
dot(.) in it.
Tom Fitch
FileMaker Fully Certified Developer
Portland, Oregon
On Mon, Nov 30, 2009 at 10:34 AM, Doug Hemingway
<doughemi@[Protected]> wrote:
>
> I am building a web solution using the Filemaker API for PHP.
>
> I have successfully found a record, and have attempted to download it using
> getRecords(). Even though the fields of interest are on the layout
> specified in the newFindCommand, only some of them actually get downloaded.
>
> The addFindCriterion() instruction is constructed to only find one record,
> and a count() instruction indeed confirms that only one record was
> extracted.
>
> The layout has 4 fields. Two of them are found in the array, and two of
> them are not. The field names are seen if I perform a print_r command, but
> the two missing fields show an empty array. All fields are in the table upon
> which the layout is built (no related fields)
>
> The fields are both calculation fields. The interesting part is that one of
> the fields that works correctly uses the field that does not download in its
> calculation.
| From: Doug Hemingway | Date Sent: 2009-11-30 13:42:58 |
| Subject: Re: Filemaker.php problem | To: FileMaker Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
All failed fields are alphabetical. One that works has an underscore.
Give the gift of life. Register as an organ donor today!
http://www.organdonor.gov/donor/index.htm
On Nov 30, 2009, at 4:30 PM, Tom Fitch-3 [via Filemaker] wrote:
> Do any of the fields have non-alphanumeric characters in the field
> name? I've seen something like this happen when a field name had a
> dot(.) in it.
>
> Tom Fitch
> FileMaker Fully Certified Developer
> Portland, Oregon
>
> On Mon, Nov 30, 2009 at 10:34 AM, Doug Hemingway
> <[hidden email]> wrote:
>
> >
> > I am building a web solution using the Filemaker API for PHP.
> >
> > I have successfully found a record, and have attempted to download it using
> > getRecords(). Even though the fields of interest are on the layout
> > specified in the newFindCommand, only some of them actually get downloaded.
> >
> > The addFindCriterion() instruction is constructed to only find one record,
> > and a count() instruction indeed confirms that only one record was
> > extracted.
> >
> > The layout has 4 fields. Two of them are found in the array, and two of
> > them are not. The field names are seen if I perform a print_r command, but
> > the two missing fields show an empty array. All fields are in the table upon
> > which the layout is built (no related fields)
> >
> > The fields are both calculation fields. The interesting part is that one of
> > the fields that works correctly uses the field that does not download in its
> > calculation.
> >
>
> --
>
>
>
>
> View message @ http:://n4.nabble.com/Filemaker-php-problem-tp931508p931634.html
> To unsubscribe from Filemaker.php problem, click here.
>
--
View this message in context: http:://n4.nabble.com/Filemaker-php-problem-tp931508p931651.html
Sent from the Filemaker Pro - Talk mailing list archive at Nabble.com.