Denne side indeholder artikler med forskellige perspektiver på Identity & Access Management i private og offentlige organisationer. Artiklerne behandler aktuelle IAM-emner og leveres af producenter, rådgivere og implementeringspartnere.
normally I use . but in some cases it sbest to use!
Try Me!SubFormContainer.form.[T-BilID].SetFocus
NOTE: SubFormContainer is the object containing the sub form. Normally they will have the same name, but this is NOT necessary. So make sure that you replace
SubFormContainer with the name of the object containg the sub form and NOT the name of the sub form.
If you still have problems then your welcome to send me your dB and I'll see if I can find the problem.
Hej Terry.. ja, nu virker det. Kan dog ikke forstå at du siger jeg skal komprimere min dB, fordi det gjorde jeg nemlig lige før jeg sendte den til dig.
Kan du forklare mig hvorfor det er nødvendigt med begge linjer og kun den første?
I dont mean compact but compile. (Debug+Compile menu i code view).
The first line of code actually does place the cursor in the correct field. But focus is still on the main form. So its necessary to move focus to the sub form.
Try only using the first line, and then click on the scroll bar in the sub form. You will now see that the cursor is in the correct field. By clicking on the scroll bar you move focus to the sub form.
You could say that each form will have focus on a field, but the form has to have focus before you can actually see it.
If you move focus back to the main form you will see that the field which had focus before moving to the sub form will again have focus.
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.