Jump to content


Photo

DBGrid cannot update Detail-Dataset


  • Please log in to reply
4 replies to this topic

#1 Ulrich Schaupp

Ulrich Schaupp
  • Members
  • 7 posts

Posted 10 July 2023 - 09:49 AM

I've associated the component correct with the dataset, but when I open my application it doesn't show the data in the DBGrid, although it is correct in the database.
What have I to do, when the form ist created or activated?



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 10 July 2023 - 11:08 AM

Hello Ulrich,

 

Can you please send me a small demo project so I can test it? The grid can be configured to automatically add columns or to simply connect to existing columns (via data binding property).


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Ulrich Schaupp

Ulrich Schaupp
  • Members
  • 7 posts

Posted 12 July 2023 - 04:27 PM

Hello Boki,

thanks for the reply.

It's very complicate to create a little demo. I've send you in addition screenshot from my application with this component.

When I start the application, all Dataset are active so I suggest that the records are show in the component.

When I add records in the dataset, it will be show in the component, but when I open the form again there no record is show in the component.

 

I've tried with Update, Repaint, Reset both, dataset and component but nothing happend although all record are present in the table.

 

If you have a solution for me, I'm very happy.

 

Best regards

Uli

Attached Files



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 16 July 2023 - 01:09 AM

Hello Ulrich,

 

I’m afraid that I still don’t understand it. Maybe you can record a very short video and show me how it acts. This will help for sure, as I’m not yet sure what is the error.

 

Thank you!


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 Ulrich Schaupp

Ulrich Schaupp
  • Members
  • 7 posts

Posted 27 July 2023 - 11:06 AM

Hello Boki,

 

thanks for your reply.

In addition you can find my video and I hope, you can find the solution.

When I add a new record, both records are shown but when I open the form again, there always no records are visible. 

 

You can download the video here: https://my.hidrive.com/lnk/loimBJw0

 

Best regards

Uli

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users