Method Community

 

Can I change the format of a field I added?

Last post 08-05-2014 9:18 AM by Method_Greg. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-02-2014 8:53 AM

    Can I change the format of a field I added?

    I set up a field  'packsize' and set it as text. then I imported the data and figured out it should be numberic so I can do math against it.  Can I change the field type at this point? ifnot how do I correct this? canI setup new field and copy the data from one to the other?

    Michele

    It's me :)
  • 08-05-2014 9:18 AM In reply to

    Re: Can I change the format of a field I added?


    Hello Michele,

         You would not be able to change a text field to a numeric field.  Two options come to mind.
     
      1. Do an import update.  Create your new field on the target table.  Export the RecordID and one other field that you can use as a unique reference field.  Copy and paste the packsize data to match the correct record using RecordID and your unique field.  Then do an import update.

       2. You can create a brand new screen.  The logic would be similar to the delete multiple records article in our Help Center.  You can use the Start Loop Through Grid action to find each record in the table.  Then you would have an Update Field on Table action that will take the value from your original field and put it in your new field.

    The import update is the easiest to do and would take the least amount of time.

    Greg

    Greg Bilous
    Community Support Specialist
    Method Integration
    g.bilous@method.me
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400 ex.756
    Fax: 416.640.6027
Page 1 of 1 (2 items)