|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Hi - We are currently creating a more user-friendly OPAC from DBTW for Libraries (Pls note we do NOT yet have Web Publisher). I have added a number of script buttons to handle launching a search, navigating through records in the record, opening the full record, printing a customized brief or full report, etc.
I'd like to add a script from the Record Display to "Print Record" but although the various Print report scripts are working fine, I can't figure out the print record. Essentially, it might also be better to treat it as the "Print Form for Current Window" command. My knowledge of scripting is extremely basic. The below script has some errors in it as I've been editing the scripts I used from my "print full" and "Print brief" options from the report windows. However, I sense the "print record" option requires different commands, and I also wonder if the better option might be to "Print form for current window". Any help is appreciated. function btnPrintBrfRecord_onClick() { if (!Application.activeTextbase.printReport("Display> BRIEF")) Application.message("There are no records to print."); } function btnPrintFullRecord_onClick() { if (!Application.activeTextbase.printRecord("Display> FULL")) Application.message("There are no records to print."); } Regards, Becky |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

