Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

Hi all:

I have an AppleScript that pulls data from a Canto Cumulus db and transfers it to a FMP 6.0 db. I am then using PHP and a class called FX to query the FMP db and display the results through a web browsers. (FX queries the FMP db, gets the results and parses the XML and then returns it to PHP in a multidimensional array - very cool). When I query a hand coded db it works fine, when I query a db that was created with AppleScript I get an XML error - invalid token.

I don't think it is the db per say because I took the one that was giving me the error, purged it off all records created by AppleScript, added a new record, queried it from my web page and it worked fine.

My Mac Tech guy thought it might have to do with AS not properly closing the db file - you know how when you write to a file using AS you also have to close that file. Any help would be appreciated.

Thanks

  • 2 weeks later...
Posted

I believe this being rather a problem with invisible characters in the data.

btw, how do you create a db with applescript?

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