主题:怎样使用用户定义的数据类型Type..........end Type
Type Student
name As String
Birthday As Date
Address As String
End Type
----------------------------------------------------------------------------
Private Sub Form_Click()
Private Firstudent As Student
Firstudent.Name = "小华"
Firstudent.Birthday = #1/1/1983#
Firstudent.Address = "中关村大街26号"
End Sub
-----------------------------------------------------------------------------
在运行时出现“在私有对象模块中不能定义Publicd的用户定义类型”
兄弟姐妹们帮帮忙忙啊
我在此谢谢大家了
name As String
Birthday As Date
Address As String
End Type
----------------------------------------------------------------------------
Private Sub Form_Click()
Private Firstudent As Student
Firstudent.Name = "小华"
Firstudent.Birthday = #1/1/1983#
Firstudent.Address = "中关村大街26号"
End Sub
-----------------------------------------------------------------------------
在运行时出现“在私有对象模块中不能定义Publicd的用户定义类型”
兄弟姐妹们帮帮忙忙啊
我在此谢谢大家了