I know there is a Access Guru out there that could do this in a milisecond, but, this one has been kickin my backside all week...
I need to know how to create a shortcut button in a form to bring up the "Report Wizard" feature. Then after that button is created, I would like to be able to hide the structure of my database so that all the users can see is the switchboard. PLEASE give me some insight here if you can, the first correct reply gets free fries with thier next order...
does anyone know how to create a shortcut for a command button? For eg, the caption of my command button is SAVE. how do i create a short cut (CTRL + S) for it? thanx
does anyone know how to create a shortcut for a command button? For eg, the caption of my command button is SAVE. how do i create a short cut (CTRL + S) for it? thanx
I am using access 2010 and I created couple of buttons on my forms that do some stuff in vba, but beside triger them with mouse I would also like my users to be able to have shortcuts on keyboard so for example I have btnClose an I widh when user press ALT + that btnClose do the same thing as it is doing when you press mouse on it.
I have a form that I am trying to add a Command Button to using the wizard. When creating the button I choose "Report Operation" and then "Preview Report". The next windows should show me a list of all my reports and let me choose one, but it shows none of my reports....just a windown with a blank entry.
If I select the blank entry and hit next I can finish creating the button, but then I get an error once I hit finish that says:
Microsoft Access failed to create the Visual Basic module '.'
Any ideas? I have tried a detect and repair, complete uninstall/reinstall, registry clearners, system restore, etc. and none of them seem to work. On another PC I can use the database I am trying to modify without any problems, so it must be something on my PC.....but what????
Also, it's not just Reports that won't display in the wizard....it's anything; forms and queries too.
Working on a form and when using the wizard to add a command button or a txt box the wizard gives it a funny name like command989. Im wondering why? Where does this default come from and why is the number so high? There is no way anywhere near that number of command buttons on this form.
in access 2003 i am not able to get the wizard to start. as per MS KB site the wizards are diaslabled due to security risk and i have to installed KB patch 829558 still unable to get the wizard to come on. anbody having same problem pleeese help
When I try to add a command button using the Command Button Wizard I get an Invalid Use of Null error. I am using Access 2003. I have successfully added other controls to the form. I have searched Microsoft and the forum for help, has anyone encountered this problem?
hey all, I am trying to load a print wizard after clicking on a command button. I am trying to use my filtered data to select specific fields to print. On the fly kind of report. I need to have the ability to use my filtered data to create a specific report. Any ideas?? Thanks
Howdy All!!! I am receiving the below error message: "You have chosen fields from record sources which the wizzard can't connect. You may have chosen fields from a table and a form a query based on that table. If so, try choosing fields from onluy the table or only the querry."
OK here is what is going on... I have a table that is linked to a *.txt file. This *.txt file comes from our AS400 and is the root of all my information. It has 2 pieces of information in it that I need to seperate out and then eventually join back together. It is a space delimited file. The 2 pieces of information are: 1) Header (Dates, Vessell, and Container information) 2) Body (Product information and qty of each Container)
The mapping looks like this: Header='ISPDD' 1- A Record Name = mid(1,5) [Ref. Example:ISPDD] 2- Unique Key = mid(6,7) [Ref. Example:0000001] 3- Container Number = mid(13,10) [Ref. Example:MK03000001] 4-Arrival Date = mid(23,8) [Ref. Example:06092004]
Body='ISPDT' 1- A Record Name = mid(1,5) [Ref. Example:ISPDT] 2- Unique Key = mid(6,7) [Ref. Example:0000001] 3- A item code = mid(13,6) [Ref. Example:007529] 4- A item color = mid(19,3) [Ref. Example:015] 5- Item Qty = mid(22,6) [Ref. Example:111111]
What I did is wrote 2 query's. One that looked at the *.txt file and produced results on [Like "ISPDD*"] to give me just the HEADER information. I then added the criteria from the space delimited mapping above. I did the same to pull out just the BODY information, again adding the criteria to the query from the space delimited mapping above.
Now that I have the two pieces of information, I want to run a report and combind the 2 together in a more reader friendly format. In doing so I received the error message above.
I then tried having the query's create a new table after they run (one Header Table and one Body Table). Once that completed I created a relationship between the 'UniqueKey Header' and 'UniqueKey Body'. This actually worked but, when I receive a new *.txt file and run the query it gives me read only/cannot delete files because of relationships. Needless to say I am in a bind. Hopefully I shared enough detail to help me with my problem. Many thanks in advance for the help. One other piece of info, This *.txt file can contain many headers and boddy information. I have received one that had at least 10 different Unique keys that had to be linked together.
When I try to use form/report wizard, I click on New, Form Wizard. Then I got form where I should pick fields for my form/report. But I have no one field on left side. Above I select Table but haven't any available field. I use Windows XP and Office 2003. Can anyone help me?
Hey can I transfer data into a report wizard, to have the wizard use that data instead of the data in a table or query?? This data would come from a form.
I'm working on a db for work. On my Nav form, I have two tabs- each tab has cmd btns that open up different search or data entry forms. I also have a few reports that can be opened based on a query I created.
The last thing I want to add is a control/button that opens the query wizard so the user doesn't have to navigate to the "Create" tab of access. The reason behind this is that one user may not know how/where to find the query/report wizard.
Is there some VBA code or Macro I can create to add this functionality to a button ("Create New Report" or "Create New Query".)
I am trying to generate a report from a select query using the report wizard. The wizard is showing the error of subscript of out range. What is the reason and how can be rectified?
I am looking to call two different queries from report wizard to produce report. Getting error message what to do in this situation as both queries are important as i have to pick all records from query A and just one record from query B any other option to get this in report.
I have a form with 7 List boxes linked to 7 Query's which in turn are linked to a table. Each list box if for a particular trade.
I am trying to select a person or persons from each List box and then have them sent to a report. I have Code to do one list box, but do not know how to link all boxes with code to a 'Open report' button.
The code I am using is as follows:-
Private Sub cmdOpenReport_Click() On Error GoTo Err_cmdOpenReport_Click Dim strWhere As String Dim ctl As Control Dim varItem As Variant 'make sure a selection has been made
I have a database that is uses a job number as the primary key, on a form that has been querried from this key to have a single button to print the report, from the number that is held in the txtbox would I have to create this in the on click properties and if so please help!
Good morning All, I have a form with a command button to open a report ( based on a query ) for the currently displayed record. here is the code I have used:
Private Sub CS_notes_Click() On Error GoTo Err_CS_notes_Click Dim stDocName As String
I believe this came from this forum sometime. When the button is clicked I receive the error: "Syntax error (missing operator) in query expression '(TLAUnit = 26712B')'
TLAUnit is the report field, UnitSN is the form field. Any help with the error? Thanks Kevin
I have a report that displays 5 different status. The problem is I need an unbound box to display a certain word when one of the status's is displayed. But the thing is there should be an over-ride checkbox that will display "Void" if it is checked regardless of the status and in the Unbound Box Void will appear regardless of status. Here is an example:
Status Unbound Box Happy Good Sad Problem Happy Void Sad Void
Note the last 2 on status's list had the checkbox for "Void" Checked.
I know this sounds crazy! I don't even know why I was asked to do somethng like this. People just make up things to do in ACCESS for no apparent reason becuase it comes to their mind!
I have a report which shows a set of events. In this report each row has a sub report which show the guests that are attending. What I would like to do is to use a button to drill down into each individual event and hide it again on clicking the button (like a toggle button). I have used the following code which is attached to a button in the report (each event has a button)
Code: If Me.GuestSubReport.Visible = True Then Me.GuestSubReport.Visible = False Else Me.GuestSubReport.Visible = True End If
I have used this in conjunction with the 'Can Grow' option and it works almost perfectly. The only problem is it shows or hides all sub reports at the same time instead of just the sub report in the given row.
Is there a way I can target the individual sub report when pressing the button?
I'm having a little trouble getting this accomplished. I can instruct access to print the report, however I just want to be able to view the report after I select a button. I will attach a picture so you can see what I have thus far. I do have an older version of this and it works flawlessly and as far as I can tell everything is a carbon copy of the working version.