473,387 Members | 1,365 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,387 software developers and data experts.

Button to fill field for report

Ok, So I have a button to fill a field with "Y" and then when I click another button the field goes to the report so I can print it. The button was working at one time and then it stopped. didn't change anything, can anyone help.
Expand|Select|Wrap|Line Numbers
  1. Private Sub Command8_Click()
  2. If Me.fPrint = "" Then
  3.     Me.fPrint = "Y"
  4. Else
  5.    Me.fPrint = ""
  6. End If
  7.  
  8. End Sub

May 10 '16 #1
1 949
zmbd
5,501 Expert Mod 4TB
Follow the trouble shooting steps in section A of the following thread: Before Posting (VBA or SQL) Code

Once you can compile the code we can work thru any remaining issues.
May 11 '16 #2

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

Similar topics

3
by: Andrew | last post by:
What I have right now is a list of potential clients for my agency in report form. They are inputted through a basic form and then shown on our Intranet via a DAP. What I need is some way to...
1
by: ZinksInk | last post by:
The goal here is to design a database where once an Invoice is opened a focus is set on the Invoice number. I want to then apply this invoice number to a report so I do not have to requery the...
1
by: olivier.wambacq | last post by:
hello, This sounds simple but I can't seem to manage... So I'm in a form, and have got a button to "open" (make visible) a subform. the subform actually contains fields from the same table as...
0
by: netlady | last post by:
Hi, can someone help me or share his or her idea why I am always getting a blank web page whenever I click the export button or the navigational next toolbar of the crystalreportviewer in .net ? I...
1
by: jagan1976 | last post by:
I want to disable close button for each report and it would apply to all users. Is there any script or method available which will disable close button for all reports at once without using...
9
by: DAHMB | last post by:
I have a Report in which I have one of the fields set up to launch a form with the On Click event. I would like to have the form launch and auto fill a field with the value of the field clicked in...
5
by: special1 | last post by:
I would like to be able to auto fill field B with contents of Field a when Field A is a specific word, e.g DNA in Field A would apply to Fields B, C, D etc. Any ideas?
0
by: LukasMalik | last post by:
Hi all, Please, would anyone advice.. My database has more than 50 tables and more than 300 views. I have to also create about 30 reports. I want to fill these reports with data from views, which...
2
by: MyWaterloo | last post by:
Ok. I have a form with a field for a sampler's name, number, and email address. The sampler's name is selected from a combo box that references a table with name, number, and email. I want to be...
3
by: pboothe | last post by:
On one monitor my form displays ALL the time for people to update and the report is displayed on a HUGE TV above using the same access program. I need to have the form on my monitor update the...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.