Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox not selected on entry
Message
From
28/07/2001 08:45:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00535697
Message ID:
00536828
Views:
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!
Fabio,
Only numeric and float are instantiated as blank. If possible use double instead.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform