Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VSP6SP5: How can I select a DBF when it is a view
Message
 
To
18/03/2003 14:15:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00766706
Message ID:
00767419
Views:
14
Sorry Tamar for troubling you but actually there were 2 probs. Another was this EMPTY(&lcVN..&lcPID.) changed it to EMPTY(&lcPID.)

>>Hi all
>>
>>I have the following logic where THIS.cViewName = "v_mAccounts"
>>SELECT "R" + STR(&lcID.) AS iID, &lcText. AS cName ;
>> FROM (lcVN) ;
>> WHERE !DELETED() AND EMPTY(&lcVN..&lcPID.) ;
>> ORDER BY &lcOrder. ;
>> INTO CURSOR tQuery
>>
>>SELECT tQuery
>>LOCATE
>>
>>now when the query runs it asks me to locate v_mAccounts.DBF. How can I get it to understand that v_mAccounts is a view?
>
>Include the database name:
>
>This.cViewName = "MyDatabase!v_mAccounts"
>
>Tamar
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform