Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating 2.5 functions to VFP
Message
From
13/05/2003 03:05:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/05/2003 14:23:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00787382
Message ID:
00787595
Views:
13
>>>I'm updating a Foxpro/DOS 2.5 classroom attendance app. In it, a browse window listed the students in each class, all columns were frozen except for the attendance mark, which accepted 'P', 'A', or 'T' for present, absent or tardy. Even though it violates the 'Don't enter data in a grid' rule of thumb, this is the best interface solution: Mark one student and the grid automatically moves to the next student for input.
>>>
>>>Updating it to VFP 8 was easy except for the attendance mark column. Ideally, I'd like to accept and display single keystrokes like a textbox and do a reverse lookup and store the key value like a combobox. Putting a combobox in the grid makes the interface a lot clunkier. But I don't know how to accomplish that, can anyone offer ideas?
>>>
>
>>Format :M
>
>That won't make the textbox store an integer lookup value while displaying the character.

Who needs the integer in such a case. An integer is 4 bytes wide while a char is 1. If you still need an integer then try an optiongroup.
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