stefangs Posted February 1, 2002 Posted February 1, 2002 i'm trying to display a short help text for people who perform data entry using a calc field like this: Case( Status(CurrentFieldName) = "text", "Please enter text", Status(CurrentFieldName) = "date", "Please enter a date", "") but nothing appears in the field. i could script it, but that approach has problems. why does nothing appear in the calc field?
bobsmith Posted February 1, 2002 Posted February 1, 2002 If I understand what you want to do is have the field show "enter date" or "enter text" when a new record is created to let the data person know what goes in the field. So with a new record request the date field will read [Please enter Date]and the data person would enter a date in that field. If this is correct this can be done by defining the field to automatic fill with "Please Enter Date" so any new record will have this in the date field. The problem with that is this text will have to be deleted to enter the date in the field.
Ocean West Posted February 1, 2002 Posted February 1, 2002 Create a calculation field to overlay the field in question. The calculation would test to see if the data field was empty, if so then "Please enter data..." when they tab or click into the data field the calc field will dissappear. Set the calc field to not allow user entry.
danjacoby Posted February 2, 2002 Posted February 2, 2002 Even if you check the "Do not store..." in the options of the calc field, it will only return the fieldname the cursor was in when you went to the record -- and if the cursor isn't in any field, the fieldname will be blank. I'd change the calc field to a text field, then create scripts for the "date" and "text" fields that set what was the calc field to the proper message and then go to the field you want. Then assign the buttons to the fields.
stefangs Posted February 11, 2002 Author Posted February 11, 2002 quote: Originally posted by Ocean West: Create a calculation field to overlay the field in question. The calculation would test to see if the data field was empty, if so then "Please enter data..." when they tab or click into the data field the calc field will dissappear. Set the calc field to not allow user entry. this is closest to what i want. thanks everyone!!
signal Posted February 12, 2002 Posted February 12, 2002 Simpler but not as perfect would be to auto enter the text you want and turn the field into a button and create a script so that when you click on it, it clears the field and then puts the cursor in it.
Recommended Posts
This topic is 8391 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