September 7, 201015 yr I need to write a script that copies to fields from one layout (fields... User and Password) and then go to layout(student) Enter layout mode Paste two fields perform find Can some one tell me how to do this with two fields to find? Thank you!
September 7, 201015 yr Set Error Capture [ On ] Set Variable [ $var ; Main::Field1 & ¶ & Main::Field2 ] Go to Layout [ "Student" ] Enter Find Mode [ ] Set Field [ Student::Field1 ; GetValue ( $var ; 1 ) ] Set Field [ Student::Field2 ; GetValue ( $var ; 2 ) ] Perform Find [ ]
September 7, 201015 yr Author This is great Thanks! Now can I make it be exactly that match? Like if i ask for "kenh" can I get only "kenh" and not "ken" And also if it does not find any match to just beep or give a caanot find match message? Thanks for your help!
September 7, 201015 yr Set Error Capture [ On ] Set Variable [ $var ; Main::Field1 & ¶ & Main::Field2 ] Go to Layout [ "Student" ] Enter Find Mode [ ] Set Field [ Student::Field1 ; [color:red]"==" & GetValue ( $var ; 1 ) ] Set Field [ Student::Field2 ; [color:red]"==" & GetValue ( $var ; 2 ) ] Perform Find [ ] [color:red]If [ Get ( LastError ) ] Show Custom Dialog [ "cannot find match" ] End If
Create an account or sign in to comment