Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFGRIDUPDATE

Status
Not open for further replies.

viv77

Programmer
Feb 22, 2001
6
SG
Hi, I need some help here. Please enlighten me.

I've been using cfquery to do updating/deleting/inserting, recently, i tried cfgridupdate.

What i have is a simple query. Follow by a CFGRID to display the result. With 'EDIT' mode, i managed to edit/delete/add within the grid. Finally, submit the form with all the changes. And, i've CFGRIDUPDATE on the action page. Supposely, the tag should reflect the changes back to the database.

However, it doesn't work and i got some error like this:

Primary key field ROWID not found.
The field ROWID was not found in the Grid input. This
field is required in order to do an UPDATE or DELETE
because it is part of the primary key for the table.

Does it mean that i've to retrieve the ROWID in my query & grid? But after trying, still doesn't work. To my understanding, seems that CFGRIDUPDATE use primary key to identify the record being update. FYI, i'm using ORACLE database (which always use rowid to uniquely identify the record).
 
Did you ever figure this out? I'm having the same problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top