Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prepare C/S app for VFP8.
Message
From
22/10/2002 08:48:11
Walter Meester
HoogkarspelNetherlands
 
 
To
07/10/2002 15:51:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00707676
Message ID:
00713815
Views:
21
Thanks all. I'll investigate this into depth how this applies to my current VFP 7 project.

Walter,

>I don't know of any special resources for migrating from VFP 7 to VFP 8.
>
>A feature new to VFP 8 that may help is the DataEnvironment can now be classed. So I'm thinking that you can architect your current system ensuring that all cursors and data logic is in the DE and then, in 8, engineer a new DE with CursorAdpators using the same cursor names and swap it in at dev-time.
>
>Here's some info from the VFP 8 help file on CAs:
>-----------------------------
>Provides a class of extended cursors that offers support for handling a wide range of local or remote data sources as native Visual FoxPro Cursors. These data source types include the following:
>
>Native
>Open Database Connectivity (ODBC)
>ActiveX Data Object (ADO)
>Extensible Markup Language (XML)
>-----------------------------
>
>Here are the PEMs:
>-----------------------------
>The following properties, methods, and events support extended cursor functionality and the use of data sources at the data environment and CursorAdapter level.
>
>Properties
>Alias AllowDelete AllowInsert
>AllowUpdate Application BaseClass
>BatchUpdateCount BufferModeOverride Class
>ClassLibrary Comment CompareMemo
>ConversionFunc CursorSchema CursorStatus
>DataSource DataSourceType DeleteCmd
>DeleteCmdDataSource DeleteCmdDataSourceType UpdateGram
>FetchAsNeeded FetchMemo FetchSize
>Flags InsertCmd InsertCmdDataSource
>InsertCmdDataSourceType KeyFieldList MaxRecords
>Name Parent ParentClass
>Prepared SelectCmd SendUpdates
>Tables Tag UpdateCmd
>UpdateCmdDataSource UpdateCmdDataSourceType UpdatableFieldList
>UpdateNameList UpdateType UseDeDataSource
>UseMemoSize WhereType
>
>Methods
>AddProperty AutoOpen CursorAttach
>CursorDetach CursorFill CursorRefresh
>ReadExpression ReadMethod ResetToDefault
>WriteExpression
>
>Events
>AfterCursorAttach AfterCursorClose AfterCursorDetach
>AfterCursorFill AfterCursorRefresh AfterCursorUpdate
>AfterDelete AfterInsert AfterUpdate
>BeforeCursorAttach BeforeCursorClose BeforeCursorDetach
>BeforeCursorFill BeforeCursorRefresh BeforeCursorUpdate
>BeforeDelete BeforeInsert BeforeUpdate
>Destroy Error Init
>------------------------------
>
>
>
>
>
>
>
>>
>>I'm rewriting an 1 tier app into C/S in VFP 7. The application should work with both local data as remote data as transparent as possible. Therefore I decided to use (remote and local) views where possible for accessing the data. For the cases where SPT is required there is code written to handle those cases. So basicly the app is both 1 tier as 2 tier (classic C/S).
>>
>>Since, I don't own a copy of VFP 8 beta, I cannot determine the best strategy to take advantage of the cursor adapter class when this project is build in VFP 8.
>>
>>Are there special considerations in order to make a VFP 7 to VFP 8 transitions as smooth as possible ? Could you tell more about the advantages of using the cursor adapter class ?
>>
>>Walter,
>>
>>
>>
>>>Hi Walter,
>>>
>>>Good question. Can you provide more details? Is this traditional 2-tier C/S or n-tier?
>>>
>>>
>>>>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform