Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initialisation of combo within a grid
Message
From
27/02/2009 08:04:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01384489
Message ID:
01384495
Views:
50
Hi Sergey

I forgot to mention that it's an assign method that's triggered when the grid's record source is set.

>What Event/Method of what control this code is in? How and when it gets called?
>
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform