January 22, 200322 yr I'm using FileMaker 5.5 . I have a report layout and a find layout. I have a script that takes the user to the find layout and shows the result on the report layout. On the report layout I have a global field so that the user enters data on that global field to prevent the user from changing data by mistake. The problem is that it isn't possible to enter data in a global field during find ? In case it's not possible what should I do to prevent user from entering data by mistake, instead of using the report field on the find layout ? Luiza
January 22, 200322 yr Well actually the sequence should be: Set Error Capture on Go to find layout Set globals Enter Find Mode Set fields from globals Perform Find Check if found anything If yes do appropriate action, like go to reprot layout otherwise tell the user he/she didn't fine anything Dj
January 22, 200322 yr Author The sequence I've done is similar to the one you described. I've also tried using set field and also tried using copy paste, but both ways don't paste the data on the field. It goes like this : Go to layout Find Copy select _gName Go to Layout Report Enter Find Mode Paste select Name Perform Find Set field _gName = "" If I do it manually it works, but when I use the script it doesn't work. I've inserted pause/Resume Script to see where the problem is and I found that it's after enter Find Mode because it doesn't paste. Do you have any clue ? Luiza
January 22, 200322 yr Not sure what the problem is, but lose the copy and paste. It's bad practice anyway. Use a SetField to move the value from the global to the find field. Also make sure the that the global field REALLY is a global field. -bd
Create an account or sign in to comment