Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record Number 10 Errors loading forms
Message
From
03/02/2000 13:07:51
 
 
To
03/02/2000 09:29:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00326444
Message ID:
00326794
Views:
20
The filter is applied to the cursor, and lives independently of the form. You should look into converting these forms to use Private Datasessions, so each form uses its own copy of the table, and can set up its own filters, indexes, etc. It's a little work to get used to PD, but once you get in the mindset, you'll find the effort is definitely worth it in terms of flexibility and maintainability.

>Hi Erik,
>
>Yes I'm using the default dataenvironment with the same file on different forms and a filter is in place at times. Yes
>I'm loading a listbox with values based on a filter and setting the value to highlight the list to the first element. I test
>to see if I get any data before I set the value property but I expect the filter to disappear when the topform is released,
>but the filter seems tobe still in place and messes up the display on the undernieth form.
>
>Don
>
>
>
>
>>>Hi All,
>>>
>>>I keep getting intermitent error record number 10 (data environment) when I tab from one page frame to
>>>another or when I've displayed another form ontop of a page frame with data environments using the same
>>>file. Seems the problem comes from a filter on the file that maybe in place causing the previous form or
>>>tab to fail. Does a filter affect the same file on both page frame and form on top at the same time ?
>>>When I clear the filter before going back to the original all seems fine. Has anyone noticed this before or
>>>is it just my luck ?
>>>
>>>Thanks,
>>>
>>>Don
>>
>>Are you using the Default datasession, and a filter that references THISFORM.Something?
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform