Mar*_*k C 17 ms-access vba ms-access-2010
我在MS-Access 2010中工作,我正在尝试查看在VBA代码中定义的变量,它已经达到了一个断点.监视窗口中Watches窗口中的值文本框具有设置大小的问题,换句话说,如果值为long,则在Watches窗口中切断值
如何查看变量中的整个值?
end*_*and 23
最好使用中间窗口.出于这个原因,我经常使用SQL查询执行此操作.
要显示此信息,请使用"视图 - >中间窗口"(或Control + G).
然后使用如下语法:
debug.print "This is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long stringThis is a really long string"
Run Code Online (Sandbox Code Playgroud)
您可以选择并复制/粘贴中间窗口或滚动查看整个变量.
请注意,中间窗口不会自动清除,但您可以选择所有内容并随时删除它.
| 归档时间: |
|
| 查看次数: |
10174 次 |
| 最近记录: |