` Must be in list implementation in drop down (Carlos San Miguel) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Must be in list implementation in drop down
1999-03-06 -- Carlos San Miguel
 
Newsgroups: topspeed.products.c5ee > I have drop down list on a form. When I created the dictionary I set the > validity checks to "must be in list". There are only two choices on the > list. And there is one value for ech choice. Now, when I'm browsing the > table and I edit one of the records, the drop down list field is empty. > Shouldn't the field contain the option that was last saved? For example, > if the two choices are Import|Export and the values are I|E, and the > record was saved with Import(I), then the field should have "Import" > when is being modified. What is happening? Is this standard behaviour? I solved this problem already, here is the code: IF Self.Request = ChangeRecord IF Parte:Tipo = 'I' SELECT(?Parte:Tipo,1) ELSIF Parte:Tipo = 'E' SELECT(?Parte:Tipo,2) END END The embed I used is : ThisWindow.Ask, before parent call.


Today is April 27, 2024, 2:56 pm
This article has been viewed 35115 times.
Google search has resulted in 17 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: