Jump to content

Lasso - adding SessionID to inline


 Share

This topic is 5594 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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]:P [Error_CurrentError]

[/inline]

Ta!!

Link to comment
Share on other sites

  • 2 weeks later...

[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]

Link to comment
Share on other sites

This topic is 5594 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.