Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I tell if a view is open at runtime?
Message
From
14/07/2000 02:56:31
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00392218
Message ID:
00392261
Views:
9
>>>>>>>>>>>Why not use the Data Environment instead?
>>>>>>>>>>
>>>>>>>>>>To tell you the truth, I've got a combobox problem (it won't allow itself to be filled by a field in the view). I was just trying to find the problem.
>>>>>>>>>
>>>>>>>>>It should allow. If not, what is the error message? Try to check the DE's OpenView property.
>>>>>>>>
>>>>>>>>Would an application mediator object have anything to do with the problem?
>>>>>>>
>>>>>>>Could please give more info on the said application mediator. What is it all about? What does it do?
>>>>>>
>>>>>>Don't know....I know nothing about them. The wizard generated it. I would like to remove it, but it tells me that it can't be deleted because it is a member of a parent class. Any ideas?
>>>>>
>>>>>Look on the baseclass. Then make use of the class browser to find what is it all about. Sorry but we don't use wizards because we have our own framework.
>>>>>
>>>>>Have you tried dropping a combobox and do the setting for yourself. View is allowed to be the rowsource but you have to set the RowSourceType to 6 or 2.
>>>>
>>>>It isn't the mediator. I built a new form from scratch. Yes, I build my framework from scratch as well. I've done all the settings on the combo myself.......tried 6 and 2 and everything else..........that's what has me baffled.
>>>>
>>>>I still consider myself to be a bit of an amateur...do you think it could have anything to do with the buffering?
>>>
>>>Buffering has nothing to do with it. BTW, are you getting an error message when running your form?
>>
>>No, None. The form comes up fine, the box drops when clicked, but it's empty, one item tall, blue, and the dropped portion has focus.
>
>If the view is in the DE, is the NoDataOnload set to .F. Also, try to browse the view somewhere in the init event of the form and see if it has a record.

NodataOnload is set to .F., and a browse in the init resulted in a record.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform