Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement