Solved

Date selection fields

Posted on 2001-07-05
6
207 Views
Last Modified: 2013-12-18
Hi,

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?

Thanks,
David.
0
Comment
Question by:dc_sava
6 Comments
 
LVL 13

Expert Comment

by:CRAK
ID: 6258521
In R5 you can!
0
 
LVL 4

Expert Comment

by:sloeber
ID: 6258654
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.

Greets,
Sloeber
0
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 150 total points
ID: 6262401
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.


~Hemanth
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:dc_sava
ID: 6263731
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
David.

0
 
LVL 4

Expert Comment

by:sloeber
ID: 6285360
0
 

Author Comment

by:dc_sava
ID: 6316242
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.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now