Unable to get record ID...

Problem

You get this error when running your application:

Unable to get record ID...

Solution

If you pass a primary key on a URL as an ID, the primary key is passed in an XML encoded key structure.  However in the receiving page, if you use the Query Wizard to add a WHERE clause to the query using the URL parameter passed into the page, then the page receives the URL parameter as raw number and not as XML encoded key structure.  Rather than sending the primary key as a URL parameter by defining ID, send it as FV:ID.  When passing primary keys as FV:ID, they pass the ID as a raw number and will not create an XML encoded key structure for the primary key.

See Also

Part VII:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages