Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit command
Message
De
08/03/2006 03:30:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Edit command
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01102333
Message ID:
01102333
Vues:
58
hi all,

i have cmd1 as addnew and cmd2 asedit at the same form,
i try to make edit as under i get error message bookno not found
Select sticket,eticket,NOOFTICKET,BOXNO,shipno,trans_type from trans1 ;
 WHERE UPPER(shipno)=ALLTRIM(thisform.text1.Value) ;
   into cursor csrmyCursor readwrite 
   SELECT csrmyCursor
   With thisform.Grid1
 .RecordSource = "csrmyCursor"
.Columncount = 7
  .Column1.ControlSource = "csrMyCursor.bookno"
  .Column2.ControlSource = "csrMyCursor.sticket"
  .Column3.ControlSource = "csrMyCursor.eticket"
  .Column4.ControlSource = "csrMyCursor.noofticket"
  .Column5.ControlSource = "csrMyCursor.boxno"
  .Column6.ControlSource = "csrMyCursor.shipno"
  .Column7.ControlSource = "csrMyCursor.trans_type"
      .Refresh() 
ENDWITH
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform