Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datepicker control 1

Status
Not open for further replies.

foxfire

Programmer
May 18, 2001
38
US
Seems simple enough, I use the datepicker control, set the controlsource to a field in the table. When the form runs, it has the date from the table, I pick a new date, exit the form, the old date is still in the table. I've only tried this within a test form so I have not done any table buffering. How do I save the date picked?
 
Hi,
1. Have you bound the data field to the textbox. OR are you storing the value of the textbox to the field in the file when you quit.
2. If the DBF is opened in the DE, check the buffering provided. If there is buffering you have to suitably do the tableupdate()
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
I set the controlsource of the control to the field in the table, I'm not useing a data environment, I just have a table open and have a test form open. I already read the article at Microsoft, it says use the value property but there is no value property, only individual properties for the day, month and year. I could put the date together myself, but it seems it should be easier than that. I don't understand why there is no value property.
 
I've used the Ole Calendar control, and just have someting like:
Code:
compldate = DATE(this.year, this.month, this.day)
this.refreshdisplay
in the click event . This isn't much code and can be encapsulated via subclassing if you want.

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top