Newbies tintan Posted November 1, 2000 Newbies Share Posted November 1, 2000 hi guys i need a little help here. i'm new to the scripting in FM. please if it's not too time consuming somebody help me with the following: i have a field f1 like this: [empty] [empty] 123 234 345 and then a filed f2 like this: 123 234 345 456 567 what i'd like to do is a script that checks if f1 is empty - if it is does nothing to the f2, but if f1 is different then nothing set f2 to the value of f1 iguess it's not very difficult script to do but i couldn't get it to work. help please. franz Link to comment Share on other sites More sharing options...
LiveOak Posted November 1, 2000 Share Posted November 1, 2000 GoTo Record/Request/Page[first] Loop If["notIsEmpty(f1)"] SetField["f2","f1"] End If Goto Record/Request/Page[Exit after last,Next] End Loop -bd Link to comment Share on other sites More sharing options...
Chuck Posted November 1, 2000 Share Posted November 1, 2000 quote: Originally posted by tintan: hi guys i need a little help here. i'm new to the scripting in FM. please if it's not too time consuming somebody help me with the following: i have a field f1 like this: [empty] [empty] 123 234 345 and then a filed f2 like this: 123 234 345 456 567 what i'd like to do is a script that checks if f1 is empty - if it is does nothing to the f2, but if f1 is different then nothing set f2 to the value of f1 iguess it's not very difficult script to do but i couldn't get it to work. help please. franz SetField["f2",Case( IsEmpty(f1), f2, f1 )] Link to comment Share on other sites More sharing options...
Newbies tintan Posted November 2, 2000 Author Newbies Share Posted November 2, 2000 thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8547 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now