Or modify the views in View Designer, then go to menu\Query\Advanced Options and check Share Connection.
>Sounds like your connection in your remote views is no longer shared. Here is some code to run to make sure this property is set:
>lnRetVal = adbobjects(laViews, 'View')
>for i = 1 to lnRetVal
> if upper(dbgetprop(laViews[i], 'view', 'connectname')) = 'CONNECTION_NAME_HERE'
> DBSetProp(laViews[i], 'View', 'ShareConnection', .T.)
> endif
>endfor
>
>
>>Greetings to all;
>>
>>In this occasion I want to consult yours something that I find quite strange and one doesn't eat to avoid.
>>
>>I am developing an application based on remote views on AS400; everything was working well in the Version 6 but from yesterday that was installed on my PC the version 7; I cannot usually run the forms because if the form is formed by several views and every time that it will run a view the system asks me to make login in AS400 to be able to run it.
>>
>>Why this was working good with VFP 6 and now with VFP 7; I got this problem?
>>
>>How can I solve this situation?
>>
>>TIA
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison