ความคิดเห็น •

  • @zanokuhlembambo
    @zanokuhlembambo 21 วันที่ผ่านมา +2

    You are still saving lives

  • @demo_yt5495
    @demo_yt5495 ปีที่แล้ว +2

    Very helpful, thank you!

  • @tjhandrevanwykdevries2673
    @tjhandrevanwykdevries2673 3 ปีที่แล้ว +4

    Thank you helped a lot =)

  • @user-yy8qr7vy5y
    @user-yy8qr7vy5y 11 หลายเดือนก่อน

    Such a life saver!

  • @alifekkane3212
    @alifekkane3212 6 ปีที่แล้ว +5

    Hello
    Mr Long IT & CAT
    could you please help me with my problem !?
    when I try to add the 'DataModule' to the 'uses' of the 'Form1' I face un error message says :'cannot resolve the unit name ' and I don't know how to get rid of this issue ..thanks in advance

  • @kai9234
    @kai9234 2 ปีที่แล้ว +1

    very helpful thanks alot :D

  • @megaswampert4378
    @megaswampert4378 3 หลายเดือนก่อน +1

    You are G.O.A.T man thanks so much

  • @a.....6295
    @a.....6295 3 ปีที่แล้ว

    when a connection was lost. How can i try to reconnect it?

  • @LusandaPearl-ux6jo
    @LusandaPearl-ux6jo ปีที่แล้ว

    I'm having trouble connecting my database which will allow me to access it on other computers as well . I tried only putting the database name.accdb but an errorpops up. I use office and not Jet. Please may you assist me on what to do next. Thank you.

  • @Bianchi77
    @Bianchi77 3 ปีที่แล้ว

    I can not see dbgrid on Delphi 10.4 ?

  • @FenrirShak
    @FenrirShak 4 ปีที่แล้ว

    How to resolve the widememo problem? I'm working on RAD Studio c++ builder, but maybe you know some solutions

    • @bendrej.v.n8413
      @bendrej.v.n8413 3 ปีที่แล้ว

      Ive got the same problem!
      Plz help

  • @zohancargotis2109
    @zohancargotis2109 4 ปีที่แล้ว +3

    Hi mr. Long IT & CAT, I know im a little late on the the video, I followed all your steps but it gives me an error that says 'operation is not allowed on this context'. Please help me, I need to do this for a school project

  • @johnyyy_03
    @johnyyy_03 4 ปีที่แล้ว

    THX

  • @Nico-lv2ey
    @Nico-lv2ey 2 ปีที่แล้ว +7

    Mr Long, our Gr. 11 PAT must be handed in on the 10th of November and I have been struggling with my database connection for over 4 weeks now and neither me nor my teacher can figure out what is wrong. Every time I run my PAT it gives an Access violation error and when I connect my database to my data module the fields of the table are empty... The weird thing is all the records show in the DBGrid, but when I go in the colum editor or field editor the fields also don't appear. I have tried everything from deleting my database 4 times and connecting it in anyway possible my database still won't work. Can you please help me Mr. Long?

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว +5

      Have you tried doing the database connection dynamically? Try this video, it shows you step by step what code to write just changing it for your particular database:
      th-cam.com/video/d9q6vLt9X5w/w-d-xo.html
      Let me know if it works.

    • @Nico-lv2ey
      @Nico-lv2ey 2 ปีที่แล้ว

      @@MrLongITandCAT I just connected my program dynamically, but when I run my program it still gives me a "Access violation at address 0061FA97 in module 'frmWelcome_p.exe'. Read of address 000003CC." and a "Could not find installable ISAM" error, is there anything else I could try Mr. Long?

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว

      @@Nico-lv2ey Is the database open when you run the program? And what drive are you running the program from (flash drive etc)?

    • @Nico-lv2ey
      @Nico-lv2ey 2 ปีที่แล้ว

      @@MrLongITandCAT nope I always close the database before running it, and I am running it from a flash drive. The program only gives me that error when I try to extract data from the database not when I'm checking if the username or password is correct.

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว +1

      @@Nico-lv2ey Copy the files to a computer and run it from there (not from the flash drive). See if that works.

  • @tuannguyen-ig3cs
    @tuannguyen-ig3cs 2 ปีที่แล้ว

    Character In the video It's great, I like it a lot $$

  • @sparkysquishypaws720
    @sparkysquishypaws720 3 ปีที่แล้ว +1

    Is there a way to get data from a database and then transferring it to other components(label, edit, panel etc)?

    • @anoxx2576
      @anoxx2576 3 ปีที่แล้ว +1

      Do you mean displaying info from your database to an output?
      Like a richedit?

    • @vitisanity
      @vitisanity 2 ปีที่แล้ว +1

      Label1.Caption := dataset1.fieldbyname('fieldname').asString; // asFloat asInteger etc.

  • @silenciosilencio2005
    @silenciosilencio2005 3 ปีที่แล้ว

    What could I do if my database is in dBase format (dbf) and not in Access? I Use Delphi DX 10.3

    • @vitisanity
      @vitisanity 2 ปีที่แล้ว +1

      There is component tdbf where you can open and use Dbase from 4 to 9 and also support multi-user on sourceforge

    • @silenciosilencio2005
      @silenciosilencio2005 2 ปีที่แล้ว

      @@vitisanity Thanks!

  • @abdullah_abisola
    @abdullah_abisola 10 หลายเดือนก่อน

    Mr Long just saved my PAT

    • @MrLongITandCAT
      @MrLongITandCAT 10 หลายเดือนก่อน

      Glad it can help!

    • @abdullah_abisola
      @abdullah_abisola หลายเดือนก่อน

      Back here again after 1 year to re-learn how to do all of this 😂😭

  • @dawidslabbert6902
    @dawidslabbert6902 11 หลายเดือนก่อน

    Good Day, how would we use access with Delphi where delphi can read an access checkbox for a boolean state, i.e yes 'checked' , no 'unchecked''. I know the normal default values are -1 , 0 but we get an error 'parameter has no default value'. Many thanks, love the videos!

    • @MrLongITandCAT
      @MrLongITandCAT 11 หลายเดือนก่อน

      Have you tried using the values true or false (make sure they are not in quotes)

  • @ollieestudio9050
    @ollieestudio9050 2 ปีที่แล้ว

    It's so visual, can we develop for the web in Delphi? Or connect to remote db?

  • @sarcasm_intended6904
    @sarcasm_intended6904 10 หลายเดือนก่อน

    hi sir, do we need to create a database to do stocktake in delphi?

    • @1.....279
      @1.....279 8 หลายเดือนก่อน

      i did it

  • @bobbylincoln4250
    @bobbylincoln4250 4 ปีที่แล้ว +1

    Are you able to do the same with excel or libreoffice base?

  • @s_m_o_m_m_i_e2128
    @s_m_o_m_m_i_e2128 9 หลายเดือนก่อน

    Mr Long our grade 10 pat must be handed in on the 8th of November and i have a Microsoft access database but but evertime i try to select or enter database name it is not appearing along with mu files

  • @lathithamafika4343
    @lathithamafika4343 9 หลายเดือนก่อน

    Good morning sir...i used your video for my database connection but my db grid doesn't show anything

  • @hridayoodit4820
    @hridayoodit4820 10 หลายเดือนก่อน

    @MrLongITandCAT when testing the connection it is failing because of an error in initializing provider. Could not find file 'C:\Program Files(x86)\Emarcadero\Studio\22.0\bin\Clients.mbd' How can i fix it?

    • @MrLongITandCAT
      @MrLongITandCAT 9 หลายเดือนก่อน

      Have you saved the project yet> And then make sure your database is in the correct folder (Debug folder if using Delphi 11 or 10.4).

    • @hridayoodit4820
      @hridayoodit4820 9 หลายเดือนก่อน

      @@MrLongITandCAT thank you so much it was in the wrong folder

  • @dashcamwhat1512
    @dashcamwhat1512 2 ปีที่แล้ว

    How do you disconnect the database if you decided that you now want to use code to connect instead?? Please help

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว

      delete the adoConnection, adoTable and data source components. Create them dynamically as shown in the video.

    • @dashcamwhat1512
      @dashcamwhat1512 2 ปีที่แล้ว

      @@MrLongITandCAT
      Thank you Mr Long!
      Very helpful

  • @Stevesteacher
    @Stevesteacher 5 ปีที่แล้ว +1

    Thank you sooo much, I'm busy with an project and couldn't connect to my db🎴

  • @logic499
    @logic499 9 หลายเดือนก่อน +1

    😀

  • @HT_Hub
    @HT_Hub 5 ปีที่แล้ว +1

    Thanks for this explanation, i didn't find the Data controls to add the TDBGrid to my project, can you help me with that please !

    • @cameron_blackwell_
      @cameron_blackwell_ 4 ปีที่แล้ว

      If you're using Delphi 2010 theres a Tool Palette on the right side of your Design tab. In the search bar just type TDGrid and it should appear. If the Tool Palette is not visible then at the top of your screen change the option to "Default Layout"

  • @Akhi989
    @Akhi989 ปีที่แล้ว

    My database does not show when I try to do the connection string

    • @MrLongITandCAT
      @MrLongITandCAT ปีที่แล้ว

      Did you save your database as an Access 2003 version?

  • @3x364
    @3x364 4 ปีที่แล้ว

    How did you change the title of your application ?

  • @anandchaudhary6219
    @anandchaudhary6219 5 ปีที่แล้ว +1

    Good explanation.!

  • @munrovanheerden8462
    @munrovanheerden8462 ปีที่แล้ว

    Hi. Most likely a dumb question, but how do I connect to an .accdb Access database? Jet does not work. (I am new to delphi and am using your videos to learn - thanx)

    • @MrLongITandCAT
      @MrLongITandCAT ปีที่แล้ว +1

      Unfortunately JET only works with MDB files (2023 Access files or later).
      Here is an article for another option using FireDAC:
      docwiki.embarcadero.com/RADStudio/Alexandria/en/Connect_to_Microsoft_Access_Database_(FireDAC)

    • @munrovanheerden8462
      @munrovanheerden8462 ปีที่แล้ว

      @@MrLongITandCAT Thanx. I eventually got it working by installing an OBDC version 12 driver.

    • @MrLongITandCAT
      @MrLongITandCAT ปีที่แล้ว

      @@munrovanheerden8462 Glad to hear. Did you still use the JET option?

    • @munrovanheerden8462
      @munrovanheerden8462 ปีที่แล้ว +1

      @@MrLongITandCAT I used the Microsoft Office 12.0 Access Engine OLE Database Provider. I had to force an installation of the 32bit as my Office is 64bit.

  • @luna_jay
    @luna_jay 2 ปีที่แล้ว

    My database doesn't show on the dbgrid. I have followed all the steps thou??

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว +2

      Have you set the ADOTable's active property to TRUE?

    • @luna_jay
      @luna_jay 2 ปีที่แล้ว

      @@MrLongITandCAT yes I did

    • @luna_jay
      @luna_jay 2 ปีที่แล้ว

      So now it shows but it only shows two fields when I have 5 fields what could I have done wrong?

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว +1

      @@luna_jay Can you scroll to the right to see the other fields?

    • @luna_jay
      @luna_jay 2 ปีที่แล้ว

      @@MrLongITandCAT oh yes

  • @AbuYaqeenAli
    @AbuYaqeenAli 5 ปีที่แล้ว +1

    big thanks ...

  • @user-mn3wu9cw2s
    @user-mn3wu9cw2s 8 หลายเดือนก่อน

    WHY DOES IT SHOW ME TO DATABASE LOGIN

    • @MrLongITandCAT
      @MrLongITandCAT 8 หลายเดือนก่อน

      There is a property on the ADOConnection called LoginPrompt. Set that to false.

  • @TheKimJAK
    @TheKimJAK 5 ปีที่แล้ว +1

    Trank u so much

  • @MrQuinnlord
    @MrQuinnlord 4 ปีที่แล้ว +1

    Side note! Do not try and access the data module from a FormCreate! You will get access violation as the Data Module will not have been created by the time that procedure is called!

    • @talhaessop2383
      @talhaessop2383 3 ปีที่แล้ว +1

      im having this problem how do i get around it

    • @matthewsaptoe6096
      @matthewsaptoe6096 9 หลายเดือนก่อน

      Did you figure out how to fix it? bcuz I need help
      @@talhaessop2383

  • @zizo4764
    @zizo4764 2 ปีที่แล้ว

    Hi. I have saved the database in the same folder with my Delphi program and have built the database name as only DBExample.mdb however when I close the program and open it again the active ADOTable property is set to false and when I try to make it true it displays “Could not find file ‘C:\WINDOWS\System32\DBExample.mdb’

    • @MrLongITandCAT
      @MrLongITandCAT 2 ปีที่แล้ว +1

      Everytime you open Delphi you will need to redo the part of selecting the mdb file and setting Active to true. A better way would be to do your connection dynamically. Here is a video that explains how to do it. I prefer this method because you don't need to redo the connection and it is extra marks because it is a dynamic object with a db connection if it is for your PAT.
      th-cam.com/video/d9q6vLt9X5w/w-d-xo.html

    • @zizo4764
      @zizo4764 2 ปีที่แล้ว +1

      Thank you 🙏

  • @jakegaustad2935
    @jakegaustad2935 3 ปีที่แล้ว

    Bro get some newer music