Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Three tables and a Grid.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00205070
Message ID:
00205128
Vues:
15
>Jason,
>The way I do it is to have two controls in the column: a textbox bound to the Worker Name as well as the combo box. When the column is active, set the CurrentControl property of the column to the combo. When the column is inactive, set CurrentControl to the textbox.
>

Why not use a combobox with multiple columns; make the WorkerName the first column, and a later column that is not displayed as the BoundColumn?

>HTH
>Barbara
>
>>I am having trouble with a grid. I have three tables :
>>Table 1: Ticket table
>> TicketID
>> Ticket info, etc.
>>
>>Table 2: Ticket workers (can have many workers associated with 1 ticket)
>> TicketID
>> WorkerID
>>
>>Table 3: Workter table
>> WorkerID
>> Worker Name
>> Worker info, etc.
>>
>>On the ticket entry form I have a grid with the worker information in it. The grid is setup to display/store the WorkerIDs in table 2, it uses a combo box in a single column. The combo box works fine, but the grid shows the WorkerID when not in focus. What is the property that I need to change to display the name from the combo box instead of the WorkerID?
>>
>>Thanks in advance for any help.
>>Jason Lund
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform