Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initialisation of combo within a grid
Message
From
27/02/2009 07:23:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Initialisation of combo within a grid
Miscellaneous
Thread ID:
01384489
Message ID:
01384489
Views:
106
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.
Next
Reply
Map
View

Click here to load this message in the networking platform