Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox not selected on entry
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00535697
Message ID:
00536596
Vues:
8
>Sean,
>
>Thanks for the response!
>Now you touched in a subject I was investigating some time ago and I thought it was some imagination of my mind <s>.
>The case is exactly this! My value on the ControlSource and Value properties are 0.000, however if I "browse" the table, the corresponding field is blank (not NULL!). In order to solve my problem, I could do the following:
>
>1) In the WHEN method of the textBox:
>
>IF EMPTY(THIS.Value)
>  REPLACE MyTable.MyField WITH 0.0000 IN MyTable
>ENDIF
>
>This solution may take too much effort to implement in my application...
>
>2) When I APPEND BLANK the new record:
>
>SELECT MyTable
>APPEND BLANK
>SCATTER MEMVAR MEMO
>GATHER MEMVAR MEMO    && This action puts the zeroes into the numeric fields
>
>This Solution may take less time to implement, but it's undesirable yet.
>
>Do you know it is a known bug? Is there any workaround?
>Thank you!

I'm not sure if its a known bug or even if they consider it a bug, but it has been around since FoxPro for DOS days. They should know of it by now. The only workarounds I know of are the ones that have been offered in this thread.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform