15. juli 2002 - 09:04Der er
15 kommentarer og 1 løsning
Form : Recordset not updateable
Jeg har to relaterede tabeller, som jeg har proppet ind i en liste (lstALL) på en form (frmALL). Hvis jeg selecter en record på listen (lstALL) og klikker på en edit-knap åbner der sig en form (frmEDIT) med den valgte records egenskaber (rent faktisk lukker formen med frmALL ned først, og åbner så frmEDIT).
Men... jeg kan ikke ændre på data i frmEDIT. Jeg har valgt Allow Edits=yes etc. i properties for frmEDIT.
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
Cant see your data, if its a linked table make sure you have a primary key! If there is more than one table then your relationships must also be in order!
Then I've a list (lstAll) on frmALL which shows all vouchers from tblInvoice and their related OperatorNames... When I choose edit then a form finds the invoice from tblInvoice where voucher is equal to the selected voucher from lstAll.
frmALL closes down and frmEDIT opens with the correct invoice. But I cant update the data...
I am guessing that you are JOINing the two tables in your query, on CreditorNo, but this is NOT a primary key. The creditor No must be a primary key inone of the table and a foreign key in the other
The problem with this is that they are BOTH foreign keys, which will return more than one record, and Access cant make a UNIQUE relationship! tblInvoice!CreditorNo -------> tblPartners!CreditorNo
Hi brobaek>I can understand that you don like the answer, but points arent given for a happy customer, they are given for a correct answer. Its a hard world sometimes :o)
:o) Problem with that approach is that you may not get any answers!
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.