Jump to content

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

Recommended Posts

Posted (edited)

Sorry for the overlook.

I'm using Lasso 8. I'm starting to get the gist of it all, but I'm already running into problems. If I can just get a grasp of the basics I should be able to catch up pretty fast.

The current issue:

in a reg.lasso file I have the following form:

Requested User ID:

Password:

the regresp.lasso files has the following:

[inline: -Search,

-Database='onmdlandcards',

-Table='users',

'name'=(Action_Param:'name')]

[if:(Error_CurrentError)==(Error_NoRecordsFound)]

[inline:(Action_Params),

-Add,

-Database='onmdlandcards',

-Table='users']

Your account with User ID [Field:'name'] has been created

Your password is [Field:'password'].

Click on the Home button and log in to start your card collection.

[/inline]

[Else]

[Records]

[Field: 'name'] is already taken.

Use your borowser's Back button and try a different ID.

[/Records]

[/if]

[/inline]

The regresp.lasso file returns nothing regardless if I enter a user name already in the db nor if I enter a new user name.

Please tell me what I'm doing wrong.

Thanks in advance.

Jim

P.S. The extra space in the error line is being put in by this message board, not me.

Edited by Guest

This topic is 7072 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
×
×
  • Create New...

Important Information

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