- Posts: 3
- Thank you received: 0
MSSQL Identity
- ninomartini
- Topic Author
- Offline
- New Member
-
Less
More
18 years 7 months ago #48
by ninomartini
MSSQL Identity was created by ninomartini
I want to populate a MSSQL identity field automatically. I have not been successful in doing this with VIMP Pro v7.0.4.
- I am using MS SQL Server, not the ODBC connection.
- I have an identity field in the table structure.
- I have the field marked as "Not Mapped" and tried both "Keep Identity" as True and False.
In addition, I tried field types of int and numeric in the MSSQL table structure.
The message I get from VIMP Pro is "Mandatory Field LOANID missing", (LOANID is my identity field)
- I am using MS SQL Server, not the ODBC connection.
- I have an identity field in the table structure.
- I have the field marked as "Not Mapped" and tried both "Keep Identity" as True and False.
In addition, I tried field types of int and numeric in the MSSQL table structure.
The message I get from VIMP Pro is "Mandatory Field LOANID missing", (LOANID is my identity field)
Please Log in or Create an account to join the conversation.
18 years 7 months ago #49
by mike8888
Replied by mike8888 on topic RE: MSSQL Identity
Please Email us the following
table creation script.
example of data
Error Log
VImpRepository.mdb file
Mike
table creation script.
example of data
Error Log
VImpRepository.mdb file
Mike
Please Log in or Create an account to join the conversation.
18 years 7 months ago #51
by mike8888
Replied by mike8888 on topic RE: MSSQL Identity
Hi.
I've managed to reproduce the problem
Can you try the following
set Keep Identity to false
set Mapping type to calculated for identity field
type 1 in calculation box
Mike
I've managed to reproduce the problem
Can you try the following
set Keep Identity to false
set Mapping type to calculated for identity field
type 1 in calculation box
Mike
Please Log in or Create an account to join the conversation.
- ninomartini
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
18 years 7 months ago #53
by ninomartini
Replied by ninomartini on topic RE: MSSQL Identity
Your solution works, thank you.
set Keep Identity to false
set Mapping type to calculated for identity field
type 1 in calculation box
set Keep Identity to false
set Mapping type to calculated for identity field
type 1 in calculation box
Please Log in or Create an account to join the conversation.