473,799 Members | 3,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DateTime Picker Nightmare!!

108 New Member
Greetings,

I have an issue with my datetime picker where its not active until I select another field on my form.

Any field on the form.
I have tried to manually setfoucus and give values with events and form load with VBA without luck (unfortunately I cant remember my exact actions to repeat here, apart from banging head on keyboard alot)

If i right click when running the form and action 'remove filter/sort' it automatically becomes active too.

All this has become an issue because dll files and other components on my pc are different than those used at my university. Very confusing.

All machines (university and mine) run acess 2003 (mine Sp2 theres Sp1) but for some reason it states my database is acess 2000 format, really confused.

Other than that all is good :)
Nov 27 '06 #1
5 2443
NeoPa
32,579 Recognized Expert Moderator MVP
If it reports the database as Access 2000 format then surely it will let you upgrade it to the latest version?
Remember to take a back-up first (or upgrade to different file instead).
Nov 27 '06 #2
robtyketto
108 New Member
Im not worried about the access 2000 file format at the moment.

Think I need a break from access keep making silly mistakes!

My booking table has an autonumber field as the unique reference for a booking.
On my form load to enable the user to add a new record I have added the following

Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer
  2.              DoCmd.RunCommand acCmdRecordsGoToNew
  3. End Sub
The Datetime picker is only activated when the reference number is autogenerated, this happens when a form field is bound to a table field.

I know its trivial but somehow seeing the datetime picker become active after updating a field doesnt look athestically pleasing.

Is there anyway around this?

PS Apologies for not using CODE tages in other posts!
Nov 27 '06 #3
NeoPa
32,579 Recognized Expert Moderator MVP
I wish I could help you but I've never dealt with a date/time picker.
I can't think of anything I know which could help you on this one.
Sorry.
Nov 27 '06 #4
MMcCarthy
14,534 Recognized Expert Moderator MVP
When you speak of a date/time picker are you talking about an activeX calendar control. If so what code are you using.
Nov 28 '06 #5
Killer42
8,435 Recognized Expert Expert
Perhaps it would help if the date/time field on the table had a default value?
Nov 28 '06 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1691
by: Colin Joss | last post by:
Sorry folks, being a bit dense here. I need a DateTime Picker for a PDA application I'm building. Couldn't see one in the standard tools so search Microsoft. Found one. Downloaded it. Now what? How do I get the DateTime Picker tool onto my tool bar? tia Colin
0
1540
by: Ata Ýsmet Özçelik | last post by:
Hi there, I have a problem with the DateTime picker.. I want to use my custom format; for this I can give a string for the format.But My goal is to have the month name in the box in upper case like this when the item is selected : 02 JAN 2004 I know that there is an array called AbbreviatedMonthNames that can be modified. The problem is that array is used only in the CurrentCulture and can be displayed when the DateTime Format is...
0
422
by: Qumer Mumtaz Goraya | last post by:
Hi There is a datatime picker control in one column of my datagrid.When the cell of sepecific column get the focus the datetime picker control appeare It shows the current system date.If once I changed the date then next time when the control appeare in next cell same modified date is displayed. What I wanna do is that date picker must show the current date in the cell the cell is empty. if it already have some value in it then that value...
3
2048
by: Brian | last post by:
Hello, I have a wierd problem. I have a datetime picker that doesn't seem to want to sinc up its .value and .text proberties. I can step through the code and see that they are different values. I have even tried to use .resetText and recalc the value every time and even that only works half of the time. The funny thing is that if I do a watch and step through the code it seems to work most of the time, but if I just run the code it...
5
3493
by: Michel Posseth [MCP] | last post by:
Hello we have encountered the following problems with the date time picker control A : datetime picker control gives focus to last entered field when moving back and forward with focus how do we reset this to the first field ? B : datetime picker in DD-MM-YYYY default format ( europe , NL-NL localization ) refuses an entry of 31 on the DD filed cause the month is already chosen to the current mont ( (02) februari wich only has 28...
1
3834
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using vb.net 2005 Hw To Put DateTime Picker in Datagrid view I have to sea Datetime Picker in Specified Cilomn of Datagrid I try This But The Location Hw To Change to the column location or In DatagridView any Datetime Picker like DataGridViewComboBoxColumn,DataGridViewCheckBoxColumn etc..?
4
4965
by: gggram2000 | last post by:
Hi, I'm using php 5.2.3 with mysql server 5.1 as backend. I have a program in which a person enters or chooses two dates from two datetime pickers and other info, I'm not sure if the problem is in the Datatype for the datetime picker declared in the table editor why none of the fields save in the database. I entered the datatype as DATE. and my datetime pickers code look like this: <script language="javascript" type="text/javascript"...
1
2331
by: sonubaba | last post by:
hello, my question is, in my web application i need datetime picker control in which user can select both date and time from DateTime Picker control i could not find this anywhere on inter net pl give me suggestion and give me datetime picker control and its coding
1
3764
by: Subir Nath | last post by:
Sir, I am working on my academic project in C# windows application for management of an institute. Am not able to use the 'month calender' or 'datetime picker' control. I need to select a date using any of the above controls and based on the selected date I need to add some few more days to that and get the final date. I also need to store all those dates in the database(SQL Server 2005)so that I can later retrive it and check for any...
0
9544
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,...
0
10259
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 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...
1
10238
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,...
0
9077
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
7570
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
6809
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
5467
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...
1
4145
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
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.