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

Problem with recognizing my last checkbox

I am not good with the Sql or code writing.

I have a form in Access 2007,
I created a checkbox by each dynamic row so the user can select the "row" he wants to print.
Everything seems to work fine but the last checkbox "selected" regardless of which row is not seen.

Only by having the user "tab" or place curser on a different section of the form, will the last selected checkbox show on the report.

How can I have the selections recognized with any additional steps?
Thank You for your assistance
Pete
Sep 3 '09 #1
5 1922
Megalog
378 Expert 256MB
Greets Pete,

Your post is missing loads of information, so I'm going to presume as much as I can here...

You speak of a form then a report.. So the checkboxes are what you are filtering for in your report? (Only those records selected on the forms show up in the report?)

Are they launching this report off a button on the form? If this is the case, it sounds like maybe that record isnt being saved first, and we'll need to adjust your process slightly to ensure the data is saved before the report is opened.

Before we go any further, please clarify what steps are being taken exactly.
Sep 3 '09 #2
My apologies Megalog, for the limited information
I am working off a form, is not saved, the user selects the “boxes” he wants as filtering for the report.
After he selects his choices off the form, he then “hits” the print preview (command ) button that I have placed on the form.
From there the filtered results show up on the Report page for viewing, saving or printing.
We can see all the filtered selections but the last one, unless I select or click on a different area of the form, AFTER this, then we CAN see the last selection on our Report Preview.
Hope this is a bit better explanation?
Thank you for your assistance…
Pete
Sep 3 '09 #3
FishVal
2,653 Expert 2GB
Pete. The reason for it is that the last record is not yet saved to the bound table.
You could force the record to be saved by setting form's "Dirty" property to False on button click.
Sep 3 '09 #4
Thank You for your response FishVal.
I went to the section you mentioned but it requires a code sequence, which since I am new at this, I do not know what to place here?
Or am I missing something from your response?
Thank You
Pete
Sep 3 '09 #5
FishVal
2,653 Expert 2GB
I guess you may place
Me.Dirty=False
directly before any other code in your button click event handling subroutine.
Sep 3 '09 #6

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

Similar topics

3
by: Tony | last post by:
On PageA I have: <Input Type="CheckBox" Name="chkBox" Size="1" Value="True" checked> Which works fine! On PageB I have; <%If Request("chkBox")=True Then Response.Write "True" Else
3
by: Adam Toline | last post by:
In reference to the following: http://www.bellecose.com/form.htm At the top of each column there is a box for "All". When one is checked I need to check all of (and only) those boxes...
0
by: Viktor Popov | last post by:
Hi, I'm trying to do the following but I can't understand what's wrong. Could you help me here! I do paging with a Repeater like this: DataSet ds = new DataSet(); dad.Fill(ds, "MyOffers");...
0
by: Scott P. | last post by:
I'm creating an app using ASP .NET (my second app so bear with me here) that basically builds a PDF file based on a bunch of user selections. I have a page which displays a series of checkboxs...
2
by: JIM | last post by:
Hello, I would like to solve the following problem : I've a web site with ex. 5 checkboxes Each checkbox contains the name of a certain task ex. asp:Checkbox 1: Task 1 asp:Checkbox 2: ...
102
by: hug | last post by:
www.webmaster, was suggested that this ng could be a better place.] I've updated my test server to handle if-modified-since. I've noticed that the (old copies I run of) IE and Netscape seem...
2
by: JonBosker | last post by:
I am having a strange problem - my GridView is displaying bits (from SQL Server) as checkboxes (which is fine) but it shows each alternating one centrally aligned. Heading1 Heading2 Text ...
4
by: ma | last post by:
Hello, I have a GrideView that has 4 col. 3 of them are bound to a dataset and the last one is not. The last one is check box. The check box is defined as follow: <asp:TemplateField...
3
by: jerrygarciuh | last post by:
Hi folks, As part of an app I am validating and repopulating user input from check boxes. $responses is posted checkbox input, $answers is the data used to create and recreate the checkboxes. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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
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
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...

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.