Jump to content

Search the Community

Showing results for tags 'custom dialogs '.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Community Forums

  • The New FileMaker Platform
  • Community Resources
    • Community Articles, Tips, & Techniques
    • FileMaker Marketplace Discussions
  • FileMaker Platform
    • FileMaker Interface Features
    • FileMaker Schema & Logical Functions
    • FileMaker Go for iPad and iPhone
    • FileMaker and the Internet
    • FileMaker Pro Advanced 18
    • FileMaker Pro Advanced 17
    • Legacy FileMaker Platform Discussions
  • FileMaker Server Administration
    • FileMaker Server 18
    • Zabbix Server Monitoring
    • FileMaker Server 17
    • FileMaker Cloud
    • FileMaker Custom SSL Certificates
    • oAuth and External Server Authentication
  • Brain Food
    • Security Concepts
    • The Left Brain
    • Upgrading & Migration
    • Data Analysis
    • Development Standards
    • The Separation Model
    • Relational Database Theory
    • Damaged / Corrupt File Problems
    • Bar Codes (Printer, Scanners, Software)
    • Hardware & Networking
    • OS Level Database Automation
    • Product Ideas
  • JavaScript Integration
  • FMForums Affiliates & Sponsors
  • FileMaker Classifieds
  • FM Forums Operations
  • FileMaker Friday Night Chat's Topics

Blogs

There are no results to display.

There are no results to display.

Categories

  • White Papers
  • Infographics
  • Samples
  • Solutions
  • FMGo
  • Plug-Ins
  • Tutorials

Product Groups

  • Workplace Innovation Platform
  • Site Advertising
  • Development & Hosting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Title


Industry


Location


Interests


Website URL


Skype


MSN


Yahoo


OS Version

Found 1 result

  1. So I am very close to getting my modal custom dialog windows to work with the new window card feature that was introduced in FileMaker 16. I have a script in my database that allows users to type in a list and the script parses out the information and finds the appropriate records in my database. When a record isn't present, a custom dialog pops up and notifies the user that the record is not present in the database. The script works flawlessly with the old show custom dialog and will cycle through every record that is not present...popping up a custom dialog for each one. However, using the new window card feature...it is only popping up the first record that is not present and stops there. If I have multiple records that do not exist, the new window card feature fails to cycle through them. Trying to figure out if I am missing a step between how the custom dialog window and the new window card feature commit data? Here is the script using the show custom dialog method: Close Window [ Name: "Multiple Shot Find" ] Set Error Capture [ On ] Set Variable [ $Selects; Value:VFX Counts::VFXCounts_ShotFind ] Go to Layout [ original layout ] Adjust Window [ Hide ] Go to Record/Request/Page [ First ] Set Variable [ $R; Value:Get ( FoundCount ) ] Omit Multiple Records [ $R ] [ No dialog ] Set Variable [ $i ; Value: 1 ] Loop Set Variable [ $Select; Value:GetValue ( $Selects ; $i ) ] Exit Loop If [ $Select = "" ] Enter Find Mode [ ] Set Field [ VFX Counts::VFXCounts_ShotNumber; VFX Counts::VFXCounts_ShotFindRange & $Select ] Extend Found Set [ ] If [ Get ( LastError ) ≠ 0 ] Show Custom Dialog [ Title: "Warning"; Message: $Select & ¶ & "This is currently not a shot, please check the spelling."; Default Button: “OK”, Commit: “Yes” ] End If Set Variable [ $i ; Value: $i+1 ] End Loop Perform Script [ "Go to VFX Counts" ] Adjust Window [ Restore ] And here is the new window card method: Close Window [ Name: "Multiple Shot Find" ] Set Error Capture [ On ] Set Variable [ $Selects; Value:VFX Counts::VFXCounts_ShotFind ] Go to Layout [ original layout ] Go to Record/Request/Page [ First ] Set Variable [ $R; Value:Get ( FoundCount ) ] Omit Multiple Records [ $R ] [ No dialog ] Set Variable [ $i; Value:1 ] Loop Set Variable [ $Select; Value:GetValue ( $Selects ; $i ) ] Exit Loop If [ $Select = "" ] Enter Find Mode [ ] Set Field [ VFX Counts::VFXCounts_ShotNumber; VFX Counts::VFXCounts_ShotFindRange & $Select ] Extend Found Set [ ] If [ Get ( LastError ) ≠ 0 ] Go to Layout [ “VFX Counts” (VFX Counts) ] Perform Script [ “Dialogue Script”; Parameter: "WARNING|" & TextSize( TextFont( TextColor ( $Select; RGB( 51 ; 153 ; 204 ) ); "Arial" ) ; 24) & ¶ & ¶ & "This is currently not a shot, please check the spelling.|OK" ] If [ $$ButtonResult = 1 ] Commit Records/Requests [ With Dialog: Off ] End If End If Set Variable [ $i ; Value: $i+1 ] End Loop Go to layout [ "VFX Counts" (VFX Counts) ; Animation: None ] Anyone have any thoughts as to what I am doing wrong?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.