Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter with more than 1 record as result
Message
From
24/12/2001 04:40:23
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00597149
Message ID:
00597889
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform