Jump to content

Data Module İçinde Main Module İçindeki Bir Query'e erişemiyorum


pro_imaj

Recommended Posts

Merhaba;

 

Herhangi bir formdan aşağıdaki şekilde Test query'den bilgi okuyorken yeni oluşturduğum DataModule içinde veri almaya çalıştığımda çalışma sırasında resimdeki hatayı alıyorum, hatanın nedeni ne olabilir.

UniMainModule.QTest.FieldByName('Kullanici').Text

nlQpdg.png

Link to comment
Share on other sites

Hata oluşmamış bir class a erişmeye çalıştığında oluşan hata. Bunu debug ederek bulabilirsin, ama bu debug işlemi zaman kaybı olduğu için, yani IDE açılıp sen okuyana kadar o class yada vs gibi code lar çalışabiliyor. Ozamanda debug yerine log kullanmayı deneyebilirsin, mesela o datamodule ün o create eventi, query nin beforeopen ına vs gibi

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   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.

×
×
  • Create New...