可以限制桌子的大小吗? [英] Is it possible Limit size of table?

查看:99
本文介绍了可以限制桌子的大小吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在创建表时可以配置表的大小
就像我们对数组的上限(例如1到100)进行操作一样.

我问的原因是因为我正在寻找一种制作演示程序的方法
除了时间限制或程序已运行的次数等.

如果我可以在设计时设置表中的最大数据量,那将很整齐
然后在需要时关闭此功能.

如果答案是否定的,那么请您提供一些真实的建议,替代方法和指导,这将是很好的.

在此先感谢

on creation of a table is it possible to configure the size of the table
like we do with an array upper bounds , say 1 to 100.

The reason I ask is because I''m looking at a ways of making a demo program
other than time limited or number of times program has been run etc.

would be neat if i could just set the max amount of data in a table at design time
and then switch off this feature when required.

If the answer is NO, It would be nice if you could actualy offer up some real suggestions, alternative approaches, guidance please.

thanks in advance

推荐答案

Here[^] a way to do that.


CPallini解决方案非常好.它显示了一种使用数据库定义解决问题的方法.

我认为,您可以以编程方式进行操作.每当用户将每条记录添加到数据库时,只需检查recordcount.简单吗?
CPallini solution is very good. It shows a way to achieve the problem using database definition.

I think, you can do it programmatically. Each time, when user will add every single record to the database, just check the recordcount. Simple?


这篇关于可以限制桌子的大小吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆