Recent

Author Topic: كيفية جلب id الفاتورة لجلب لتسجيل المنتجات  (Read 409 times)

Gebo

  • Jr. Member
  • **
  • Posts: 67
    • chahpander for lingeries
أنا بسجل الفاتورة في جدول الفواتير ولكني عايز استرجع id للفاتورة عشان أسجل المنتجات برقم الفاتورة في transaction واحدة
أنا جربت جملة الإستعلام
select last_insert_id();
ولكن بترجع بقيمة 0

أنا بستخدم zeosdb و mariadb
I like programming I begun by vb,vb.net,c# and finally free pascal and lazarus .I like martial arts sports and I am a kickboxer and made our team sport club called black eagle school I have a website for modern clothes..

nouzi

  • Moderator
  • Sr. Member
  • *****
  • Posts: 328
ابسصط حل إستعمال "الماستر"   و "سلايف" master and slave. هو راح ياخد المفتاح بطريقة الية
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

Gebo

  • Jr. Member
  • **
  • Posts: 67
    • chahpander for lingeries
ابسصط حل إستعمال "الماستر"   و "سلايف" master and slave. هو راح ياخد المفتاح بطريقة الية

مش فاهم يعني ايه master و slave
وبعدين المشكلة هنا إن فيه عملية commit بتم وبتنهي transaction من غير ما أخلص أنا
I like programming I begun by vb,vb.net,c# and finally free pascal and lazarus .I like martial arts sports and I am a kickboxer and made our team sport club called black eagle school I have a website for modern clothes..

 

TinyPortal © 2005-2018