سلام لطفا منو راهنمایی کنید من یک جدول دارم وقتی یک ردیف از جدول را حذف میکنم شماره ردیف هم با هاش حذف میشه ونظم شماره ردیف به هم میخوره من باید چی کار کنم که نظم شماره ردیف به هم نخوره و همیشه از همون شماره یک شروع بشه تا هر چندتا ردیف دارم ادامه پیدا کنه لطفا راهنمایی کنید
مشکل در شماره ردیف جدول
Collapse
X
-
با سلام
در ستون ردیف از این فرمول استفاده کن: ()row=[FONT=impact][B][FONT=comic sans ms]
[B][B]*** [SIZE=5]از طوفان که درآمدی دیگر همان آدمی نخواهی بود که به طوفان پا نهادی. معنی طـــوفــــان همین است[/SIZE] ***[/B][/B]
راه سلامتی از دل طبیعت، باغ دارو [/FONT][/B][/FONT] -
[FONT=tahoma][SIZE=2][B][COLOR=#800080][SIZE=3]در دنیا فقط یک نفر وجود دارد که باید از او بهتر باشید و آن کسی نیست جز گذشته خودتان[/SIZE] [/COLOR][/B][/SIZE][/FONT]
[CENTER][SIZE=7][FONT=franklin gothic medium][/FONT] [/SIZE]
[/CENTER]کامنت
-
دوست عزيز منظور شما از شماره رديف همون id هست كه بطور اتومات ساخته ميشه؟کامنت
-
اون شماره ردیف نیست primary key هست و خاصیت primary key هم همینه که کد رکورد حذف شده به کد دیگه ای تعلق نمیگیره ، در لینک زیر برخی راهکار ها ارائه شده که میتونید استفاده کنید
[CENTER]
[SIGPIC][/SIGPIC]
[/CENTER]کامنت
-
اون شماره ردیف نیست primary key هست و خاصیت primary key هم همینه که کد رکورد حذف شده به کد دیگه ای تعلق نمیگیره ، در لینک زیر برخی راهکار ها ارائه شده که میتونید استفاده کنید
http://support.microsoft.com/kb/812718کامنت
-
[FONT=tahoma][SIZE=2][B][COLOR=#800080][SIZE=3]در دنیا فقط یک نفر وجود دارد که باید از او بهتر باشید و آن کسی نیست جز گذشته خودتان[/SIZE] [/COLOR][/B][/SIZE][/FONT]
[CENTER][SIZE=7][FONT=franklin gothic medium][/FONT] [/SIZE]
[/CENTER]کامنت
-
سلام آقای مدیر از لینکی که دادید این چیز ها رو پیدا کردم من خودم درست متوجه نشدم لطفا اگر امکانش هست شما کمکم کنید
To do this in Microsoft Office Access 2007 or in a later version, follow these steps:
- Delete the AutoNumber field from the main table, and note the AutoNumber field name.
- Click the Create tab, and then click Query Design in the Other group.
- In the Show Table dialog box, select the main table. Click Add, and then click Close.
- Double-click the required fields in the table view of the main table to select the fields.
- Select the required Sort order.
- On the Design tab, click Make Table in the Query Type group.
- Type the new table name in the Table Name box, and then click OK.
- On the Design tab, click Run in the Results group.
- When you are prompted by the "You are about to paste # row(s) into a new table" message, click Yes to insert the rows.
- Close the query.
- Right-click the new table, and then click Design View.
- In the Design view for the table, add an AutoNumber field that has the same field name that you deleted in step 1. Add this AutoNumber field to the new table, and then save the table.
- Close the Design view window.
- Rename the main table, and then rename the new table to match the main table name.
کامنت
-
سلام آقای مدیر از لینکی که دادید این چیز ها رو پیدا کردم من خودم درست متوجه نشدم لطفا اگر امکانش هست شما کمکم کنید
To do this in Microsoft Office Access 2007 or in a later version, follow these steps:
- Delete the AutoNumber field from the main table, and note the AutoNumber field name.
- Click the Create tab, and then click Query Design in the Other group.
- In the Show Table dialog box, select the main table. Click Add, and then click Close.
- Double-click the required fields in the table view of the main table to select the fields.
- Select the required Sort order.
- On the Design tab, click Make Table in the Query Type group.
- Type the new table name in the Table Name box, and then click OK.
- On the Design tab, click Run in the Results group.
- When you are prompted by the "You are about to paste # row(s) into a new table" message, click Yes to insert the rows.
- Close the query.
- Right-click the new table, and then click Design View.
- In the Design view for the table, add an AutoNumber field that has the same field name that you deleted in step 1. Add this AutoNumber field to the new table, and then save the table.
- Close the Design view window.
- Rename the main table, and then rename the new table to match the main table name.
کامنت
-
کافیه ابتدا relationship بین جداول رو برداری بعد فیلد پرایمری کی رو از جدول مورد نظر حذف کنی بعد در قمست کوئی دیزاین یک فیلد اتونامبر دیگه ایجاد کنی و جدول رو ذخیره کنی و بعد دوباره ارتباط بین جداول رو برقرار کنی
[CENTER]
[SIGPIC][/SIGPIC]
[/CENTER]کامنت
کامنت