/*
We check to be sure the value is not null to prevent
executing an SQL query that would have no effect.
*/
if(request.ID == null)
redirect ("modify.htm");
var userId = unscramble(client.userId)
var bucket = project.sharedConnections.connections[userId]
var connection = bucket.connection
cursor = connection.cursor("select * from customer where customer.ID = " + request.ID);
cursor.next();
Modify a customer
Note: All fields are required for the customer to be accepted.
cursor.close();