Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server with VFP
Message
De
12/05/2003 05:41:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/05/2003 09:38:43
Atif Saeed Khan
Nextbridge Prvt Ltd.
Lahore, Pakistan
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00787136
Message ID:
00787234
Vues:
26
>Hi all
>
>i have some question
>
>1. which technique is better to develop client server application with VFP SQL Passthrough(Remote Views) or ADO
>
>2. Wut are the merits and demerits of ADO with VFP
>
>3. VFPCOM Utility can be used for converting ADO Recordsets to VFP Cursors, so why not to USE ADODB
>
>4. How to get the User Names and Passwords from SQL server and hows to change the User ID and Password for SQL Server using VFP + ADO
>
>Regards

Hard to answer questions :)

1) No one of them could be said as superior to others under all aspects. I myself generally mix using them. ie: As need arises one piece of app might use RV while others are using SPT and ADO.

2) Generally it's harder to bind and work with ADO in VFP than others. If you're new to this you might even think there is no way to bind ADO.

3) If you'd have a need to convert recordset to VFP cursor and then back to recordset then it's not a good idea to use ADO (IMHO).

4) Use sp_ functions of SQL server (like sp_password, sp_addlogin).

With VFP8 and .NET answering above slightly changes. (ADO seems to be going away slowly and ADO.NET will be the replacement)
Within VFP8 CursorAdapter class, XML* class makes it fairly easy to work with either SPT or ADO using native controls.
In summary use whichever you can master best.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform