Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Add a Cursor to DataEnvironment programatically?
Message
De
06/02/2004 06:33:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00874222
Message ID:
00874760
Vues:
27
This message has been marked as the solution to the initial question of the thread.
>I'd like to Add a cursor to a DataEnvironment's form, without hacking the SCX table, is it possible?
>I'm creating a Form, adding controls, writing methods, but i need to add cursor to the dataEnvironment...

You mean this ?
Modify Form myDETest NoWait
aselobj(aObj,2)
With aObj[1]
  .AddObject('myEmployee','cursor')
  .AddObject('myOrders','cursor')
  With .myEmployee
    .Database = Sys(5)+Curdir()+'testdata.dbc'
    .CursorSource = 'employee'
  endwith 
  With .myOrders
    .Database = Sys(5)+Curdir()+'testdata.dbc'
    .CursorSource = 'orders'
    .Order = 'emp_id'
  EndWith
endwith 
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