الاخوة الكرام
السلام عليكم ورحمة لله وبركاته
كيف يمكننا استخدام هذا الاجراء الخاص بدالة فحص اضافة سجل جديد على قاعدة البيانات أم لا , وكيفة الاستفادة منها بتنفيذ اجراء اخر في الفورم كا اظهار و الاخفاء ....الخ
code
Sub NewRecordMark(frm As Form)
Dim intnewrec As Integer
intnewrec = frm.NewRecord
If intnewrec = True Then
MsgBox "You're in a new record." _
& "@Do you want to add new data?" _
& "@If not, move to an existing record."
End If
End Sub