Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column in grid doesn't keep format/size
Message
From
19/10/1999 20:23:34
 
 
To
19/10/1999 13:39:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00278335
Message ID:
00278572
Views:
13
>Grid column has a control source from a view, it is numeric, 8,2. The data comes in properly when first run, but when the user tries to change the data, it's as if the format or input mask is "9.9"
>Checked the inputmask for column and textbox, it is "99999.99". But here is the strangest part - if the grid has five records for example, the very last row has the input mask correct and will allow the user to enter five numbers plus two decimals (as it should). But the previous four records won't allow more than one number and one decimal. Each time it is run, whether the grid contains two records or ten records, only the last row will allow the correct entry. Help.

Try to debug this situation by following code:
Thisform.Mygrid.ColumnX.Text1.Inputmask="99999.99"
add it to some place, e.g. Form.RightClick event and try it in run-time. If it will help, then you may change the way you re-populate you grid.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform