Istedet for at bruge sendkeys"{f9}",-1 skal jeg bruge en funktion som opdatere feltet, men ikke recorden.
Jeg har en dropdownboks, med et tal. Dette tal bruges i anden dropdownboks for at lave et kriterie. Så når jeg ændre tallet, skal den opdatere min anden dropdownboks med de korrekte oplysninger udfra mit tal i den første dropdownboks.
This line of code will only set the value of the combo to the value of second column (1) of the first row (0). The record is only in EDIT mode, which means it is not yet written to the table.
Me.Type.Value = Me.Type.Column(1, 0)
If you place a button on the form using the wizard you can choose a save button. The code will include a line like this.
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.