By JH Howland
I have several customers that utilize our MarinaPro Marina Dockage Management solution. All are running Windows 10 Pro 64Bit and Filemaker Pro 11.0v2.
All the MarinaPro solutions are functioning well with exception to the one marina that is using an HP LaserJet Professional M1217nfw MFP printer. The printer has been named "HP LaserJet".
The problem is that scripted reports will not print after an updated/revised solution is installed on the computer. However, a test page can be printed from the Windows default printer.
Print scripts are utilized by more than one report and this sample is named - "Master Portrait Printer | Current Record | All | 1 |" and is formatted as:
#Used by: Print Float Plan Form
#Used by: Toggle Printer Mode
#Print: Current Record | Print Range All | Copies: 1
Print [Restore: HP LaserJet; No dialog]
Filemaker Help states, "If you do not specify an output destination before saving the script or 'if the specified printer cannot be found' when the script executes, the 'output from the script step is sent to the user’s default' printer."
It appears that the "specified" printer is not being found and the output from the script is "not" being sent to the user's default printer.
However, if I "re-specify print options" and "Save" the script it will start working again. And now I am unclear whether it is actually finding the FMP "specified" printer or the Windows "default" printer.
Any ideas why this occurs?
I assist with a FMP 11 database that manages projects and related data, about 10,000 projects currently.
I setup a new tool that tracks a ADL requirement with a simple YES/NO drop down value list. Users choose if the project requires ADL tracking by selecting YES/NO, and we have a layout that lists all 10,000 projects with the ADL requirement that shows YES, NO or empty value. This layout also shows lots of other project records that are searchable without error.
I am trying to perform a Find on this layout to display all values with YES selected, or NO selected. The appropriate relationship is setup on the graph so my list shows all 10,000 projects, and other records that are searchable, but my YES/NO value list gives me a "No records match the find criteria." Before I write a script with a button I am testing the find function steps first, and I keep getting the same error.
I open the layout, click show all (10,000) records.
I click Find then click the ADL Requirement and click either YES or NO.
I click Perform Find and get the No records match this criteria error.
This seems to be a very simple operation, to search records in the database, and for the life of me I cannot find why it isn't working!!
Any help is much appreciated, thanks in advance!
By Tony Morosco
I'm a botanist, and the tables I am working with are for tracking botanical garden collections. The data represents plants in the garden, and the plants are tagged and show up in the database. The tables I am working with were created in FMP 7, and I'd like to open them up in FMP 11 (or later.) The system hasn't been used in years, but still has valuable information.
One of the tables is giving me problems using the FMP convert and recover commands.
These tables are all inter-related. The main table is the Accessions table, which contains records for all of one kind of plant, from the same source, received on the same date. It is basically a museum standard.
The other tables are related to each other through this one main table. The Species table is related to the locations table through the Accessions table.
(i.e. table A relates to table C through the table B, the intermediary)
From the Locations table, we can't see the the species information unless the accessions table is present.
When issuing the open command on the main table to convert the database to FMP 11, I get the message:
"Accessions.fmp7" is damaged and cannot be opened. Use the Recover command to recover this file. When using the Recover command from v. 11, I get another message:
WARNING: problems were detected while recovering the database. Please review the Recover.log file to see where problems were found and their severity. The recovered file should NOT be used going forward; copy only the most recent work from it into a backup copy of the original file. Recovery results: File blocks: scanned and rebuilt 563 blocks, dropped 214 invalid data blocks. Schema: scanned fields and tables, 1 items modified Structure: scanned; 1 items modified Field indexes: rebuilt
Opening the recovered database, there are only three records present. There should be hundreds. So obviously I am looking on how to wrangle this database open.
I've attached the log file here, as well as the database structure map.
The other files have converted just fine. But since the main table won't open, we are kind of stuck.
I can share the files with you through Dropbox or whatever, if needed.
Please let me know any thoughts you have, either basic or advanced. And ask for any clarifications or additional questions. :-)
Is there a way in AppleScript to trap if the connection is lost and have an AppleScript act on this?By ggt667
Is there a way in AppleScript to trap if the connection is lost and have an AppleScript act on this?
At the risk of asking and answering myself( AppleScript below )
repeat tell application "FileMaker Pro" try database "db" on error do shell script "sudo shutdown -r now" with administrator privileges end try end tell delay 59 -- 59 secs end repeat
Who Viewed the Topic