• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Date selection fields


If I include a date field in a Layout Region the form will produce a pretty little graphic selection box for the user.

If I create a date field outside of a layout region however this graphic selection does not appear as the same sort of field reacts differently when not in a Layout Region.

Is it possible to create the same sort of thing in a field outside of a layout region?

1 Solution
In R5 you can!
If you use R4 and your are working in notes, why don't you use layout regions, you can make them transparant, so the user doesn't see that you're working in a lay-out region
If you are working on the web, you can make also a calendar popup, using lotusscript.
If you need that, just let me know.

Sleekest  method to obtain that functionality is by using a layout in a subform and presenting that subform as a dialog for inputs.

Most of the mail subforms include this kind of functionality.

Create a single date field with caption in a layout region and use same name as that of the underlying form field and call the dialog with help of a hotspot (picture or button) like this,

@DialogBox( "DateSF"; [AutoHorzFit] : [AutoVertFit] : [NoNewFields] ; "Select date !" )

Advantage of this method is that you can't create layouts in table. If your fields are not in table then you can go with Sloeber's method.

As CRAK mentioned if you use R5 then there is no problem in displaying the icon.

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

dc_savaAuthor Commented:
Ahh the good old "It works in R5"  :o)

Unfortunately I have to stick with R4.

There are a few reasons I don't want a layout region if I can help it, one is that I want to get used to not using them, another reason is that I don't like the way printers handle them its very messy.

Hemanth, thanks for your comments I like your idea but not in this fashion as I have many date inputs on this form.

Sloeber I am interested in your script pop-up, could you give me some more details on that please?

Thanks for the comments

dc_savaAuthor Commented:
The way I originally implemented this solution it seemed like it wouldn't work for me. Upon playing a little more this has turned out to be the most appropriate for my situation.

I do appreciate the Java pop-ups from Sloeber, I'm sure they will come in handy one day.

Thanks for the help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now