删除记录排列记录 [英] Delete Record Arrange Records

查看:84
本文介绍了删除记录排列记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个数据库,我删除了一条记录。

假设

我有记录1,2,3 ,4,5,6,7

我删除没有5现在我的记录会出现1,2,3,4,6,7

但我想重新排列他们通过1,2,3,4,5,6

Thanx

Hi all,
I have a database and i have deleted a record.
Suppose
I have records 1,2,3,4,5,6,7
And i delete no 5 now my record will appear 1,2,3,4,6,7
But i want to rearrange them by 1,2,3,4,5,6
Thanx

推荐答案

只需按顺序排列它们然后再回到开始,从1开始并从1到x重新编号,直到你到达记录的末尾。你在使用db的数据控件吗? ..如果这样生病了一个例子
just arrange them in number order then go back to the beginning, start from 1 and re-number them from 1 to x until you get to the end of the records. Are you using a data control with a db? .. if so ill chuck up an example



只按顺序排列它们然后回到开头,从1开始重新开始 - 从1到x的数字,直到你到达记录的末尾。你在使用db的数据控件吗? ..如果这样生病了一个例子
just arrange them in number order then go back to the beginning, start from 1 and re-number them from 1 to x until you get to the end of the records. Are you using a data control with a db? .. if so ill chuck up an example



Thanx

但是你能给我一个例子我该怎么做。

我使用vb6和ADODC

thanx

Thanx
But can you give me an example how can i do this .
I m using vb6 and ADODC
thanx


假设有几件事......

Assuming a couple of things ...

展开 | 选择 | Wrap | 行号


这篇关于删除记录排列记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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