0

Script not working dilemma

This simple script does not work in a working DB but is 100% in a restore and I cannot figure out why.  No fieldnames have been changed, removed etc.  The script does not indicate anything is amiss.  Can anyone suggest anything at all.  I cannot upload the DB.

let my := this;
let myInv := first((select INVENTORY)['MODEL NUMBER' = my.MODEL]);
popupRecord(myInv)

In my current working version I can see the busy icon start and then nothing.  In the restore the inventory record pops into view immediately.

4 replies

null
    • Mel_Charles
    • 5 mths ago
    • Reported - view

    hmm strangle - is that restore from like straight after backing up that moment and then restored?

      • Alan_Cooke
      • 5 mths ago
      • Reported - view

       Pretty much yes.  It's not an immediate back up and restore.  It is a good few days old.  I must have changed something but for the life of me I cannot figure out what.

    • Alan_Cooke
    • 5 mths ago
    • Reported - view

    Sorted it out - I had added an if then styling script to MODEL which prevented the button from working

      • Mel_Charles
      • 5 mths ago
      • Reported - view

      ha ha - we all do it !!! glad its sorted

Content aside

  • Status Answered
  • 5 mths agoLast active
  • 4Replies
  • 44Views
  • 2 Following