PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل در شماره ردیف جدول



ARFANS
2014/05/20, 23:25
سلام لطفا منو راهنمایی کنید من یک جدول دارم وقتی یک ردیف از جدول را حذف میکنم شماره ردیف هم با هاش حذف میشه ونظم شماره ردیف به هم میخوره من باید چی کار کنم که نظم شماره ردیف به هم نخوره و همیشه از همون شماره یک شروع بشه تا هر چندتا ردیف دارم ادامه پیدا کنه لطفا راهنمایی کنید

mahan77
2014/05/21, 00:30
با سلام
در ستون ردیف از این فرمول استفاده کن: ()row=

علی فاطمی
2014/05/21, 07:08
با سلام
برای راهنمایی کامل فکر کنم به لینک زیر سر بزنی بهتره.
شماره ردیف اتوماتیک (http://forum.exceliran.com/showthread.php?t=1433)

Amir Ghasemiyan
2014/05/21, 08:47
با سلام
در ستون ردیف از این فرمول استفاده کن: ()row=


با سلام
برای راهنمایی کامل فکر کنم به لینک زیر سر بزنی بهتره.
شماره ردیف اتوماتیک (http://forum.exceliran.com/showthread.php?t=1433)

دوستان سوال مربوط به اكسس هست نه اكسل



دوست عزيز منظور شما از شماره رديف همون id هست كه بطور اتومات ساخته ميشه؟

ARFANS
2014/05/21, 09:53
دوستان سوال مربوط به اكسس هست نه اكسل



دوست عزيز منظور شما از شماره رديف همون id هست كه بطور اتومات ساخته ميشه؟

سلام بله منظور من همونه بايد چكار كنم

~M*E*H*D*I~
2014/05/21, 10:07
اون شماره ردیف نیست primary key هست و خاصیت primary key هم همینه که کد رکورد حذف شده به کد دیگه ای تعلق نمیگیره ، در لینک زیر برخی راهکار ها ارائه شده که میتونید استفاده کنید

http://support.microsoft.com/kb/812718

ARFANS
2014/05/21, 10:26
اون شماره ردیف نیست primary key هست و خاصیت primary key هم همینه که کد رکورد حذف شده به کد دیگه ای تعلق نمیگیره ، در لینک زیر برخی راهکار ها ارائه شده که میتونید استفاده کنید

http://support.microsoft.com/kb/812718

تشكر آقاي مدير بابت راهنمايتون

علی فاطمی
2014/05/21, 11:38
دوستان سوال مربوط به اكسس هست نه اكسل



دوست عزيز منظور شما از شماره رديف همون id هست كه بطور اتومات ساخته ميشه؟

عرض پوزش و تشکر از تذکر شما....

ARFANS
2014/05/21, 23:28
سلام آقای مدیر از لینکی که دادید این چیز ها رو پیدا کردم من خودم درست متوجه نشدم لطفا اگر امکانش هست شما کمکم کنید

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.

ARFANS
2014/05/24, 10:46
سلام آقای مدیر از لینکی که دادید این چیز ها رو پیدا کردم من خودم درست متوجه نشدم لطفا اگر امکانش هست شما کمکم کنید

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.



و ما هم چنان منتظر جواب هستيم و منتظر ميمانيم

~M*E*H*D*I~
2014/06/27, 18:10
کافیه ابتدا relationship بین جداول رو برداری بعد فیلد پرایمری کی رو از جدول مورد نظر حذف کنی بعد در قمست کوئی دیزاین یک فیلد اتونامبر دیگه ایجاد کنی و جدول رو ذخیره کنی و بعد دوباره ارتباط بین جداول رو برقرار کنی