Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
All fields except one match key selected with combolist
Message
De
10/08/1999 13:55:35
 
 
À
09/08/1999 21:16:07
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00251721
Message ID:
00252105
Vues:
14
>David-
>
>Is there only one table involved? More? Relations? A parameterized view? Is the errant textbox showing the next or last record?

There are two tables. The work order table, an operation table (two field table that maps operation codes to operation descriptions). The work order table is related to the operation table with an opcode field. I use this in a combolist to allow the user to select from a list of options that may apply to a work order.

No parameterized view.

The errant textbox seems to be showing the next record (where next is determined by the index order of the table).

Everthing about the tables is set up in the DE except that I do not autoopen the tables. This is so that I can specify the database to be used at run time.
In the LOAD I set the table's cursor's DB to my.dbc then fire the DE.opentables.

>
>What is your refresh code?
LOCAL lcproc
lcproc = SET("procedure")
SET PROCEDURE TO UTILS.PRG ADDITIVE    &&contains ibox udf

dodefault()

THISFORM.txtqtyinproc.valid           &&set color of txtbox depending on value
THISFORM.txtihcdate.valid

IF alltrim(THISFORM.txtcomment.value) <> alltrim(wojrn.comment)
	ibox("Houston, we have a problem")
ENDIF

SET PROCEDURE TO &lcproc
>
>Is the rowsource for the CBO the same as the source for the textboxes?
>
>>One other clue could be that I do not refresh in the combolist's valid. Only in it's interactivechange. I've gotten a little hinky about refreshing in the valid of a combolist after some of the stuff I've read. Again, everything does appear to be refreshed at the right times, except the one field, when this problem occurs, so it's hard to believe lack of refresh is a source of the problem.
>>
>>I'm thinking some kind of server delay/buffering interface/race condition weirdness could be at fault...explaining why selecting from the combo's dropdown list (rather than using the interactivesearch) clears the problem.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform