Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid lookup date problem
Message
From
20/01/1999 12:52:39
 
 
To
20/01/1999 12:40:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00178111
Message ID:
00178120
Views:
38
Hi Dan ---

Drop another Textbox into the Grid column and set Column.Sparse to .T. With this new Textbox, format it however you want for data entry. The existing textbox can be formatted DTOS and the new Textbox will onlyh be active when a specific cell receives focus for input.


>I've got a grid that I'm using for as a lookup with one text field. The text field allows input to seek against the active index. However one of the constraints I am under is that the active index needs to be a character based index. If I'm using a date for example the index must covert to character (DTOC, DTOS).
>
>The grid is sorted based on this index and what I want is a sort that will display in DTOS order but allow the user to seek as if the date were formatted in DTOC format. If I override the textbox functionality, I would be able to accomplish that but I was hoping there was some way to avoid that. Mainly because of the complexity of the framework we are working with.
>
>TIA
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform