22-01-18, 04:20 PM
كيف يمكن نسخ جدول من قاعدة بيانات الي اخري
بالامر copy وليس select
اي
كانه استيراد جدول من قاعدة الي اخي بالمعالج
حصلت علي هذا الكود
لكن
If CopyTableToDatabase("Table1", Application.StartupPath & "\db1.mdb", "", Application.StartupPath & "\db2.mdb", "", False) Then
'If CopyTableToDatabase("Table1", Application.StartupPath & "\Database1.accdb", "", Application.StartupPath & "\Database1.accdb", "", True) Then
MsgBox("تم النسخ بنجاح")
Else
MsgBox("فشلت عملية النسخ")
End If
يظهر حطا تحت
CopyTableToDatabase
هل هي مكتبة وكيف نرفقها
بالامر copy وليس select
اي
كانه استيراد جدول من قاعدة الي اخي بالمعالج
حصلت علي هذا الكود
لكن
If CopyTableToDatabase("Table1", Application.StartupPath & "\db1.mdb", "", Application.StartupPath & "\db2.mdb", "", False) Then
'If CopyTableToDatabase("Table1", Application.StartupPath & "\Database1.accdb", "", Application.StartupPath & "\Database1.accdb", "", True) Then
MsgBox("تم النسخ بنجاح")
Else
MsgBox("فشلت عملية النسخ")
End If
يظهر حطا تحت
CopyTableToDatabase
هل هي مكتبة وكيف نرفقها

