Good morning:
I created a data entry form that has been working well, and needed to
redesign it. The form is called, and now the first field to be filled
in is a date using the MSCAL.Calendar. 7 ActiveXCtl. The calendar
presently displays the current date. The first time the user enters
the date on the form, the date resets to the current date, and the user
must re-enter the new date.
I also note that upon entering the form, the new record and delete
record buttons on the tool bar are greyed out, and remain so until the
date is entered the second time.
If I have another field take focus upon opening the form, a simple
macro (SendKeys) text will populate the text field, and tab to the
calendar allowing the user to enter the date correctly.
There has to be a better way to make the calendar take focus upon
opening the form, and allow the user to enter the date the first time.
Any assistance is greatly appreciated. 1 7283
Personally, I find Stephen Lebans' calendar class a heck of a lot
better then the MSCAL ActiveX file. But that's me. (Nothing to
install!)
Anyways, the trick to having a "sticky" is to make a form level
variable. In the "Exit" event of the control you want to be "sticky",
set the form level variable to the control. In the Form's "Current"
event, check for "Me.NewReco rd". If that's true, set the control to be
= form level variable.
Simple, cheap, works. What more could you ask for? (And it doesn't
use the problematical "SendKeys" function either!) ji************@ yahoo.com wrote: Good morning:
I created a data entry form that has been working well, and needed to redesign it. The form is called, and now the first field to be filled in is a date using the MSCAL.Calendar. 7 ActiveXCtl. The calendar presently displays the current date. The first time the user enters the date on the form, the date resets to the current date, and the user must re-enter the new date. I also note that upon entering the form, the new record and delete record buttons on the tool bar are greyed out, and remain so until the date is entered the second time. If I have another field take focus upon opening the form, a simple macro (SendKeys) text will populate the text field, and tab to the calendar allowing the user to enter the date correctly. There has to be a better way to make the calendar take focus upon opening the form, and allow the user to enter the date the first time. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Sugapablo |
last post by:
Can someone recommend a very simple script to produce a web calendar?
I just want something where I can select a month and year and it produces
a very basic HTML table, 7 columns across, one month at a time, with the
dates filled in.
No frills, no nothing, just pure, month producing code.
--
|
by: Tim Graichen |
last post by:
Hello,
I am making use of the Active X calendar control (mscal.Calendar.7) in
several places in my main form, with the following code
Below is an example of the code I'm using for the controls.
Private Sub DateSold_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
SoldCal.Visible = True
|
by: Michael Holberton |
last post by:
Hi All,
I have Access 97, 2000 & 2002 installed in different directories under
Win2K Server on a new PC box I built.
The Calendar Control on my Date Selector Form is not working and
causing various problems. The file in C\winnnt\system32 appears to be
the version for Access97. Even if I register the version for Access
2000, that resides in the Office directroy of my Office 2000
installation(or move it to the C\winnnt\system32...
|
by: Robert Waggoner |
last post by:
My Access 97 database is on a public network so it can be accessed by a
dozen users. On my computer the Active X calendar shows the GridFont as 8
pt. On some user's computers the gridfont size is 1.5 and cannot be read by
the human eye. HELP! Why does it read perfectly on my computer but not on
user's computers? I can go into a user's computer and change the font
setting on the calendar property to 8 and then it works. Can I set that...
|
by: JamesDC |
last post by:
Hey all,
How do I set the default date of my MSCAL.Calendar.7 calendar to today's date? I have it on one of my forms so that an employee can click on a given date and bring up the records form there. I just want the data to automatically be today's date, instead of having to click the desired date (which in almost all cases will be the current day's date).
Thanks in advance,
James
| |
by: thorpk |
last post by:
I posted this problem earlier in the month and some one decided it was
better to change the subject and ask a completely different question.
I am therefore reposting. I am hoping some one can assist with this.
Thanks in advance.
I have an access database that i have added a pop up calendar to, the
Table information for the Date Reported field is
Date/Time
format short date,
input mask is 00/00/0000.
|
by: hellsgate |
last post by:
Hey guys,
I'm using MSCAL.Calendar.7 to allow the user to select a date and time in an Access application which is used across a network. The application uses Access 2003 as the frontend with SQLServer 2000 as the backend. On most machines (including the one I am developing on) the months and days are correctly displayed in English. However, on some machines the are displaying in German. I thought it may be caused by some machines having...
|
by: gubbachchi |
last post by:
Hi all,
Please anybody help me solve this problem. I am stuck up with this from past 2 weeks. I am developing an application where, when the user selects date from javascript datepicker and enters the comments and clicks the save button then the date and the date will be stored in the mysql database. This is working fine. But my problem is when, after the user had made an entry the date in the calendar for which an entry has made should be...
|
by: abhishekbrave |
last post by:
The code below is opening a calendar on mouse over in the same window.
I need the calendar to be opened in new window.
Have to fulfill this requirement urgentely so posting the whole code here.
I tried doing some workaround using window.open() but not getting the calendar in new window.
<html>
<head>
<script language="JavaScript">
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |