i want to store all employee related info under a single object called oEmp...
oEmp.Name
oEmp.Address
oEmp.Email
how do i achieve this in eVB ?
Printable View
i want to store all employee related info under a single object called oEmp...
oEmp.Name
oEmp.Address
oEmp.Email
how do i achieve this in eVB ?
eVB??
In VBA/VB you can declare a type
VB Code:
Type AllData name as string dob as date ismale as boolean end type
Then you declare a variable of type AllData, and you can set the internal properties
VB Code:
dim AData as AllData AllData.name = "The Name" AllData.dob = cdate("01 Jan 2000") AllData.ismale = true
Or something like that.
Is that what you were thinking of?
Vince
for Pocket PC development.