473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Custom Help Files

rcollins
234 100+
I want to make a help file where all of the help info is in a table. The fields would be ID, Help and Description. I want it to work so when I click on button called Command 22, that it pulls up the help and description for ID = 1 and so on for however many help items I put in the table
I am using windows XP and Office 2003
Sep 21 '07 #1
6 2051
Scott Price
1,384 Expert 1GB
I want to make a help file where all of the help info is in a table. The fields would be ID, Help and Description. I want it to work so when I click on button called Command 22, that it pulls up the help and description for ID = 1 and so on for however many help items I put in the table
I am using windows XP and Office 2003
Do you want this help file to be context sensitive? I.E. when working on a specific form have a Help button that will load the help text for that specific form?

If so, you'll need to expand the structure of your help system, to include a Database objects table that you can then link to the help table using a foreign key reference. You'll need to place a hidden control that contains the FormID # on each form also.

Then you'll need to dynamically create an sql query on the click event of the command button.

Regards,
Scott
Sep 21 '07 #2
rcollins
234 100+
Do you want this help file to be context sensitive? I.E. when working on a specific form have a Help button that will load the help text for that specific form?

If so, you'll need to expand the structure of your help system, to include a Database objects table that you can then link to the help table using a foreign key reference. You'll need to place a hidden control that contains the FormID # on each form also.

Then you'll need to dynamically create an sql query on the click event of the command button.

Regards,
Scott
All I need is for when they click a button, it pulls up the one record. The help for each button is specific, directions for that part of the form, so that is why I wanted to have it pull up by ID so it only has one choice. Should be simple...
Sep 21 '07 #3
Scott Price
1,384 Expert 1GB
All I need is for when they click a button, it pulls up the one record. The help for each button is specific, directions for that part of the form, so that is why I wanted to have it pull up by ID so it only has one choice. Should be simple...
Are you having specific problems with how to do this, or are you looking for an overview of the process?

So far, I'm not sure what you are really looking for as an answer to this thread!

Regards,
Scott
Sep 21 '07 #4
rcollins
234 100+
Are you having specific problems with how to do this, or are you looking for an overview of the process?

So far, I'm not sure what you are really looking for as an answer to this thread!

Regards,
Scott
In visual studio editor, I have
Expand|Select|Wrap|Line Numbers
  1. Private Sub Command22_Click()
  2. On Error GoTo Err_Command22_Click
  3.  
  4.     Dim stDocName As String
  5.     Dim stLinkCriteria As String
  6.  
  7.     stDocName = "frmHelp"
  8.  
  9.  
  10.     DoCmd.OpenForm stDocName, , , stLinkCriteria
  11. DoCmd.ApplyFilter , "ID = '1'"
  12.  
  13. Exit_Command22_Click:
  14.     Exit Sub
  15.  
  16. Err_Command22_Click:
  17.     MsgBox Err.Description
  18.     Resume Exit_Command22_Click
  19.  
  20. End Sub
  21.  
When I click on the button it says "Aplly Filter action was canceled"
When I click OK all of the records are showing.
Sep 21 '07 #5
puppydogbuddy
1,923 Expert 1GB
FYI and ideas, see this link for a third party Help System constructed using an Access form and table as you described:

http://www.acc-technology.com/hpwiz.htm
Sep 21 '07 #6
puppydogbuddy
1,923 Expert 1GB
In visual studio editor, I have
Expand|Select|Wrap|Line Numbers
  1. Private Sub Command22_Click()
  2. On Error GoTo Err_Command22_Click
  3.  
  4.     Dim stDocName As String
  5.     Dim stLinkCriteria As String
  6.  
  7.     stDocName = "frmHelp"
  8.  
  9.  
  10.     DoCmd.OpenForm stDocName, , , stLinkCriteria
  11. DoCmd.ApplyFilter , "ID = '1'"
  12.  
  13. Exit_Command22_Click:
  14.     Exit Sub
  15.  
  16. Err_Command22_Click:
  17.     MsgBox Err.Description
  18.     Resume Exit_Command22_Click
  19.  
  20. End Sub
  21.  
When I click on the button it says "Aplly Filter action was canceled"
When I click OK all of the records are showing.


http://www.acc-technology.com/hpwiz.htm[/quote]


I would do it this way (assuming ID is a numeric field):
I am also assuming that you have a textbox control bound to your ID field named txtID....change to actual name of textbox
stLinkCriteria = "[ID] = " & Me!frmHelp!txtID
DoCmd.OpenForm stDocName , , , stLinkCriteria

If ID is text data type, do it like this:

stLinkCriteria = "[ID] = '" & Me!frmHelp!txtID & "'"
DoCmd.OpenForm stDocName , , , stLinkCriteria
Sep 21 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Nadav | last post by:
Hi, I have to read files generated by 3rd party application, these files are in a propriotary format ( not generated using the .NET framework ), I want to implement a custom DeSerializer to read...
16
by: Bret Pehrson | last post by:
I've converted a non-trivial C++ library to managed, and get the following unhelpful linker error: Assignment.obj : error LNK2022: metadata operation failed (80131195) : Custom attributes are...
5
by: rdcpro | last post by:
In reading MSDN docs on creating custom Configuration sections, I found this page: ...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
1
by: aspnet20vb_mike | last post by:
I have a Custom Control which inherits from GridView. I call it GridViewSort and it is in a namespace "PDS.WebControls". I add it to the Toolbox, drop it on my WebForm and it shows up and...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
13
by: Matt F | last post by:
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible...
0
by: benjamin11 | last post by:
Hi all, A few questions regarding the custom setup program in C#: 1. How do I make the custom setup copy a few files (image files, icon files, or text files), into the application...
0
by: mk189 | last post by:
Hi, I am trying to create XML schema of custom markup language, enriched by XHTML. In simplified version, the XML documet could look like that: <a:alarm-manual xmlns:a="alarm-manual"...
5
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
Using VS2005: We have created custom class projects that output to DLL files. In our App, we add these to the list of Solution References and include them in the code. When the App...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.