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.

Building and marrying variable data

Featured Replies

Hi All,

 

I’ve got a dilemma, which I think a multidimensional variable would solve but I’m not too sure how to implement it. I’m using Virtual Lists for the first time and I’ve split my VL data into Columns – 1 to 8. $$Column1 stores the primary key of an object, in this case a customer, $$Column2 would store the customer name, $$Column3 would store the sales for that customer in month a. I would then do another find loop through and store sales for each customer in month b in $$Column5. Again I would doanother find for month c and so on... I'm sure you get the point. That seems to be fairly straightforward as I have customer table related to sales just loop though records (sort the records via customer id) and build variables based on related data.

 

The issue I have encountered is that not all customers have sales associated in a given month, so when I do the finds the sales data in $$Column2 could be on line 6 for customer x, but could also be on line 4 for the same customer as, data for other customers may not be present.

 

The way my list works is, loops through the data, line 1, is for record 1,etc.

 

Anyone know of a way to marry this data, so I can be accurate that Line 6 in $$Column3, $$Column4, $$Column5 always belongs to customer x regardless of how many records for a customer is found. I need to do my find in the sales layout as I have other things going on and then sort via customer name.

 

Can anyone suggest with examples how if its possible to overcome this or point me in the direction of some resources.

 
Thanks in advance
 
Jalz
  • Author

Hi eos,

 

Thank you so much, I'll direct it to see how it works

 

All the best

 

Jalz

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.