Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter with more than 1 record as result
Message
De
24/12/2001 04:40:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00597149
Message ID:
00597889
Vues:
11
>Hi!
>
>Can you make this question more clear?
>
>>I have a listbox that contains data from a view.
>>When I set a filter on that view with ('Set filter') and the result is more than one record the controls on the form becomes enabled ?

A listbox rowsource was set to an alias (view), when I set a filter on this view (with the command 'set filter') and the result should contain more than 1 record, a couple of controls (listbox,optiongroup) turned gray.

I've worked this problem around by changing the rowsource-property.

Sorry I've wasted your time with this problem.

BTW
I have another question.
In my base formclass I reset the datapath of my cursors.
All my baseforms use Private datasession.

Now I have a report with views in his dataenvironment.
Where do I have to reset the datapath ?
Is this in the beforeopentables-event,init-event,... ?
And my cursor are not updated untill I Requery() them, can't this happen autom. and if not where do I have to put the requery commend?K
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform