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.

Problems importing csv with timestamp

Featured Replies

I am importing data from a barcode reader. The bar code reader application can generate output in various formats. I have tried csv and xls. The problems i have is that the text file shows the timestamp for the barcode as hh:mm:ss mm/dd/yyyy. When i import this into excel it converts it to mm/dd/yyyy hh:mm:ss which if I import this file works with my calculated fields. If I import staight from the file the calculations fail. Below is a line from the import file.

I guess there are 2 solutions

1. Get the import to reverse the order to work with my calcs.

2. Create a calculation that swaps the data around.

Any ideas

Someone that is more familiar with how the Bar Code process works, might have a simpler way to do it, but you could create two fields, one for time and one for date and parse it out using GetASTime and GetASDate

GetAsTime ( LeftWords ( Text ; 1 ))

GetAsDate ( RightWords ( Text ; 1 ))

HTH

Lee

Edited by Guest

I vote for number 2 using the following calculation to convert the BarCode time stamp to a FileMaker time stamp. ('TextField' is the imported time stamp):

Timestamp ( GetAsDate ( RightWords( TextField; 1 ) ) ; GetAsTime ( LeftWords( TextField; 1 ) ) )

:

or

LOL

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.