Create Link to open Edit Page of a Record

I am trying to create link that opens the Edit page of link field value of any record with the Table List (PosProductSalesList)Table Name: PosProductSalesDisplayed Field = Collect PaymentSettings for Displayed Field with Hard Coded Value (This works when I test with a hard coded value)
HREF = PaymentLink
Original Field Value = Checked
Target=_Self
Prefix=None
Suffix= /7710135?showdetail=Settings for Displayed Field with SalesJournalID Value of the Record (Throws an Error Message “No records found”)
HREF = PaymentLink
Original Field Value = Checked
Target=_Self
Prefix=None
Suffix= /@UrlEncode(CurrentPage.SalesJournalID.CurrentValue)?showdetail=Appreciate your help to correct the Suffix Code for SalesJournalID Value of the Record

Think of your final hyperlink URL as three part (prefix, value and suffix) and put that in the hyperlink settings.For example, if the hyperlink should be “/tableedit/?showdetails=”, and is the HREF field value, set HREF = hyperlink field, prefix = “/tableedit/” and suffix = “?showdetails=”.

Thank you for the informationHowever, when I use the following syntax, it opens up the first record on the edit page instead of my selected recordHREF = hyperlink field, prefix = “/tableedit/” and suffix = “?showdetails=”.I need it to open up the edit for the specific record like

HREF = hyperlink field, prefix = “/tableedit/” and suffix = “key?showdetails=”.Where key value is the value in field = SalesJournalIDThat was why i tried the initial syntax/@UrlEncode(CurrentPage.SalesJournalID.CurrentValue)?showdetail=key> is the HREF field value, set HREF = hyperlink field, prefix = “/tableedit/” and suffix = “?showdetails=”.

The HREF field should be the key field.

Thank you very much.This worked!