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

Slight Changes cause Run Time Error 2465

I have a form that is labeled Document Control. On this form it calls
an API Function to browse for a folder, puts its in to the text box
and allows you to create a table out of the folders contents. The
table field names are FilePath, FileName, ID, etc. all generated
automatically. It also picks up the other table from the database. Now
I also have a command button that when clicked pulls up another form
called getdocs. This form display the folder path in a text box, and
another text that lists the description of the FileName. I would like
to add a value list to the form, instead of scrolling through each
record of FileNames, but rather show a list of FileNames that the user
can pick and open when clicking on a command button. when I try to add
the value list "RunTime Error 2465"
Me![txtPath] = Me![FilePath] & Me![FileName] is highlighted. Anything
possibly small i do to these forms always shows this Error. Even when
changing the code for picking up "doc" and "xls" it will pick up "ppt"
files as well. When I change thats when I get the error. Any
suggestions, greatly appreciated.
Christopher Dix
Kabul, Afghanistan

Feb 18 '07 #1
1 2385
chris wrote:
I have a form that is labeled Document Control. On this form it calls
an API Function to browse for a folder, puts its in to the text box
and allows you to create a table out of the folders contents. The
table field names are FilePath, FileName, ID, etc. all generated
automatically. It also picks up the other table from the database. Now
I also have a command button that when clicked pulls up another form
called getdocs. This form display the folder path in a text box, and
another text that lists the description of the FileName. I would like
to add a value list to the form, instead of scrolling through each
record of FileNames, but rather show a list of FileNames that the user
can pick and open when clicking on a command button. when I try to add
the value list "RunTime Error 2465"
Me![txtPath] = Me![FilePath] & Me![FileName] is highlighted. Anything
possibly small i do to these forms always shows this Error. Even when
changing the code for picking up "doc" and "xls" it will pick up "ppt"
files as well. When I change thats when I get the error. Any
suggestions, greatly appreciated.
Christopher Dix
Kabul, Afghanistan
2465 is a "Can't find the field..." When it blows up, you can scroll
across the abort line and see which field is the problem. Which field
(txtPath, FilePath, FileName) is the problem field? Do any of these
fields have a control source in them (I'd assume they'd be unbound in
your form).

You can go to
http://groups.google.com/advanced_se...e=UTF-8&hl=en&
In the Find box enter
2465
and in the groups box enter
*access*

Perhaps you'll find something in one of those threads that will help you
pinpoint the problem.
Feb 18 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Lyn | last post by:
Hi, this has been driving me nuts. I'm on Office 2003 SP1, Win XP SP1. I am opening a form with a number of subforms based on various tables. The subforms are populated via the main form's...
6
by: MLH | last post by:
"The following unexpected error occurred in Sub CopyMySQLbttn_Click, line #250, CBF on frmVehicleChooserform. 2465: "Can't find the field 'forms' referred to in your expression. You may have...
6
by: Ian Boyd | last post by:
Every time during development we had to make table changes, we use Control Center. Most of the time, Control Center fails. If you try to "undo all", it doesn't, and you end up losing your identity...
4
imrosie
by: imrosie | last post by:
Hello all, Yes, another newbie...HELP please. I have a problem compiling a procedure on a form. The 'search customer' form was built on a query. The proc is attached to command button which opens...
5
by: fimarn | last post by:
I am trying to get rid of compile time error that I am getting only in RHEL5 (not in RHEL4) apparently due to the changes in the stl_list.h file. The error that I am getting is coming from the...
1
by: hr833 | last post by:
If IsNull() Then MsgBox "MyField has to be filled in!", vbOKOnly Temp.MasterDP.SetFocus End If What is wrong with my codes, it keeps returing error 2465, can't find .... Temp is a table with...
1
by: Gilberto | last post by:
Hello I have a big BIG problem. Im new with acces and ive been creating a db for a month now. It was working perfectly and just after i did a db SPLIT some functions began displaying error 2465. I...
1
by: Ben | last post by:
Environment Info: - MS Access Sales System (front-end) - SQL Server Standard (back-end) Information of the Problem: ** In the Inventory items data: - when user enters a new item and does...
2
by: zufie | last post by:
I have an Option GROUP which produces 6 different report between two dates. A separate Option BUTTON determines the period of the report once I enter the From & To Dates into the textboxes. I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.