February 16, 201114 yr Newbies I have a 2 related tables and 1 of the tables has a calculated field which counts the number of related records in the other field and returns 1 if there are records and 0 if there aren't records. When viewed in the FileMaker client, the values are working properly, however, when fetching the records via PHP all of the values are 0. The calculated field is If ( Count(table::IDField)>0 ; 1; 0) Am I doing this wrong or is there a better way to do this?
February 16, 201114 yr Check if the account you are using to connect to the database from PHP has permissions to access records from the related table.
February 17, 201114 yr Author Newbies The problem was based on global variables. I hadn't realized they were set on a per user basis, thanks for the help.
Create an account or sign in to comment