I read somewhere in the past that the controls for Access are slightly different than the ones for Visual BASIC. I don't recall or remember what the differences were.
Visual BASIC has a control called a "DT Picker" short for "Date Picker". It's a control that looks like a combo-box and when you click on it, a calendar drops down like the one you see in Outlook.
I can get the control to load in Visaul BASIC or in Access, however, when I load it in Access I get an error saying:
"There was a problem referencing a property or method of the OLE Automation object."
I think it has to do with the fact that the control doesn't have the property that binds the control to a field in a query or table. But I don't know what it's missing for sure. If I had to take a guess, I'd say it's the DataSource property.
I looked at the Calenadar Control in Visual BASIC in the object browser to see what type of properties and methods it had. Since I can use this control in either environment, I wanted to exam it's properties and methods.
I was thinking that if I could encapsualte the Date Picker control in a Visual BASIC control and add the property that Access is looking for, I could get the control to work in MS-Access.
I can get the control to display and function in Access as the form is loaded, however, the event's don't fire when the date is changed.
Anyone know of a date picker control for Access 95 for know how I can make this control work with Access 95? Does the control work in Access 2000? If it does, then upgrading is a viable option. If someone would be so kind to see if the data picker control works in Access 2000 I would greatly appreciate it.
It's called "Microsoft Date and Time Picker Control 6.0"
Thanks for any help you might be able to offer! Snaggs
tribesaddict@swbell.net
To define recursion, we must first define recursion.
Visual BASIC has a control called a "DT Picker" short for "Date Picker". It's a control that looks like a combo-box and when you click on it, a calendar drops down like the one you see in Outlook.
I can get the control to load in Visaul BASIC or in Access, however, when I load it in Access I get an error saying:
"There was a problem referencing a property or method of the OLE Automation object."
I think it has to do with the fact that the control doesn't have the property that binds the control to a field in a query or table. But I don't know what it's missing for sure. If I had to take a guess, I'd say it's the DataSource property.
I looked at the Calenadar Control in Visual BASIC in the object browser to see what type of properties and methods it had. Since I can use this control in either environment, I wanted to exam it's properties and methods.
I was thinking that if I could encapsualte the Date Picker control in a Visual BASIC control and add the property that Access is looking for, I could get the control to work in MS-Access.
I can get the control to display and function in Access as the form is loaded, however, the event's don't fire when the date is changed.
Anyone know of a date picker control for Access 95 for know how I can make this control work with Access 95? Does the control work in Access 2000? If it does, then upgrading is a viable option. If someone would be so kind to see if the data picker control works in Access 2000 I would greatly appreciate it.
It's called "Microsoft Date and Time Picker Control 6.0"
Thanks for any help you might be able to offer! Snaggs
tribesaddict@swbell.net
To define recursion, we must first define recursion.