Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Model-Driven Form update ID Property

Avatar

Level 1

Hi,

In my model, i have a table with a field called "uniqueID". UniqueId is a "ID property" who is not auto-generated.

Capture d’écran 2011-06-14 à 11.10.32.png

I have created a form, a driven from,

Capture d’écran 2011-06-14 à 11.08.06.png

When i tried ti update the row, everything working if i didn't try to update uniqueID field.

Capture d’écran 2011-06-14 à 11.09.40.png


What i am doing wrong ?

Does anyone know what causes this issue?  It's driving me nuts.

Thanks -

Bolo

www.lordalexworks.com

0 Replies

Avatar

Level 2

Why are you changing the primary key and why is it not auto-increment? Just wondering.

Avatar

Level 1

Why are you changing the primary key and why is it not auto-increment? Just wondering.

It's a request from our client.

Avatar

Level 2

Does your database allow you to update a primary key? Try doing it in a query tool. If you DBMS does not allow it, you will not be able to do it with an MDF.

Regards,

KenS

Avatar

Level 1

I can update the field with Mysql Browser.