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

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

Recommended Posts

Posted

I've been using homebase's script to export ics files, but for some reason, It is failing horribly when i integrated it to my "solution". It either outputs garbage or it complains that there are no records to export. I've reimported his demo, reassigned fields, tried removing the "/*" and putting them back, and leaving it at " " or just leaving it at the field name. It always refuses to create the file and the debugger only tells me the record does not exist.

What step am i Missing to get this to work?

Screen_Shot_2015-04-20_at_12.33.04_PM.thScreen_Shot_2015-04-20_at_12.33.35_PM.thScreen_Shot_2015-04-20_at_12.34.09_PM.th

 

Posted

THIS Is not a script from FMSP. It's a script from homebase.  as i said, integrating it has become problematic. originally it had it's fields surrounded in "/* */" but when i replaced the field names it still ended up not working.

Posted

the /* */ means that there was a reference to a function, field name, layout or table that was referenced in the original source not present in the target database where it was pasted to. 

if you have FMPA with the  debugger turned on where in script did it fail? Did all your variables get set? 

Posted

ok I spent all day on this, and have concluded that somehow or another, there are extra carriage returns being generated and that is why my attempt to integrate the script is failing... but even renaming the fields to match the original has Not fixed the error.

 

Posted

I finally managed to fix this after a bit of editing and disabling of if statements.

I Still don't know what was the main cause of the problem.

 

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