Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Combobox
Message
From
30/10/1997 15:48:55
 
 
To
30/10/1997 15:36:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00057473
Message ID:
00057475
Views:
24
>I want to have a combobox that is bound to a date field and be able to select dates from a view. The VFP Help indicates that date is not a valid type for a combobox. Is there a way to do this?

Date is a valid value for the recordsource, but not the control source. Instead of using the controlsource property, you could blank it and do the replace with code in interactive change:

replace mytable.date with this.value

As far as updating it, just issue:
mycombo1.value = mytable.date
whenever the record pointer moves.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform