Newbies itmedex Posted January 31, 2012 Newbies Posted January 31, 2012 We have a field that builds its value list off of itself. When a user enters find mode, the list will display the same value, in this case 2011. How does one change the value to display 2012?
Lee Smith Posted January 31, 2012 Posted January 31, 2012 Hi itmedex, There are a couple places you can check, the 1st one I mentioned is probably where you are going to need to change it. Go into your Manage Databases, click on the current field, click on the Option for that field, & see if there os an Auto Enter of 2011. If not, you will need to edit the value lists to include 2012. HTH Lee
bcooney Posted January 31, 2012 Posted January 31, 2012 "When a user enters find mode, the list will display the same value, in this case 2011. How does one change the value to display 2012?" What do you mean? It displays the same value as what? The last record viewed? To set a default in FIND, you'll need to script it. Enter Find Mode Set Field (myField, "2012") Pause Perform Find
Newbies itmedex Posted February 3, 2012 Author Newbies Posted February 3, 2012 I solved this mystery. Somebody went and setup a OnViewChange script trigger that was setting the year to 2011 when the user entered find mode. Once I found it and changed it, everything worked fine. Thanks for your help.
bcooney Posted February 4, 2012 Posted February 4, 2012 That is one reason I hate triggers. They hide. Good for you that you found it.
comment Posted February 4, 2012 Posted February 4, 2012 That is one reason I hate triggers. They hide. If you'll pardon the allusion: Triggers don't hide - developers hide. 1
bcooney Posted February 4, 2012 Posted February 4, 2012 Huh? To me, they're right up there with auto-enter calcs.
bcooney Posted February 5, 2012 Posted February 5, 2012 That is definitely a best practice, and we've done similar for "hidden" tab panels, etc. However, I contend that it would be much nicer if FM natively could call your attention to such triggers.
comment Posted February 5, 2012 Posted February 5, 2012 I agree. But since that's not likely to happen...
Recommended Posts
This topic is 5010 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