Fetching Record by passed ID

Fetching Record by passed ID

I have a special field on a form for html code that passed the record ID to a stateless form.

The stateless form is receiving the ID (675380000000086075)

But the fetch statement does not find the record.

Here is the html code
input.View_Details = "<a href='http://creator.zoho.com/dmpeltz/values-dev/#Page:View_Details_stateless?Passed_ID=" + input.ID + "&Called_From=" + Type + "'>View Details</a>";


Here is the fetch statement
  1. Patient_Rec  =  Patients  [ID== input.Passed_ID];

Let me know if there is an easier way to pass a record ID.

Thanks

Herb Wexler