Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Dropdown List setting off change in buffered t
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01310572
Message ID:
01310575
Vues:
9
It makes changes to the bufffered table, but doesn't commit.

Here's the Form Init:
WITH THISFORM
   .cTable = THISFORM.grdProduction.RECORDSOURCE && Used in Delete and Recall buttons.
   .txtSearch1.VISIBLE = .F.
   .txtSearch2.VISIBLE = .F.
   SET MULTILOCKS ON
   SELECT (.cTable)	&& Projects table.
   LOCATE	&& Takes you to first record faster than GOTO TOP.
   * Determine the current shift for the manual entry.
   .nShift001=ALLTRIM(STR(INT((VAL(LEFT(TIME(),2))-3)/8)))
   .nShift001=IIF(VAL(.nShift001) < 0, "2", .nShift001)
   .cDate=DTOC(DATE())	&& Init today's date, if needed for a new record.
   .nSerial=1	&& Init the Serial # for Manual entries.
   *** 04/11/2008 Cecil. We must initialize here, so that we don't cause the
   *** table to change.
   .cboPort.ControlSource   ="Production.Port"
   .cboDistrib.ControlSource="Production.Distrib"
   *** 04/11/2008 Cecil. End.
   .IsDeleted()
   .lblModeStatus.CAPTION = "EDIT MODE"	&& Tells user what mode he is in.
   .lblDateTime.CAPTION = DTOC(DATETIME())
   .txtOperatorName.REFRESH()
   .txtEmpName.REFRESH()
   .cntSearch.Width = 186
   .CountRecs()
ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform