True DBGrid and allowupdate

True DBGrid and allowupdate

Post by Nathalie Turgeo » Fri, 01 Aug 1997 04:00:00



My True DBGrid is bounded with a complex SQL.  I have 3 columns filled with
 information from that SQL and I add one column that will be used by the
user to insert information.  I want to update only the last column.

Right now, I could not update any column even if the allowupdate property
is set to true.

How can I do that?

--
Nathalie Turgeon


 
 
 

True DBGrid and allowupdate

Post by Decio Lu » Tue, 05 Aug 1997 04:00:00


Sounds like the problem is that your SQL query is not updateable.

In complex SQL statements all of the Join fields must also be index fields
for the Query to be updateable.

Try building the same SQL statement in Access and see if you can update any
field!
If not add indexes on all the joined fields and try again.

Decio.



> My True DBGrid is bounded with a complex SQL.  I have 3 columns filled
with
>  information from that SQL and I add one column that will be used by the
> user to insert information.  I want to update only the last column.

> Right now, I could not update any column even if the allowupdate property
> is set to true.

> How can I do that?

> --
> Nathalie Turgeon




 
 
 

1. APEX True DBGrid vs. Sheridan DATA WIDGETS DBGrid

Does anyone out there have experience with one or both of these DBGrids in
unbound mode?  Do you have strong feelings about the quality of either
product?

I am currently using the APEX True DBGrid in unbound extended mode.  I am
happy with the performance of the grid, but the code provided by APEX for
the _unboundDataReadEx event is not the easiest to understand.  I downloaded
Sheridan's DBGrid and reviewed their code for the same event and it reads
very well.  As a result, I am a little concerned about the maintainability
of my current DBGrid choice.

Anyone out their have any opinions?

Thanks
Kouroche


2. Linked Server Error....

3. Seeking Rumor Confirmation: New IBM db paradigm?

4. HELP! VB4.0, RDO, and True DbGrid

5. Integrity constraints question

6. True DBGrid - Unbound columns - Filter

7. Fast Seaching with LIKE?

8. True DBGrid Pro 6.0

9. True DBGrid

10. True DBGrid & RDO

11. TRUE DBGRID Problem with headings

12. True DBGrid