错误13 [英] Error 13
本文介绍了错误13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
早上好,
在我的数据库中,我允许用户按照他们确定的排序顺序将问题移到某个地方。要找出他们想要移动问题的号码,我正在使用输入框。
我有以下内容:
Good Morning,
In my database I allow the user to move questions to a place in a sort order they determine it should be. To find out what number they want to move the question to I am using an input box.
I have the following:
展开 | 选择 | Wrap | 行号
推荐答案
早上好,
在我的数据库中,我允许用户按照他们确定的排序顺序将问题移到某个地方。要找出他们想要移动问题的号码,我正在使用输入框。
我有以下内容:
Good Morning,
In my database I allow the user to move questions to a place in a sort order they determine it should be. To find out what number they want to move the question to I am using an input box.
I have the following:
展开 | 选择 | Wrap | 行号
嗨。这不是一个错误,你必须陷阱。 Inputbox返回一个字符串。如果用户按下取消,则返回零长度字符串。不能分配给整数。这样做
Hi. It is not an error that you have to trap. The Inputbox returns a string. If the user presses Cancel it returns a zero length string "" which cannot be assigned to an integer. So do this
展开 | 选择 | Wrap | 行号
OK..that working。虽然现在用户可以输入1.1作为排序编号(仅需要整数)。我确实有一行代码可以防止这种情况发生,但如果我使用它,它会捕获整数并告诉我我不能使用它们。
OK..that worked. Although now the users can enter 1.1 as the sort number (want whole numbers only). I did have a line of code that seemed to have kept that from happening, but if I use it, it catches whole numbers and tells me that I can''t use them.
展开 | 选择 | Wrap | 行号
这篇关于错误13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文