Solved

unboubd field in a bound DBGRID

Posted on 1998-08-21
4
255 Views
Last Modified: 2010-04-30
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
Comment
Question by:bumble420
  • 2
  • 2
4 Comments
 

Author Comment

by:bumble420
ID: 1430210
Urgent
0
 
LVL 6

Accepted Solution

by:
clifABB earned 50 total points
ID: 1430211
You have to manually refresh the unbound cells of a grid.
You do this in the UnboundReadData Event (see help file).
0
 

Author Comment

by:bumble420
ID: 1430212
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
 
LVL 6

Expert Comment

by:clifABB
ID: 1430213
Place the code that fills the unbound cells in the grid's UnboundReadData event.  Check the help file for information and an example.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question