Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling grid display
Message
 
 
To
22/06/2009 18:13:00
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01407400
Message ID:
01407710
Views:
29
>>>>thisform.grd1.Column1.ControlSource = "([" + thisform.cPrefix + "Table.Field" + "])"
>>>>
>>>>From the top of my head - not tested.
>>>
>>>No... I mean the user will input whatever after the prefix (in C1 on the grid), i.e. user won't input the prefix, just the text after the prefix, and after the input is accepted, the grid will display it with a dummy prefix (thus won't change the actual value inputed by user). The underlying field value will remain whatever inputed by user... and whether or not the prefix will be added is depending on the value of another field in the same record.
>>
>>I see, I believe this problem was discussed before, but I don't recall details and would not know what exactly to search. Probably something about phone numbers.
>>
>>Perhaps this can be controlled with DynamicInputMask.
>
>Perhapds... It is not easy to search
>
>"The Search field only accept letters, digits and quotes."
>Sigh!

Yes, agree - I made several searches on this problem already, but so far came up with nothing.

BTW, I have some ideas on your other problem too, but I forgot the code and was unable to find the thread. You need to search on the way to hide/restore standard toolbars and I believe it would give you an idea to solve your problem.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform