Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Access violation TClientDataSet when setting active to true at design time



Permlink Replies: 4 - Last Post: May 22, 2016 1:39 AM Last Post By: Bear Xu Threads: [ Previous | Next ]
JAMES FULLALOVE

Posts: 3
Registered: 8/14/01
Access violation TClientDataSet when setting active to true at design time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 23, 2016 5:15 AM
Does anyone know why this happens? I can set it to true fine at run time. I was looking at hooking up a report so need the fields accessible at design time.
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Access violation TClientDataSet when setting active to true at design time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 23, 2016 8:47 AM   in response to: JAMES FULLALOVE in response to: JAMES FULLALOVE
Does anyone know why this happens?
In XE8 there is no AV when setting active to true in design time but a message: "ClientDataSet: Missing data provider or data packet"
JAMES FULLALOVE

Posts: 3
Registered: 8/14/01
Re: Access violation TClientDataSet when setting active to true at design time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 29, 2016 12:31 AM   in response to: Robert Triest in response to: Robert Triest
Robert Triest wrote:
Does anyone know why this happens?
In XE8 there is no AV when setting active to true in design time but a message: "ClientDataSet: Missing data provider or data packet"

I've seen that message also. As it goes, anything I attempt to do anything on the right-click of the component (such as create dataset), also creates an AV.
Robert Triest

Posts: 687
Registered: 3/24/05
Re: Access violation TClientDataSet when setting active to true at design time
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 29, 2016 12:52 AM   in response to: JAMES FULLALOVE in response to: JAMES FULLALOVE
I've seen that message also. As it goes, anything I attempt to do anything on the right-click of the component (such as create dataset), also creates an AV.
I can only check in XE8 and I can't get it in a AV.
There is no "Create Dataset" on the right-mouse-click, but "Assign local data" and "Load from MyBase Table".
Whatever I do it gives a proper selected dialog or the "ClientDataSet: Missing data provider or data packet" message.
Did you check this with a clean new project, form and ClientDataSet?
If this causes the same AV then it might be a bug in XE7, but I didn't saw any reports
on this forum about this and a lot of people working with ClientDataSet.
Did you install all XE7 updates?
Bear Xu

Posts: 10
Registered: 5/22/06
Re: Access violation TClientDataSet when setting active to true at design time
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 22, 2016 1:39 AM   in response to: JAMES FULLALOVE in response to: JAMES FULLALOVE
JAMES FULLALOVE wrote:
Does anyone know why this happens? I can set it to true fine at run time. I was looking at hooking up a report so need the fields accessible at design time.

https://forums.embarcadero.com/thread.jspa?threadID=212580&stqc=true
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02