Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: How can I use DObject data with DBGrid?
Started by onurbaran at 01-15-2008 11:59 PM. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  01-15-2008, 11:59 PM
onurbaran is not online. Last active: 1/17/2008 4:17:39 PM onurbaran

Top 75 Posts
Joined on 01-15-2008
Posts 2
How can I use DObject data with DBGrid?
Reply Quote
Hi All,

I have a question. (I think not last question Smile [:)] )
How works DObject dataset with DBGrid or any component? I want to what look at following code:


procedure TfrmDObjectTest.btnGetAllOrdersClick(Sender: TObject);
var
orders : IObjectSet;
order: IOrder;
i : integer;
begin
orders := ObjectManager.GetObjectSet(NW.Order);
for I := 0 to orders.Count - 1 do
begin
order := orders[ i ] as TOrder;
end;
end;

I want to using result set with DBGrid. How?
   Report 
  01-16-2008, 6:30 AM
Wisdom is not online. Last active: 5/6/2009 7:06:03 PM Wisdom

Top 10 Posts
Joined on 07-25-2007
Posts 21
Re: How can I use DObject data with DBGrid?
Reply Quote
Currently DObject can not support data-binding.
You could use OQL.Delphi to get Dataset, and use the Dataset bind to DBGrid.
We are sorry for the inconvenience.
   Report 
  10-28-2010, 6:09 PM
csdbarnold is not online. Last active: 10/24/2011 1:05:28 AM csdbarnold

Top 200 Posts
Joined on 10-29-2010
Posts 1
Sad [:(]Re: How can I use DObject data with DBGrid?
Reply Quote
Please delete this post.
   Report 
Post
Macrobject Comm... » Developing Tool... » DObject O/R Map... » Re: How can I use DObject data with DBGrid?

Powered by Community Server, by Telligent Systems