设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: oceanfloor
打印 上一主题 下一主题

一个简单的问题

[复制链接]
11#
发表于 2003-3-7 20:06:00 | 只看该作者
在模块前面补上试试,有问题再试。
Private Type str_PRTMIP
    strRGB As String * 28
End Type

Private Type type_PRTMIP
    xLeftMargin As Long
    yTopMargin As Long
    xRightMargin As Long
    yBotMargin As Long
    fDataOnly As Long
    xWidth As Long
    yHeight As Long
    fDefaultSize As Long
    cxColumns As Long
    yColumnSpacing As Long
    xRowSpacing As Long
    rItemLayout As Long
    fFastPrint As Long
    fDatasheet As Long
End Type
12#
 楼主| 发表于 2003-3-7 21:06:00 | 只看该作者
我把抄来后,总是提示DoCmd.OpenReport strReportName, acViewDesign出错,请这是为何
13#
发表于 2003-3-7 21:22:00 | 只看该作者
试了一下,没有问题,你退出ACCESS后再试试,我是在debug窗口直接调的,会不会你的报名已打开,或者你在MDE中用该语句。
ps.刚才的我传的TYPE定义与作者不一样,正确如下,这个该死的作者修改了微软给的属性名。

Private Type str_PRTMIP
'strRGB As String * 28
RGB As String * 28
End Type

Private Type type_PRTMIP
xLeftMargin As Long
yTopMargin As Long
xRightMargin As Long
yBottomMargin As Long
fDataOnly As Long
xWidth As Long
yHeight As Long
fDefaultSize As Long
cxColumns As Long
yColumnSpacing As Long
xRowSpacing As Long
rItemLayout As Long
fFastPrint As Long
fDatasheet As Long
End Type
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-11-15 01:15 , Processed in 0.075434 second(s), 24 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表