Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListChanging column Type from Text to Integer ErrorsChanging column Type from Text to Integer Errors
Previous
 
Next
New Post
1/31/2010 1:06 AM
 

I have a csv list that I want to import, it has four column with the following titles:

FirstName,LastName,Age,YrsMarried

Then I have 700+ fields.

When I import the csv file, the Column Fields are automatically assigned the titles from the csv file and  then the 700+ fields are imported correctly into each column heading.

However, the FmL sets each column type as "Text" and in order to sort the Age and YrsMarried field I need to change that to Integer.

But once I change a the Age field to type Integer I get an error saying:

"You have changed the column type for Age from "Text" to "Integer". Note that this might cause an error, this is an unsupported cast!"

And then nothing shows on the public side.

What am I doing wrong ?

 
New Post
1/31/2010 4:34 AM
 

Hi Usheen,

 

Which version are you on? I've created a test on my local copy of FnL v5.01.01 and it's fine. I can re-order by the Fields (Age) which I had converted to Integer.

 

 
New Post
1/31/2010 1:42 PM
 

Sorry, forgot to include those details:

DotNetNuke Ver. 05.02.02 (73)

Form and List Ver. 5.1.2

 
New Post
1/31/2010 7:08 PM
 

Hi Usheen,

 

The Recommended release is 05.01.01.

 

 
New Post
1/31/2010 9:39 PM
 

I reinstalled FmL to ver.05.01.01 and the issue still occurs. It just wont let me change the Type to Integer.

I even tried deleting everthing and starting from scratch.

I entered the Field names and their appropiate types, then I imported the data from a new csv field which did not contain the labels, all the data was imported but this time it changed all the field types back to TEXT...aggghhhh

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListChanging column Type from Text to Integer ErrorsChanging column Type from Text to Integer Errors


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out