新手求温暖
vb吧
全部回复
仅看楼主
level 4
n=ubound(stu)
redim stu(n+1)
为什么要n+1啊
2015年05月08日 07点05分 1
吧务
level 13
2句代码给谁看?
2015年05月08日 07点05分 2
Private type student record Stunum as string Names. As string Chinese as integer End type Dim stu() as student record Private sub command1_click N=uboumd(stu) Redim stu(n+1) With stu(n+1) .stunum=text1(0).text .names=text1(1).text .......... End with Text1(0).setfocus
2015年05月08日 07点05分
省略的代码就是赋值和显示的作用,用手机输太累l
2015年05月08日 07点05分
level 4
Private type student record
Stunum as string
Names. As string
Chinese as integer
End type
Dim stu() as student record
Private sub command1_click
N=uboumd(stu)
Redim stu(n+1)
With stu(n+1)
.stunum=text1(0).text
.names=text1(1).text
..........
End with
Text1(0).setfocus
2015年05月08日 07点05分 3
吧务
level 13
command1应该是添加按钮,+1是为了添加一个数据
2015年05月08日 07点05分 4
可以不加1嘛
2015年05月08日 07点05分
回复
��������ֻ��
:不+1怎么增加数据
2015年05月08日 07点05分
回复
�����ɷ�12
:能加个qq或者微信嘛
2015年05月08日 07点05分
回复
��������ֻ��
:794780360企鹅
2015年05月08日 07点05分
level 11
是为了数组加一项,不过没有关键字前面的数据会丢哦[滑稽]
2015年05月08日 09点05分 5
1