Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prepare C/S app for VFP8.
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00707676
Message ID:
00709639
Views:
14
Mark,

How about locking particular record(s) just like RLOCK() when manipulating DBFs?

>>Hi john,
>>
>>O.K. I've got a question.
>>
>>I'm busy writing a C/S app in VFP 7. Since it won't be released before early next year, I guess I want to take advantage of the features of VFP 8.
>>
>>One of the features I really like is the Cursor adapter class. Now the question is how to prepare my VFP 7 project so that when using the cursor adapterclass it takes the least amount of effort to implement this.
>>
>>Any thoughts ?
>>
>>Walter,
>
>In addition to being able to sub-class the DE, I have started to experiment with the Cursor Adaptor, and I think you are going to really like it. Basically what you will do is replace each cursor [remote view] in the DE with a cursor adaptor. These adaptors have properties that you populate to indicate what shared connection handle to use, what the SQL is to retrieve the data, as well as properties to store the SQL needed to perform an INSERT, UPDATE or DELETE. There are also associated logical properties called AllowDelete, AllowInsert, AllowUpdate. You also specify the name of the cursor in the Alias property. So when you issue a tableupdate on the cursor, the SQL in the InsertCmd, UpdateCmd and DeleteCmd properties is used if the associated Allow properties are true.
>
>I have only touched on a few of the properties of the adaptor, but there are many others that you would use to control how data is posted back to the server.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform