• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

unboubd field in a bound DBGRID

I am using oracle as a backend.  I have a table (item_trn) with 3 columns (item_no, no_of_item, value). i have bound this table to a DBgrid. But I want to also display the item_name from table item_master.(item_trn and item_master are related by their item_no). Also I want to update and add data to these two tables using DBgrid. I have one Unbound column in the DBGRID (i.e the item_name coming from item_master) Whenever the new row is invoked the item_name vanishes from the Grid. What could be the problem ?
0
bumble420
Asked:
bumble420
  • 2
  • 2
1 Solution
 
bumble420Author Commented:
Urgent
0
 
clifABBCommented:
You have to manually refresh the unbound cells of a grid.
You do this in the UnboundReadData Event (see help file).
0
 
bumble420Author Commented:
I am new to VB 5 and am not able to find the code. Could you please guide me ?
Thanks a lot for your guidance.



0
 
clifABBCommented:
Place the code that fills the unbound cells in the grid's UnboundReadData event.  Check the help file for information and an example.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now