home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
MAINDATA.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
1KB
|
28 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include "maindata.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TDMMain *DMMain;
//---------------------------------------------------------------------------
__fastcall TDMMain::TDMMain(TComponent* Owner)
: TDataModule(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TDMMain::tbOrdersCalcFields(TDataSet *DataSet)
{
if (tbOrdersEmployeeFirstName->IsNull)
tbOrdersEmployeeFullName->Value = tbOrdersEmployeeLastName->Value;
else
tbOrdersEmployeeFullName->Value = tbOrdersEmployeeFirstName->Value + ' ' +
tbOrdersEmployeeLastName->Value;
}
//---------------------------------------------------------------------