اذهب الي المحتوي
أوفيسنا

مساعدة في تغير مصدر السجلات


إذهب إلى أفضل إجابة Solved by Foksh,

الردود الموصى بها

السلام عليكم 

احتاج تغير مصدر السجلات في النموذج عند الفتح او التحميل  الى كود هذا هو مصدر السجلات 

SELECT Qbook_Reader.Readerm
FROM Qbook_Reader
WHERE (((Qbook_Reader.Num)=[Forms]![FReaderB]![FReaderSubB].[Form]![Num]));

 

رابط هذا التعليق
شارك

  • أفضل إجابة

على حسب ما فهمت 😅

جرب هذا الكود عند الفتح :-

Private Sub Form_Open(Cancel As Integer)
    Me.RecordSource = "SELECT Qbook_Reader.Readerm FROM Qbook_Reader WHERE Qbook_Reader.Num = " & [Forms]![FReaderB]![FReaderSubB].[Form]![Num]
End Sub

أو هذا عند التحميل ، ولا فرق بينهما سوى وقت الحدث .

Private Sub Form_Load()
    Me.RecordSource = "SELECT Qbook_Reader.Readerm FROM Qbook_Reader WHERE Qbook_Reader.Num = " & [Forms]![FReaderB]![FReaderSubB].[Form]![Num]
End Sub

حيث Me تعني النموذج الحالي ، وأعتقد لا حاجة لشرح الباقي 😅

رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information