Skip 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.

Update or calculate field

Featured Replies

  • Author

I have newbie question...

I have a price file in a fixed format:

sku(6)descr(12)retprice(6)wholeprice(6)

as one text string...

"PD3456PRODDESCRIPT001899002499"

How do I import into the database? (I went the excel route) I'd rather import it directly into foxpro

And the other question is once I get the price as a text string of say "001899" how do I turn it into 18.99 number?

Do I divide the number by 100 is that a calcuated field area?

Thanks

I have newbie question...

I have a price file in a fixed format:

sku(6)descr(12)retprice(6)wholeprice(6)

as one text string...

"PD3456PRODDESCRIPT001899002499"

How do I import into the database? (I went the excel route) I'd rather import it directly into foxpro

And the other question is once I get the price as a text string of say "001899" how do I turn it into 18.99 number?

Do I divide the number by 100 is that a calcuated field area?

Thanks

  • Author

I have newbie question...

I have a price file in a fixed format:

sku(6)descr(12)retprice(6)wholeprice(6)

as one text string...

"PD3456PRODDESCRIPT001899002499"

How do I import into the database? (I went the excel route) I'd rather import it directly into foxpro

And the other question is once I get the price as a text string of say "001899" how do I turn it into 18.99 number?

Do I divide the number by 100 is that a calcuated field area?

Thanks

I'm not sure how it works in foxpro, but in FileMaker Pro, you would import the string into one text field, then parse that into individual fields using the middle() function.

To convert that text number into a decimal number, dividing by 100 should work if the numbers always have a 2-digit decimal portion.

I'm not sure how it works in foxpro, but in FileMaker Pro, you would import the string into one text field, then parse that into individual fields using the middle() function.

To convert that text number into a decimal number, dividing by 100 should work if the numbers always have a 2-digit decimal portion.

I'm not sure how it works in foxpro, but in FileMaker Pro, you would import the string into one text field, then parse that into individual fields using the middle() function.

To convert that text number into a decimal number, dividing by 100 should work if the numbers always have a 2-digit decimal portion.

  • Author

Thanks for the reply ... I meant FM Pro sorry for the slip.

I will try that thanks.

  • Author

Thanks for the reply ... I meant FM Pro sorry for the slip.

I will try that thanks.

  • Author

Thanks for the reply ... I meant FM Pro sorry for the slip.

I will try that thanks.

Adding to what Ender said:

The parsing formulas are:

sku = Left(ImportDataField;6)

Descr = Middle(ImportDataField;7;12)

retprice = Middle(ImportDataField;19;6)/100

wholeprice = Right(ImportDataField;6)/100

Adding to what Ender said:

The parsing formulas are:

sku = Left(ImportDataField;6)

Descr = Middle(ImportDataField;7;12)

retprice = Middle(ImportDataField;19;6)/100

wholeprice = Right(ImportDataField;6)/100

Adding to what Ender said:

The parsing formulas are:

sku = Left(ImportDataField;6)

Descr = Middle(ImportDataField;7;12)

retprice = Middle(ImportDataField;19;6)/100

wholeprice = Right(ImportDataField;6)/100

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.