Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic VFP Forms For SQL Server
Message
From
06/01/1997 23:25:15
 
 
To
06/01/1997 08:54:33
General information
Forum:
Visual FoxPro
Category:
User groups
Miscellaneous
Thread ID:
00016526
Message ID:
00016596
Views:
34
>>We have problem creating our forms based on back-end datasource.
>>Our setup...
>> Back-end : SQL Server 6.5, Contains table(s) and view(s).
>>Front-end : Visual Foxpro 5.0, Contains Remote View(s) based on SQL
>>
>> At SQL end users have access to tables/views and some of users have access
>>to some specific fields only whereas the forms are accessible to all users.
>>We have noticed that if user does not have permission to any one of the fields
>>SQL returns an error.
>>
>>How can we dynamically modify our view at run time, depending on what fields
>>user can see, without changing the original view.
>
>I guess you should use different view definitions (try to do it programmatically using e.g. CURSORSETPROP()) for different users depending on their security status (could be implemented as individual/group user accounts for VFP app).

Thanx for the response,
I have tried CURSORSETPROP but it does't work because the users has either full rights or part rights to the table at the back-end. So i am looking for a method by which i can select only those fields to which user is having rights.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform