473,406 Members | 2,217 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,406 software developers and data experts.

Form name not recognize

14
Hi,

I'm creating a Dialog Box to go to a specific record in a form and I'm running into a problem because the form name is not recognize even though the form name is correct. The form name is frmDocInfo but in the 2nd line, it is not recognize. All my documentation is for Access 2000 and I'm using 2003, maybe there is something wrong in my script.

Thanks!

Private Sub Enter_Click()

Dim rst As DAO.Recordset

Set rst = Forms!frmDocInfo.RecordsetClone

rst.FindFirst "Doc_no" = " " & List0

Forms!frmDocInfo.Bookmark = rst.Bookmark

DoCmd.Close acForm, " ", "Search"


Marie Vaillancourt
Apr 13 '07 #1
3 1761
MMcCarthy
14,534 Expert Mod 8TB
Hi Marie

Is the Enter button on the frmDocInfo form?
If not is the frmDocInfo Form open?
Is it a main form and not a subform?

Mary
Apr 13 '07 #2
zoro25
14
Hi Marie

Is the Enter button on the frmDocInfo form? No, the enter button is on the new form Search. To be used to open the frmDocInfo form after picking the correct record.

If not is the frmDocInfo Form open? No, the form is closed.

Is it a main form and not a subform? Yes, it is a mainform (which contains a subform)

Mary
Thanks

Marie
Apr 13 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Thanks

Marie
You're welcome.

I gather that sorted it out.

Mary
Apr 13 '07 #4

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

Similar topics

3
by: Doug | last post by:
I can't get a form coding to recognize a download.php to download a file to the client. I need the edits of the form for a MySQL table, but the following form code only wants to download...
5
by: Terri I. | last post by:
I have an application that uses HTML, JavaScript, and ColdFusion 4.5. It was originally written for NN 4.75, and I am updating it to work in the newer browser. The application consists of a...
2
by: Axel Foley | last post by:
Hi Folks, i'm newbie at JS; but "learning by tweaking" is my middle name! Trying to set up a link partnership application on a client's site; got this script at "The Javascript Source", but it...
4
by: Steve | last post by:
Hi everyone, I have a test page. When I press the button, it bring form.html, which is fine. When I press Enter key in the textbox, it gives me an error saying this.form.cmd is not an object. ...
5
by: Phil Powell | last post by:
I cannot fathom this one.. for some cracked reason, one of my forms is totally OK and the other is apparently nonexistent according to both HTML and Javascript. The second form never submits...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
4
by: Angel | last post by:
I have an html form with checkboxes in different rows. The functionality is that of changing the position of the checkboxes through DOM. When I try to save the form after the changes, firefox...
2
by: shingabiss | last post by:
This is an odd one; I have a form with the usual text boxes, labels and command buttons on it. There is one label, whose name I have changed several times as an attempt to make it be recognized in...
12
rcollins
by: rcollins | last post by:
I have a form with 2 combo boxes on them. I want to pick info and run the report. the error I get when I put criteria in the query is "The Microsoft Jet Database does not recognize "!!" as a valid...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.