Results 1 to 4 of 4

Thread: changing data types

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    using VB, how can you convert an existing table field data type from text to long integer?

    Any help is appreciated!

  2. #2
    Member
    Join Date
    Feb 1999
    Location
    Lexington,kentucky,USA
    Posts
    61

    Post

    Which Database are you using?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    sorry about that - Access 97

  4. #4
    Member
    Join Date
    Feb 1999
    Location
    Lexington,kentucky,USA
    Posts
    61

    Post

    you cannot directly change data type of table in access or Sql Server 6.5 but

    You can create a duplicate table at runtime and drop the field you want to edit and add field.

    Note:
    To add and drop a field See Alter table in Access Help.

    And then you can use select statement to pull all the data and place in the duplicate table.

    I hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width