Home » Developer & Programmer » Forms » Oracle Forms (6i) Calendar (Oracle Developer, 6i, Windows Xp)
icon6.gif  Oracle Forms (6i) Calendar [message #617842] Thu, 03 July 2014 23:38 Go to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Hi guys,

I have design a form based calendar that require no library attachments no pll/plx files needed. No complications, simple and easy to use.

I hope I didn't waste the time in this. Hope this solve people problems.

I have checked this calender and found no error but if any of you face any problem do let me know or if you think this can be more improve then do it Razz or let me know Cool

Remember me in your prayers.
  • Attachment: calendar.fmb
    (Size: 312.00KB, Downloaded 3329 times)

[Updated on: Thu, 03 July 2014 23:39]

Report message to a moderator

Re: Oracle Forms (6i) Calendar [message #619164 is a reply to message #617842] Fri, 18 July 2014 09:25 Go to previous messageGo to next message
kilimanjaro
Messages: 151
Registered: May 2009
Location: Tanzania
Senior Member
Hello Mohammad Azam Khan.

I have downloaded your calendar

How do I use it please?

Im using dev 6i on window 7.

Thank you.
Re: Oracle Forms (6i) Calendar [message #619248 is a reply to message #619164] Mon, 21 July 2014 00:32 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Did you run the form. What you have in my form, copy all to your desired form and Wa La... you have implemented Calender in your Forms 6i.

The Calender form should have following that you must copy in your form:

* Two Control blocks
1- Ctrl_Bk : This block is using the calender to input data so you don't have to copy this one but check its code because it helps you using my Calender.

2- Calendar_Ctrl1_Bk : Again this is another control block copy it as is in your form.

* Calendar_Canvas : Copy this canvas.

* Two Procedures
1- Calendar_Populate_Month_Pro
2- Calendar_Set_User_Date_Pro

Copy both procedures.

* Copy Calendar_Curr_Dt_Va visual attribute.

* Copy Calendar_Win window in your form.

These are the staff you need to copy to your form in order to get calender code work.

[Updated on: Mon, 21 July 2014 00:43]

Report message to a moderator

Re: Oracle Forms (6i) Calendar [message #619275 is a reply to message #619248] Mon, 21 July 2014 03:31 Go to previous messageGo to next message
kilimanjaro
Messages: 151
Registered: May 2009
Location: Tanzania
Senior Member
Hi Azamkhan

Thank you very much for your quick reply.After doing so as you instructed above,How do I call the calendar to go/popup to a specific calendar field of my form?

Once again ,Thank you very much.
Re: Oracle Forms (6i) Calendar [message #619280 is a reply to message #619275] Mon, 21 July 2014 03:52 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
For that see my code of the Ctrl_Bk. Check out the code from there you will find your answer.
Re: Oracle Forms (6i) Calendar [message #619391 is a reply to message #619280] Tue, 22 July 2014 03:43 Go to previous messageGo to next message
kilimanjaro
Messages: 151
Registered: May 2009
Location: Tanzania
Senior Member
Hello Azamkhann

Thank you very much for your help.I have done as you instructed and no compilation errors.
But when I press the button I get this message at the status bar 'FRM-41058 No such item for get_item_property'

I have attached the file.Thank you very much.
  • Attachment: TAX_TEST.fmb
    (Size: 356.00KB, Downloaded 1827 times)
Re: Oracle Forms (6i) Calendar [message #619785 is a reply to message #619391] Fri, 25 July 2014 01:19 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
I can't run your form's code because of your toolbar code. Send me a copy that can be executed without errors.
Re: Oracle Forms (6i) Calendar [message #619921 is a reply to message #619785] Sat, 26 July 2014 02:26 Go to previous messageGo to next message
kilimanjaro
Messages: 151
Registered: May 2009
Location: Tanzania
Senior Member
Thank you Azamkhan for your tremendous help.

I have attached the form as you asked.

Thank you.
  • Attachment: TAX_TEST.fmb
    (Size: 312.00KB, Downloaded 1509 times)
Re: Oracle Forms (6i) Calendar [message #620026 is a reply to message #619921] Mon, 28 July 2014 00:07 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Cool Check it out now...!
  • Attachment: TAX_TEST.fmb
    (Size: 308.00KB, Downloaded 1710 times)
Re: Oracle Forms (6i) Calendar [message #620485 is a reply to message #620026] Sat, 02 August 2014 03:46 Go to previous messageGo to next message
kilimanjaro
Messages: 151
Registered: May 2009
Location: Tanzania
Senior Member
Hello Azamkhan .Thank you very much for your help.

The Tax_test.fmb you resend worked fine after compiling .I did as you did on another form but on runtime when I press the button i get that error 'FRM-41058 No such property for get item property '.How do you overcome this error so as I can proceed ?.

I have attached the employee_Test3.fmb and see how i'm doing it in the first block.

Thank you.
Re: Oracle Forms (6i) Calendar [message #620486 is a reply to message #620485] Sat, 02 August 2014 04:02 Go to previous messageGo to next message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Obviously, you know what triggered that error. Don't be lazy, open Forms Help, search for GET_ITEM_PROPERTY built-in and examine its options. The one you used doesn't exist, so ...

By the way, it would help if you posted code that failed to run. Some of us can't download attachments, some of us can't open it (I don't have Forms installation here, for example).
Re: Oracle Forms (6i) Calendar [message #620531 is a reply to message #620485] Mon, 04 August 2014 01:36 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
If you have watched my code I didn't send navigation to the calender button. Keep the calender button navigable = 'No' (both mouse and keyboard). After selecting the date my code will automatically find and populate the item of your choice.
Re: Oracle Forms (6i) Calendar [message #620543 is a reply to message #617842] Mon, 04 August 2014 03:01 Go to previous message
kilimanjaro
Messages: 151
Registered: May 2009
Location: Tanzania
Senior Member
Hello azamkhan

Thank you very much.It has worked. Thanks allot.
Previous Topic: List of value to add_parameter
Next Topic: how to use if condition in the button
Goto Forum:
  


Current Time: Thu Mar 28 06:54:36 CDT 2024