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.

AvailableVLs does not work?

Featured Replies

So I downloaded fmDotNet and started a new ASP.net web site.

In my page_load sub, I have the following Code

KI_FMDB.SetDB("KI")

'Set the layout we want to query when we load our value lists

'KI_FMDB.SetLayout("web_assets")

lblError.Text = KI_FMDB.TotalRecords.ToString

'For testing

Dim ValueLists As ArrayList = KI_FMDB.AvailableVLs

Dim ListNames As String

For Each ListNames In ValueLists

lstProductLine.Items.Add(ListNames)

Next

I know that this code works, because if I substitute AvailableDBs for AvailableVLs, I get my listbox populated with all my DBs.

Edit: I get the error: Object reference not set to an instance of an object

Anybody have any ideas?

Edited by Guest

  • 3 weeks later...

it seems you have your layout selection commented out. If you leave that in, it should work.

Available DBs works on the whole FMS level, but available VLs works on any given layout (IIRC).

Try that and post back if it doesn't work.

  • 2 weeks later...
  • Author

I tried it with the set layout step uncommented, but I still get the same error.

It's an obvious question but: is there any field on that layout that has a value list set up?

  • 4 weeks later...
  • Author

Yeah there are a couple.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.