473,757 Members | 3,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Step by step how to open a popup calendar on the main form?

I have a Main Form, then a subform. There is a date field in the
Subform that I want to be able to click on it, and a VBCalendar popup
in the main form for me to choose a date (I don't want it on the
subform because there is not enough space). After the date is chosen,
it will be send back to the subform. Thanks in advance.

Sincerely,
Perry
Nov 13 '05 #1
3 2115
One possible solution would be to change the Date field in the subform to a
ActiveX control. The Microsoft Date and Time Picker Control is very user
friendly. Go to Menu/Insert/ActiveX Control and scroll down to Microsoft
Date and Time Picker Control. The control is a popup and uses the same space
as the date field.

Charlie O'Neill

"PerryC" <pe******@yahoo .com> wrote in message
news:ea******** *************** ***@posting.goo gle.com...
I have a Main Form, then a subform. There is a date field in the
Subform that I want to be able to click on it, and a VBCalendar popup
in the main form for me to choose a date (I don't want it on the
subform because there is not enough space). After the date is chosen,
it will be send back to the subform. Thanks in advance.

Sincerely,
Perry

Nov 13 '05 #2
Thanks... I did not know that existed! Well... just one little
problem... how to I get it to throw the value into my field? Or is
there a way to convert my date field into a ActiveX Date/Time field?

Sincerely,
PC
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3
Perry Cheng <pe******@yahoo .com> wrote in message news:<40******* *************** @news.newsgroup s.ws>...
Thanks... I did not know that existed! Well... just one little
problem... how to I get it to throw the value into my field? Or is
there a way to convert my date field into a ActiveX Date/Time field?

Sincerely,
PC
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!


If you don't like ActiveX controls (because you would have to
distribute them to all your users and register them), you could use
the code from the Access Developer Handbook... but that would be a bit
more work.
Nov 13 '05 #4

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

Similar topics

1
1660
by: Keith | last post by:
This is for an Intranet application before I go any further. I have a form which requires calendar dates, cities etc. to be input. This is not a problem, but when a user clicks to input a date etc., the calendar opens in a popup window over the main window. The values are all selected from a recordset based on a SQL DB. When a user clicks on a date (or other DB drawn value) in a popup window, how can I carry this value over to the...
7
2757
by: TDIOwa | last post by:
I have a form that has a specific date on it. I want to open another form that has the Active Control Calendar on it. I want to open this form to the specific date on the first form. I have searched this forum high and low to find a solution and have tried virtually everything mentioned, all to no avail. Some solutions even crash the computer. Does anyone have any ideas? Thanks TD
1
6597
by: Kathy Burke | last post by:
Hi, I have a textbox and a calendar popup window. I got this from a posting (sorry, his name escapes me at the moment). It's nice and simple, so I like it, of course. Only problem I have is that when the popup closes and puts the control value (date selected) into the textbox on my main form, I can't get my onchnage event to fire (i.e., which should load a datagrid). This is the sub that the calendar pop-up form uses when the date is...
3
2799
by: Peter | last post by:
Does anyone have an example of how you would do a popup window when a user clicks on a day number link in the ASP.NET Web Calendar control? I am trying to create an event calendar similar to how Outlook works. When user clicks on the day number in the calendar control I want to display a popup window and let user add data and click on the Save button. The code under the save button will save the data to the database and close the popup...
0
2016
by: GV | last post by:
Hi all, New to developing in VS 2005 ASP 2.0 Trying to have a easy pop calender for a button on a web page. I keep getting a error message in IE6 that says: Line 69 Char 3 Error: 'this.container' is null or not an object
5
2305
by: rockdale | last post by:
Hi, I tried to search web for an non-popup calendar control, (like javascript calendar) but could not find a good solution. Most solutions are popup another window and show the calendar, then close and assign the date back to the main window when user selected a date. Also find some examples using div show/hide but could not maintain its state when user navigate to next month. Does anyone have a hyperlink to a good example? Does...
1
3898
by: bblaze1 | last post by:
I know this is a frequent problem, so I apologize if this has been posted before. I have been looking online for hours to find a solution for this. I have a main order form and an "Are you Sure" order form that needs to pop up when the user clicks the X on the main form. I previously had my function for the popup onUnload of the body of my main form. Problem: I have yet another link on my main order form to send International subscribers...
1
1987
by: Doug | last post by:
Hi, How do I get a Calender Control popup to appear near the button which activated it, rather than on the other side of the screen? (MS Access 2000)
16
615
by: CreativeMind | last post by:
hi, i have a page calendar.aspx which returns selected date i.e window.returnValue=selectedDate; window.close(); it works fine with IE but not for Firefox. i tried window.opener.document.getElementById(<%=txthidden.ClientID %>").value=selectedDate; where window.opener is pageA.aspx but am confused bkoz many pages r using this calendar.aspx page and it
0
9487
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10069
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9735
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8736
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6556
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5324
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3828
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.