Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor naming convention
Message
De
10/05/2001 13:52:51
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
10/05/2001 13:08:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00505586
Message ID:
00505897
Vues:
23
>I'll try to find some information about that. I don't remember what the Session class is all about.

Check this out:
CLOSE ALL
USE ( _SAMPLES + "\DATA\CUSTOMER" ) IN 0 AGAIN ALIAS CUSTOMER SHARED
GO TOP
WAIT WINDOW "1>" + CUSTOMER.COMPANY

o1 = CREATEOBJECT( "My_Job" )

WITH o1
   .Run()
ENDWITH

WAIT WINDOW "3>" + CUSTOMER.COMPANY
USE IN CUSTOMER

DEFINE CLASS My_Job AS Session	
PROCEDURE Run
   USE ( _SAMPLES + "\DATA\CUSTOMER" ) IN 0 AGAIN ALIAS CUSTOMER SHARED
   GO TOP
   SKIP 5
   WAIT WINDOW "2>" + CUSTOMER.COMPANY
   USE IN CUSTOMER
ENDDEFINE	
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform