مشکل در شماره ردیف جدول

Collapse
X
 
  • زمان
  • نمایش
حذف همه
new posts
  • ARFANS

    • 2014/05/04
    • 22

    مشکل در شماره ردیف جدول

    سلام لطفا منو راهنمایی کنید من یک جدول دارم وقتی یک ردیف از جدول را حذف میکنم شماره ردیف هم با هاش حذف میشه ونظم شماره ردیف به هم میخوره من باید چی کار کنم که نظم شماره ردیف به هم نخوره و همیشه از همون شماره یک شروع بشه تا هر چندتا ردیف دارم ادامه پیدا کنه لطفا راهنمایی کنید
  • mahan77

    • 2012/02/23
    • 24
    • 60.00

    #2
    با سلام
    در ستون ردیف از این فرمول استفاده کن: ()row=
    [FONT=impact][B][FONT=comic sans ms]
    [B][B]*** [SIZE=5]از طوفان که درآمدی دیگر همان آدمی نخواهی بود که به طوفان پا نهادی. معنی طـــوفــــان همین است[/SIZE] ***[/B][/B]

    راه سلامتی از دل طبیعت، باغ دارو [/FONT][/B][/FONT]

    کامنت

    • علی فاطمی

      • 2014/02/17
      • 523
      • 51.00

      #3
      با سلام
      برای راهنمایی کامل فکر کنم به لینک زیر سر بزنی بهتره.
      شماره ردیف اتوماتیک
      [FONT=tahoma][SIZE=2][B][COLOR=#800080][SIZE=3]در دنیا فقط یک نفر وجود دارد که باید از او بهتر باشید و آن کسی نیست جز گذشته خودتان[/SIZE] [/COLOR][/B][/SIZE][/FONT]


      [CENTER][SIZE=7][FONT=franklin gothic medium][/FONT] [/SIZE]
      [/CENTER]

      کامنت

      • Amir Ghasemiyan

        • 2013/09/20
        • 4598
        • 100.00

        #4
        نوشته اصلی توسط mahan77
        با سلام
        در ستون ردیف از این فرمول استفاده کن: ()row=
        نوشته اصلی توسط علی فاطمی
        با سلام
        برای راهنمایی کامل فکر کنم به لینک زیر سر بزنی بهتره.
        شماره ردیف اتوماتیک
        دوستان سوال مربوط به اكسس هست نه اكسل



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

        کامنت

        • ARFANS

          • 2014/05/04
          • 22

          #5
          نوشته اصلی توسط amir ghasemiyan
          دوستان سوال مربوط به اكسس هست نه اكسل



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

          کامنت

          • ~M*E*H*D*I~
            • 2011/10/19
            • 4377
            • 70.00

            #6
            اون شماره ردیف نیست primary key هست و خاصیت primary key هم همینه که کد رکورد حذف شده به کد دیگه ای تعلق نمیگیره ، در لینک زیر برخی راهکار ها ارائه شده که میتونید استفاده کنید

            [CENTER]
            [SIGPIC][/SIGPIC]
            [/CENTER]

            کامنت

            • ARFANS

              • 2014/05/04
              • 22

              #7
              نوشته اصلی توسط ~M*E*H*D*I~
              اون شماره ردیف نیست primary key هست و خاصیت primary key هم همینه که کد رکورد حذف شده به کد دیگه ای تعلق نمیگیره ، در لینک زیر برخی راهکار ها ارائه شده که میتونید استفاده کنید

              http://support.microsoft.com/kb/812718
              تشكر آقاي مدير بابت راهنمايتون

              کامنت

              • علی فاطمی

                • 2014/02/17
                • 523
                • 51.00

                #8
                نوشته اصلی توسط amir ghasemiyan
                دوستان سوال مربوط به اكسس هست نه اكسل



                دوست عزيز منظور شما از شماره رديف همون id هست كه بطور اتومات ساخته ميشه؟
                عرض پوزش و تشکر از تذکر شما....
                [FONT=tahoma][SIZE=2][B][COLOR=#800080][SIZE=3]در دنیا فقط یک نفر وجود دارد که باید از او بهتر باشید و آن کسی نیست جز گذشته خودتان[/SIZE] [/COLOR][/B][/SIZE][/FONT]


                [CENTER][SIZE=7][FONT=franklin gothic medium][/FONT] [/SIZE]
                [/CENTER]

                کامنت

                • ARFANS

                  • 2014/05/04
                  • 22

                  #9
                  سلام آقای مدیر از لینکی که دادید این چیز ها رو پیدا کردم من خودم درست متوجه نشدم لطفا اگر امکانش هست شما کمکم کنید

                  To do this in Microsoft Office Access 2007 or in a later version, follow these steps:

                  1. Delete the AutoNumber field from the main table, and note the AutoNumber field name.
                  2. Click the Create tab, and then click Query Design in the Other group.
                  3. In the Show Table dialog box, select the main table. Click Add, and then click Close.
                  4. Double-click the required fields in the table view of the main table to select the fields.
                  5. Select the required Sort order.
                  6. On the Design tab, click Make Table in the Query Type group.
                  7. Type the new table name in the Table Name box, and then click OK.
                  8. On the Design tab, click Run in the Results group.
                  9. When you are prompted by the "You are about to paste # row(s) into a new table" message, click Yes to insert the rows.
                  10. Close the query.
                  11. Right-click the new table, and then click Design View.
                  12. 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.
                  13. Close the Design view window.
                  14. Rename the main table, and then rename the new table to match the main table name.

                  کامنت

                  • ARFANS

                    • 2014/05/04
                    • 22

                    #10
                    نوشته اصلی توسط ARFANS
                    سلام آقای مدیر از لینکی که دادید این چیز ها رو پیدا کردم من خودم درست متوجه نشدم لطفا اگر امکانش هست شما کمکم کنید

                    To do this in Microsoft Office Access 2007 or in a later version, follow these steps:

                    1. Delete the AutoNumber field from the main table, and note the AutoNumber field name.
                    2. Click the Create tab, and then click Query Design in the Other group.
                    3. In the Show Table dialog box, select the main table. Click Add, and then click Close.
                    4. Double-click the required fields in the table view of the main table to select the fields.
                    5. Select the required Sort order.
                    6. On the Design tab, click Make Table in the Query Type group.
                    7. Type the new table name in the Table Name box, and then click OK.
                    8. On the Design tab, click Run in the Results group.
                    9. When you are prompted by the "You are about to paste # row(s) into a new table" message, click Yes to insert the rows.
                    10. Close the query.
                    11. Right-click the new table, and then click Design View.
                    12. 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.
                    13. Close the Design view window.
                    14. Rename the main table, and then rename the new table to match the main table name.
                    و ما هم چنان منتظر جواب هستيم و منتظر ميمانيم

                    کامنت

                    • ~M*E*H*D*I~
                      • 2011/10/19
                      • 4377
                      • 70.00

                      #11
                      کافیه ابتدا relationship بین جداول رو برداری بعد فیلد پرایمری کی رو از جدول مورد نظر حذف کنی بعد در قمست کوئی دیزاین یک فیلد اتونامبر دیگه ایجاد کنی و جدول رو ذخیره کنی و بعد دوباره ارتباط بین جداول رو برقرار کنی
                      [CENTER]
                      [SIGPIC][/SIGPIC]
                      [/CENTER]

                      کامنت

                      چند لحظه..