关于全局变量的放置
我在用VB开发一个系统的时候用到了以下定义的全局变量,但是我不知道应该把它放在代码段的哪里??请大侠告诉我
还有就是添加一个过程的时候是不是就把过程代码放在控件Sub上面,然后用控件Sub调用上面自己添加的过程啊???
Option Explicit
Public db As Database
Public rs1 As Recordset, rs2 As Recordset, rs3 As Recordset, rs4 As Recordset
Public mingxi As Boolean, fileopen As Boolean, addrecord As Boolean, modifyrecord As Boolean
Public ingid As Sting
Public managedata As Boolean, cmdi As Boolean, endmingxi As Boolean