| От | lothar.behrens@lollisoft.de |
|---|---|
| Тема | Bound column and serial datatype question |
| Дата | |
| Msg-id | 4264FEFB.10829.EB6968@localhost обсуждение исходный текст |
| Ответы |
Re: Bound column and serial datatype question
|
| Список | pgsql-odbc |
Hi, I have a table like this: CREATE TABLE Kunden ( ID serial NOT NULL, CustomerNr serial NOT NULL, Name CHAR(100), ... ); Using bound columns in a form to show the customer data I don´t like to let the user updating the CustomerNr field. This is because, a normal data field is not autogenerated, but these 'serial' data fields. But I like to show the CustomerNr field in the form. Therefore, I simply made the field readonly in the form. But if I insert a new row, the fields data (defaults to 0) would be used as the new value in the table. How to avoid this ? Thanks Lothar -- Lothar Behrens www.lollisoft.de Rosmarinstr 3 My public project: 40235 Düsseldorf http://sourceforge.net/projects/lbdmf
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера