MSSQL Identity

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)

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.