Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle numerics in a combobox?
Message
De
08/11/2002 15:49:05
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
À
08/11/2002 13:26:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00720148
Message ID:
00720495
Vues:
10
>Henry,
>You don't say how you query values. I said do query like this :
>mSometime = AllTimeSlots.app_time

In one Combo's InteractiveChange I have:
mStartTime = this.displayvalue && have tried =AllTimeSlots.App_Time also
In the other I have:
mEndTime = this.displayvalue && have tried =AllTimeSlots.App_Time also
Then, the click evnet of a command button contains the select statement which uses the variables noted above to get timeslots thaqt are between those two number - the result is also wrong.

>
>Probably instead you're doing :
>mSomeTime = val(thisform.mycombo.Value)
>
No.

>Val() adds the decimal places (based on set decimal)
>If combo is not Bound (bound=.f. default) and column has numeric values then what you get back is Listindex not the value in that column. Set bound=.t.

I will try this.


Thanks Cetin.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform