CALENDER PROBLEM [message #271078] |
Sat, 29 September 2007 01:16 |
fam_bila
Messages: 43 Registered: August 2007 Location: pakistan
|
Member |
|
|
i 'm using calender on form , it is working correctlly.
but Now i want that from calender, sunday should not be selected as it is a non working day .
No data against sunday is retreived, so if any one select sunday then a message should be shown that
Choose another day,it is a non working day sunday
how this should be done.
Thanks
|
|
|
|
Re: CALENDER PROBLEM [message #271796 is a reply to message #271248] |
Wed, 03 October 2007 00:28 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
anything you tried yourself in the meantime?
So, what trigger(s) fire upon selection of a day? How can you check the selected day? How do you know if a given date is a sunday? How do yo display an error-message in Forms?
If you can answer all these questions, combine the answers and you got your problem solved.
If you can't work it out, show us what you tried and where you failed. Then we can help you; not based on some vague description
|
|
|
|
Re: CALENDER PROBLEM [message #271837 is a reply to message #271799] |
Wed, 03 October 2007 02:11 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
No, you got me wrong.
I don't care what trigger is fired. YOU answer that, so YOU know what trigger you have to put your code in.
If you have no idea about Forms-triggers, you should read up on them and stop coding Forms until you do understand them.
|
|
|
Re: CALENDER PROBLEM [message #272402 is a reply to message #271837] |
Thu, 04 October 2007 22:21 |
fam_bila
Messages: 43 Registered: August 2007 Location: pakistan
|
Member |
|
|
I know what are froms triggers and when it use .
But as i say i'm using calender which is bulit-in in developer.
so i just use not make it. i have no idea about making calender.
Now i want to know whether is there any bulit-in function for calender by which we can select non-working days.
Now will u get my point?
Thanx
|
|
|
build-in calender function available in developer6i [message #272838 is a reply to message #271078] |
Mon, 08 October 2007 00:09 |
sams
Messages: 100 Registered: August 2007
|
Senior Member |
|
|
i want to ask that how to make a non working day(like if user select any date of sunday, system will not allow selection) in this calender form ,that u attached. Actually i used it in my forms and working properly.i tried but procedures written in library are very difficult ,i tried to understand but didn't understand fully.
plz help me
if any idea
thanks
|
|
|
|
|
Re: build-in calender function available in developer6i [message #273043 is a reply to message #272898] |
Mon, 08 October 2007 22:35 |
sams
Messages: 100 Registered: August 2007
|
Senior Member |
|
|
David thanks for solution!
may be fam bila is any student from my campus(department) having same problem actutally we are doing projects .so for generating reports ,calender is required for selecting date range.
(sameIP address because computers are connect in network)
anyway i found another solution.this one is also working properly.
In this form where calender is made, i selected all the columns (under sunday) and change them into textboxes (in actual they were display boxes) and from property pallet set "enabled" to "NO" and insersion allowed "NO". now no one can select any date of sunday.
what do u think is it right way?
[Updated on: Mon, 08 October 2007 22:58] Report message to a moderator
|
|
|
|
Re: build-in calender function available in developer6i [message #273107 is a reply to message #273045] |
Tue, 09 October 2007 02:10 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
No, but there have been a couple of times where multiple logins appeared to be being used by the same person.
I believe that learning Forms should be considered a non-competitive exercise and that people should work together as much as possible.
David
|
|
|