请教各位高手一个菜单的问题
真心求教。请问各位高手,菜单中的过程里能不能写这些代码程序代码:
SELECT DISTINCT bsc号 FROM zongku INTO CURSOR ab1 thisform.pageframe1.page2.list1.RowSource=2 thisform.pageframe1.page2.list1.rowSource="ab1" thisform.pageframe1.page2.list1.Value="" thisform.pageframe1.page2.list2.rowSource="" thisform.pageframe1.page2.label10.Caption="待查询" thisform.pageframe1.page2.label11.Caption="待查询" thisform.pageframe1.page2.label12.Caption="待查询" thisform.pageframe1.page2.label13.Caption="待查询" thisform.pageframe1.page2.label14.Caption="待查询" thisform.pageframe1.page2.label15.Caption="待查询" thisform.pageframe1.page2.label16.Caption="待查询" thisform.pageframe1.page2.label17.Caption="待查询" thisform.pageframe1.ActivePage=2如果不能,那怎么样才能实现点击菜单后像按键一样执行以上代码。真心求教!