السلام عليكم
المطلوب طريقة لعد الارقام فى الخلية numberx عند كتابة فى اول خلية مثلا 500 يزيد فى الخاليا التالية 1 الى اخر السجل لتصبح
اول خلية تم كتابتها 500
501
502
503 الى اخر السجل
وطريقة فى الخلية Serial عند كتابة مثلا اى كتابه يتم تكرارها فى الخلايا التالية الى اخر سجل
و شكراً مقدماً
test22.rar
اذا قصدك تدخل البيانات مباشرة في اول حقل من اول سجل مباشرة
.
فيصبح الكود:
Private Sub Numberx_AfterUpdate()
'
'Access looks at it this way:
'user 1 = first entry was done in the Form by hand
'user 2 = the code below enters values automatically
'
'so it will give the popup option to either: save these change, drop the saving, or place them in clipboard
'to avaoid this message, we should first save the hand made value, then run the code
'sav