Solved

unboubd field in a bound DBGRID

Posted on 1998-08-21
4
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Basic Excel Formatting error 4 142
VBA/SQL - Connect to SQL server and pull data 4 137
Copy a row 12 70
VBA: copy range dynamically based on config sheet v2 3 55
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

730 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