谢谢!
解决方案 »
- [求助]急急急,485串口通过Lan口出来接PC Lan口通信的问题。
- VB class 与 type 的 问题
- vb中如何模拟CTRL+"+"操作?
- 怎样在datagrid中添加一列,列的内容是自动生成的编号1,2,3。。。(解决就揭帖)
- 图片技术,请各位大虾帮忙了
- 用什么控件好?
- (急求)判断日期/时间型字段为空的方法
- 打印api高手过来,完全解决500分以上,window2000下自写议纸张及进纸问题(printer方法)
- win98风格的MDI怎样才能才成变得像XP风格的MDI,分数不够我可以加!!
- VB动态创建WebBrowser控件
- 運行VB程式時﹐如何讓它出現在IE中???
- 两属性的 区别?
Set MSAccess = New Access.Application MSAccess.OpenCurrentDatabase (App.Path & "\你的数据库") MSAccess.DoCmd.OpenReport "你的报表", acViewNormal MSAccess.CloseCurrentDatabase Set MSAccess = Nothing
你好,我按照你说去做的时候,点击运行时,系统说编译无效,用户定义类型未定义!
请详细的告诉我,好吗?拜托,多谢!
Dim strCnn As String ' Open the data connection
' Set cnn1 = New ADODB.Connection
' strCnn = "Provider=MSDASQL;Persist Security Info=False;Data Source=Xtreme Sample Database;Mode=Read"
' cnn1.Open strCnn ' Create a new instance of an ADO command object
Set datcmd1 = New ADODB.Command
Set datcmd1.ActiveConnection = cnnCMMS
datcmd1.CommandText = "Customer"
datcmd1.CommandType = adCmdTable ' Add the datasource to the report
m_RePort.Database.AddADOCommand cnnCMMS, datcmd1
' Add a new field object to the report and set the field object to use
' the new data source.
Set fld = m_RePort.Section3.AddFieldObject("{ado.Customer Name}", 0, 0)