Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initialisation of combo within a grid
Message
De
27/02/2009 07:23:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Initialisation of combo within a grid
Divers
Thread ID:
01384489
Message ID:
01384489
Vues:
105
The following code in a grid crashes with message "data type mismatch" on a client's computer but not on mine here. I experimented with .rowsource = "" (it was crashing on NULL) but same error message.

At the time the grid's recordsourcetype = 1 - alias and recordsource is (none)

how can this be?
LPARAMETERS vNewVal

* 11/02/2009 PHIL SALES MATRIX - Allow an order or a quote to be raise - Obscure bug when nudging use nudgec class
* When this sets DATASESSION this gets called and it then says cannot access (This.Parent.cursornameforentries)

IF NOT TYPE("vNewVal") = "C" OR vNewVal # This.Parent.cursornameforentries
* TPMcD	27/02/09	This.Column2.Ascombobox1.RowSource = NULL
	This.Column2.Ascombobox1.RowSource = ""
ENDIF
DODEFAULT(vNewVal)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform