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

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

Recommended Posts

Posted

For debugging purposes I need to create some sort of logging capability that I can deploy at a client site to catch an intermittent problem that I can't track down.

I've created a variable that concatenates the suspect variables, date, time, record number, and script step. I've successfully used the Export Field Contents to export this concatenated string to a text file. The problem is, I need to export this string hundreds of times during a session to catch the anomalous values and see what's going on and the way I have it done now, each export overwrites the external text file exported by the previous execution of the command.

Is there an elegant way to make this Export command export to a single, ever growing text file, or capture a large quantity of this concatenated string internally for my analysis later? I'd like to do something that would be little or no effort for the non-technical client to email back to me for analysis.

Posted (edited)

Uh, log table? Didn't know there was such a beast. Poking around the FMP Help doesn't reveal much about creating a log table. How would I go about that?

Edited by Guest
Posted

The same way you create any other table :B I'm not advocating any special "hidden log file" features.

Just build a table - called Log, if you want - with fields matching the log data you want to capture, and have your log event script write a new record to that table every time you need to capture the data.

The user can then export that log, if necessary.

Posted

You need to upgrade your Profile to reflect the current version of FileMaker you are using. ([color:blue]MY PRFILE >> [color:blue]Control Panel » [color:blue]FileMaker Questions (bottom of the list)

Here is an example of a log file, there are a couple of them out there Night Wing Enterprises

HTH

LEE

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