473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

form manipulation

hi all,

i am developing an application that use a specific calendar

actually it uses 3 calendars hijri and gregorian and Umm al qura(not
listed internaltional)

for umm al qura calender i develooped a form to choose the date

and this form contain this function

public function choosedate()
..
..
..
variable = umdate
screen.previous control = variable 'the controldate on the main form
docmd.close
end function

now on the form that contain datecontrol

datecontrol on click

docmd.openform "datepick",,,,,ac dialog
end sub

it updates the datecontrol but the pickdate do not close at all
and cause the application to stop responding

would any body help please

is there any methode to call the fuction choosedate on the pickdate
form

could any one help me to create an ocx:
that will store 3 dates(hijri , gregorian,umm alqura) in 3 text boxes
and option to choose the propriate calendar
thanks and regards

Mar 31 '07 #1
3 2425
rkc
SelimZairi wrote:
hi all,

i am developing an application that use a specific calendar

actually it uses 3 calendars hijri and gregorian and Umm al qura(not
listed internaltional)

for umm al qura calender i develooped a form to choose the date

and this form contain this function

public function choosedate()
.
.
.
variable = umdate
screen.previous control = variable 'the controldate on the main form
docmd.close
end function

now on the form that contain datecontrol

datecontrol on click

docmd.openform "datepick",,,,,ac dialog
end sub

it updates the datecontrol but the pickdate do not close at all
and cause the application to stop responding

would any body help please

is there any methode to call the fuction choosedate on the pickdate
form

could any one help me to create an ocx:
that will store 3 dates(hijri , gregorian,umm alqura) in 3 text boxes
and option to choose the propriate calendar
thanks and regards
There is a lot of information missing in your post, but try declaring a
form level control variable to hold screen.previouscontrol and set it
when the form opens. Assign umdate to the form level variable in the
choosedate() function. I would also specify acForm and the form name
in the docmd.close statement.
Mar 31 '07 #2

rkc ÃÑÓáÊ:
SelimZairi wrote:
hi all,

i am developing an application that use a specific calendar

actually it uses 3 calendars hijri and gregorian and Umm al qura(not
listed internaltional)

for umm al qura calender i develooped a form to choose the date

and this form contain this function

public function choosedate()
.
.
.
variable = umdate
screen.previous control = variable 'the controldate on the main form
docmd.close
end function

now on the form that contain datecontrol

datecontrol on click

docmd.openform "datepick",,,,,ac dialog
end sub

it updates the datecontrol but the pickdate do not close at all
and cause the application to stop responding

would any body help please

is there any methode to call the fuction choosedate on the pickdate
form

could any one help me to create an ocx:
that will store 3 dates(hijri , gregorian,umm alqura) in 3 text boxes
and option to choose the propriate calendar
thanks and regards

There is a lot of information missing in your post, but try declaring a
form level control variable to hold screen.previouscontrol and set it
when the form opens. Assign umdate to the form level variable in the
choosedate() function. I would also specify acForm and the form name
in the docmd.close statement.
first of all thanks to your interest
2nd what information you need to help me
if you would like i will send to you a copy of the application

Apr 2 '07 #3
rkc
SelimZairi wrote:
rkc ÃÑÓáÊ:
>>SelimZairi wrote:
>>>hi all,

i am developing an application that use a specific calendar

actually it uses 3 calendars hijri and gregorian and Umm al qura(not
listed internaltional)

for umm al qura calender i develooped a form to choose the date

and this form contain this function

public function choosedate()
.
.
.
variable = umdate
screen.previous control = variable 'the controldate on the main form
docmd.close
end function

now on the form that contain datecontrol

datecontrol on click

docmd.openform "datepick",,,,,ac dialog
end sub

it updates the datecontrol but the pickdate do not close at all
and cause the application to stop responding

would any body help please

is there any methode to call the fuction choosedate on the pickdate
form

could any one help me to create an ocx:
that will store 3 dates(hijri , gregorian,umm alqura) in 3 text boxes
and option to choose the propriate calendar
thanks and regards

There is a lot of information missing in your post, but try declaring a
form level control variable to hold screen.previouscontrol and set it
when the form opens. Assign umdate to the form level variable in the
choosedate() function. I would also specify acForm and the form name
in the docmd.close statement.

first of all thanks to your interest
2nd what information you need to help me
if you would like i will send to you a copy of the application
No thanks on sending the file.

Did you try anything I suggested?
Apr 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Antonio Paglia | last post by:
I would wish to be able to open an existing VB6 Form from my VB.NET application. All VB6 forms are in COM dll. My COM dll expose a Public Class with a method that return an instance of my VB6...
5
by: Don | last post by:
I have a need to submit a form, but don't need the user to click on a button. How do I do this? Is there some way, using JavaScript, to setup a <form> tag to do this? Thanks, Don ----==...
2
by: Peter Malling | last post by:
The output from a HTML formmail gives a mail with the data for one record in this form: _ID=<Unique ID> <field1>=<value1> <field2>=<value2> .... Some fields might be undefined. How do I...
1
by: jens Jensen | last post by:
Hello, When my users logs in to my site, an MD5 hashed value of the password is sent to the server, and there the value is validated against a database. What if someone catchs my hash value...
4
by: pbd22 | last post by:
hi. could somebody tell me, when uploading a file, i know the form where the upload component is must have enctype=multipart/form-data but, is the same true for the form with the server code to...
5
by: BD | last post by:
I am coding with C# in Visual Studio 2005 for a database application residing on remote MS SQL Server 2005. What I want to do is open the same form but from 2 different places and only one...
9
by: RvGrah | last post by:
I'm completely new to using background threading, though I have downloaded and run through several samples and understood how they worked. My question is: I have an app whose primary form...
0
by: L'eau Prosper Research | last post by:
Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases new TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set. L'eau Prosper Market...
0
by: L'eau Prosper Research | last post by:
NEW TradeStation 8 Add-on - L'eau Prosper Market Manipulation Profiling Tools Set By L'eau Prosper Research Press Release: L'eau Prosper Research (Website: http://www.leauprosper.com) releases...
6
by: Daniel | last post by:
Hello, Could someone explain/demonstrate how I can create a 'continuous form' (similar to access) but in a webpage using php. What I am trying to do is have and entry input, if the user enters...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.