Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Data Environment
Message
De
11/03/1997 23:34:24
 
 
À
11/03/1997 08:25:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00023584
Message ID:
00023832
Vues:
24
>>>In the Data Environemnt designer, if you "right click"
>>>on a field, there is an option on the menu called "code"
>>>That option opens the vfp editor. In the vfp editor,
>>>the object is named "Cursor1" and the Procedure is named
>>>"ResettoDefault". What is this used for?
>>
>>It takes you to the methods of the cursor, same as double clicking on the cursor.
>
>I am still a little new and I am not sure how or when I would use this?
>
>another question...
>I want to change the data environment after a query. How would I do
>that?


You have first to close the tables,modify dataenvironment then reopen the tables for example:

with thisform.dataenvironment
.closetables
.addobject('cursor1','cursor')
.cursor1.alias='Customer'
.cursor1.cursorsource='Customer'
.cursor1.order="Code"
.cursor1.filter='.not. deleted()'
.cursor1.database='c:\vfp5\.....'
.opentables
endwith
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform