August 1, 200619 yr Hi I've just started using Lasso so I can use the Session commands - what I want to know is the correct syntax for to add the current Session_ID via an inline, e.g., [inline: -Add, -Database='orders', -Table='main', -KeyField='ID', 'ClientReference'="[session_ID: -Name='MySession']"] [Error_CurrentError: -ErrorCode] [Error_CurrentError] [/inline] Ta!!
August 11, 200619 yr [inline: -Add, -Database = 'orders', -Table = 'main', -KeyField = 'ID', 'ClientReference' = (Session_ID: -Name='MySession')] [Error_CurrentErrorr: -ErrorCode] [Error_CurrentError] [/inline] I don't think anywhere is lasso is it possible to do what you were trying to do. Inside of [] brackets, when something requires them, you must use (). So then you should never have [code[morecode]code] it should always be [code (morecode) code]
Create an account or sign in to comment