KurtW Posted November 11, 2004 Posted November 11, 2004 Hey all: I want to allow a user to select a month, day and year from popup-menus to create a search date for a find. I want to display the month name as the selection choice, but want to pass the month number as the actual data entered into a global field for my calculation. I know how to display a second value in the list, but that
RalphL Posted November 11, 2004 Posted November 11, 2004 Make a table that has 2 fields Month (number) MonthName (text). Use this for your value list Month first value, Monthname second value.
KurtW Posted November 11, 2004 Author Posted November 11, 2004 Thanks Ralph - I actually did exactly that but found I was seeing both values in the dropdown but FM told me it was passing only the 1st value. I guess I screwed it up, then. I will try that again from the start. Kurt
KurtW Posted November 11, 2004 Author Posted November 11, 2004 AH! I had it backward. The monthName is now just a display tool but the monthNum is entered into the field. I get it. That should do it for me. Thanks for the help. Kurt
-Queue- Posted November 11, 2004 Posted November 11, 2004 Or use a calculation of (Position( "JanFebMarAprMayJunJulAugSepOctNovDec"; Left( yourfield; 3 ) ) + 2) / 3
Recommended Posts
This topic is 7318 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