Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Getting field names from the database.

Featured Replies

I am trying to put database name, layout name and some of the field names into the variables in Lasso. I am accessing a certain layout in a certain database:

[inline: -database='Customers', -layout='Form', -show]

[Variable_Set:'database'=(Database_Name)]

[Variable_Set:'layout'=(Layout_Name)]

[Variable_Set:'FirstName'=(Field_Name:'1')]

[Variable_Set:'LastName'=(Field_Name:'2')]

[/inline]

When I specify Layout name inside Inline, the number parameter represents the order of the fields on a layout. This is very inconvinient, because I will have to organaze the layout design around the field's numbering.

Without specifying the Layout inside Inline, the number parameter starts to represent the creation order of the fields, but in this case I can't dynamically set layout name in variable.

Is there a way out? Or maybe there a better way of doing it. Thanks.

  • 2 weeks later...

You can use a script like this

Loop: (Field_Name: -Count)

if: (Field_Name: (Loop_Count)) == 'firs tname';

var: 'firstname' = (Field_Name: (Loop_Count));

else: (Field_Name: (Loop_Count)) == 'last tname';

var: 'lasttname' = (Field_Name: (Loop_Count));

/if;

/loop;

[/Loop]

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.