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.

Featured Replies

  • Author

I've got a table which contains rows of data (previously created on another system and imported). The rows contain data like:

Jan Chevy 310

Jan GM 125

Jan Audi 289

Feb Ford 122

Feb Saturn 301

Feb Honda 227

March BMW 341

March Porsche 298

March Mini 432

...

What I need to do is get this data into columns so that it's more spreadsheet like.

i.e.:

Jan Chevy 310 Feb Ford 122 March BMW 341

Jan GM 125 Feb Saturn 301 March Porsche 298

Jan Audi 289 Feb Honda 227 March Mini 432

I've created a secondary table (in the same database) with the fields for the (9) columns going horizontally. The challenge I'm having is getting data from the rows in one table to the columns in the other table.

Here's my pseudo-code(can't copy from Edit Script window[!]). Note that I'm creating 3 sets of columns (9 columns total) as I want to see Jan, Feb, Mar going across the page, with data listed below it. I feel like I'm making this overly-complicated, but I can't seem to find an easier way.

loop

CreateNewRecord in ColumnDB

if Month = "Jan"

Set Field [toDB::col1; fromDB:col1]

Set Field [toDB::col2; fromDB:col2]

Set Field [toDB::col3; fromDB:col3]

else if Month = "Feb"

Set Field [toDB::col4; fromDB:col1]

Set Field [toDB::col5; fromDB:col2]

Set Field [toDB::col6; fromDB:col3]

else if Month = "March"

Set Field [toDB::col7; fromDB:col1]

Set Field [toDB::col8; fromDB:col2]

Set Field [toDB::col9; fromDB:col3]

end if

go to Record/request/Page [Next]

exit loop if EOD

Loop

all help is appreciated!!!! Thanks in advance

I've got a table which contains rows of data (previously created on another system and imported). The rows contain data like:

Jan Chevy 310

Jan GM 125

Jan Audi 289

Feb Ford 122

Feb Saturn 301

Feb Honda 227

March BMW 341

March Porsche 298

March Mini 432

...

What I need to do is get this data into columns so that it's more spreadsheet like.

i.e.:

Jan Chevy 310 Feb Ford 122 March BMW 341

Jan GM 125 Feb Saturn 301 March Porsche 298

Jan Audi 289 Feb Honda 227 March Mini 432

I've created a secondary table (in the same database) with the fields for the (9) columns going horizontally. The challenge I'm having is getting data from the rows in one table to the columns in the other table.

Here's my pseudo-code(can't copy from Edit Script window[!]). Note that I'm creating 3 sets of columns (9 columns total) as I want to see Jan, Feb, Mar going across the page, with data listed below it. I feel like I'm making this overly-complicated, but I can't seem to find an easier way.

loop

CreateNewRecord in ColumnDB

if Month = "Jan"

Set Field [toDB::col1; fromDB:col1]

Set Field [toDB::col2; fromDB:col2]

Set Field [toDB::col3; fromDB:col3]

else if Month = "Feb"

Set Field [toDB::col4; fromDB:col1]

Set Field [toDB::col5; fromDB:col2]

Set Field [toDB::col6; fromDB:col3]

else if Month = "March"

Set Field [toDB::col7; fromDB:col1]

Set Field [toDB::col8; fromDB:col2]

Set Field [toDB::col9; fromDB:col3]

end if

go to Record/request/Page [Next]

exit loop if EOD

Loop

all help is appreciated!!!! Thanks in advance

  • Author

I've got a table which contains rows of data (previously created on another system and imported). The rows contain data like:

Jan Chevy 310

Jan GM 125

Jan Audi 289

Feb Ford 122

Feb Saturn 301

Feb Honda 227

March BMW 341

March Porsche 298

March Mini 432

...

What I need to do is get this data into columns so that it's more spreadsheet like.

i.e.:

Jan Chevy 310 Feb Ford 122 March BMW 341

Jan GM 125 Feb Saturn 301 March Porsche 298

Jan Audi 289 Feb Honda 227 March Mini 432

I've created a secondary table (in the same database) with the fields for the (9) columns going horizontally. The challenge I'm having is getting data from the rows in one table to the columns in the other table.

Here's my pseudo-code(can't copy from Edit Script window[!]). Note that I'm creating 3 sets of columns (9 columns total) as I want to see Jan, Feb, Mar going across the page, with data listed below it. I feel like I'm making this overly-complicated, but I can't seem to find an easier way.

loop

CreateNewRecord in ColumnDB

if Month = "Jan"

Set Field [toDB::col1; fromDB:col1]

Set Field [toDB::col2; fromDB:col2]

Set Field [toDB::col3; fromDB:col3]

else if Month = "Feb"

Set Field [toDB::col4; fromDB:col1]

Set Field [toDB::col5; fromDB:col2]

Set Field [toDB::col6; fromDB:col3]

else if Month = "March"

Set Field [toDB::col7; fromDB:col1]

Set Field [toDB::col8; fromDB:col2]

Set Field [toDB::col9; fromDB:col3]

end if

go to Record/request/Page [Next]

exit loop if EOD

Loop

all help is appreciated!!!! Thanks in advance

  • Author

S

  • Author

S

  • Author

S

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.