Advertisement

05.14.2008 at 06:16AM PDT, ID: 23401243
[x]
Attachment Details

Open a Form to a specific record

Asked by djp12345 in Access Forms

Tags: Access 2000

OK I am not even close to a novice on this but I am stumped so the easier the explaination the better.

I am creating a scan/verification app for pre-printed barcode tickets. The form called frmscan is based on a table called tblscan which contains 10 fields. Spart1, Spart2, 3, 4, 5 and VPart1, 2, 3, 4, 5. What will happen is the user will scan in barcode labels (Spart1, 2, 3, 4, 5) and verify them against VPart1 and so on. I have the code in place to check this. Once the last record is verified the form moves to a new record on the form (record 2 of 2 at the bottom). My issue is that it is possible to run out of components to build so an operator may only scan in 1, 2, 3, or 4 out of the 5 labels until the next day when more parts arrive.

So l will need the form to re-open to the records that were not completed. I will use Spart1 field as an example. What I did was create the following in the Open Event on the form which is not working.

Dim rs As Object
Set rs = Me.Recordset.Clone
rs.findfirst "Isnull ([Spart1])"
Me.Bookmark = rs.Bookmark
Me.Spart1.SetFocus

When I open the form it always seems to go to the first set of records on my form wich is already completed. Also I need to know how to incorportate the null fields in an if statement since it is possible to have either the 1st, 2nd, 3rd, or 4th fields of Spart blank. Or if someone can give me a better code route to pursue that would be great.Start Free Trial
 
 
[+][-]05.14.2008 at 07:31AM PDT, ID: 21564611

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Access Forms
Tags: Access 2000
Sign Up Now!
Solution Provided By: koutny
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.14.2008 at 07:38AM PDT, ID: 21564690

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 07:58AM PDT, ID: 21564915

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 09:55AM PDT, ID: 21566243

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.14.2008 at 09:57AM PDT, ID: 21566256

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628