14. september 2004 - 12:04Der er
7 kommentarer og 1 løsning
Åbne min egen helpfile ved hjælp af F1
Jeg ved at der er andre der har spurgt om det før mig men jeg synes ikke rigtig at jeg kan finde et klart svar, så jeg spørger derfor: Hvordan får jeg min accessdatabase til at vise en hjælpefil (help.chm) når jeg trykker på F1.
Jeg vil gerne have at hjælpefilen lægger ved siden af databasen.
Håber at der er nogen der kan give mig et klart svar til hvordan jeg gør. Ved tryk på F1 skal min hjælpefil åbnes og MS Access' skal ignoreres.
Den moderne arbejdsplads er i stigende grad afhængig af mødelokaler til at fremme samarbejde, men dette skift medfører også stigende sikkerhedsudfordringer.
The HelpContextID property specifies the context ID of a topic in the custom Help file specified by the HelpFile property setting.
The HelpFile property specifies the name of a custom Help file for the current form or report.
Setting
For the HelpContextID property, enter a Long Integer value between 0 and 2,147,483,647 representing the context ID of the Help file topic you want to display. The default setting is 0. Note If you enter the context ID of the Help file topic as a positive number, the help topic will display in a "full" help topic window. If you add a minus sign ("-") in from of the context ID, the help topic will be displayed in a "pop-up" window. It is important to note the the context id does not have to have a negative number when authored in Microsoft Help Workshop. You must add the minus sign when setting the property to make the topic display in the pop-up window.
For the HelpFile property, enter a string expression that contains the path and file name of a custom Help file created with the Windows Help Compiler.
You can set these properties by using the property sheet, a macro, or Visual Basic. These properties don't apply to controls on reports.
Remarks
You can create a custom Help file to document forms, reports, or applications you create with Microsoft Access.
When you press the F1 key in Form view, Microsoft Access calls the Microsoft Help Workshop or Microsoft HTML Help Workshop application, loads the custom Help file specified by the HelpFile property setting for the form or report, and displays the Help topic specified by the HelpContextID property setting.
If a control's HelpContextID property setting is 0 (the default), Microsoft Access uses the form's HelpContextID and HelpFile properties to identify the Help topic to display. If you press F1 in a view other than Form view or if the HelpContextID property setting for both the form and the control is 0, a Microsoft Access Help topic is displayed.
når jeg har indtastet navnet på min fil help.chm, og indtastet 1 i HelpContextID får jeg følgende fejl: HH_HELP_CONTEXT called without a [MAP] section....
Hvad betyder det. Og skal jeg taste hjælpefilens navn ind på alle forms?
Jeg er ikke helt fortrolig med funktionaliteten ... desværre ...
Hvis ikke dette virker, ved jeg desværre ikke yderligere
When you press the F1 key in Form view, Microsoft Access calls the Microsoft Help Workshop or Microsoft HTML Help Workshop application, loads the custom Help file specified by the HelpFile property setting for the form or report, and displays the Help topic specified by the HelpContextID property setting.
hmm ja det er også umiddelbart det jeg er kommet frem til men jeg kan ikke rigtig forstå at den ikke vil åbne min fil så. Jeg kan sagtens åbne den manuelt når den lægger ved siden af.
Dette er et svar for al lukke et meget gammelt spørgsmål.
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.