A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

you can't go to the specified record



 
 
Thread Tools Display Modes
  #1  
Old July 7th, 2004, 07:22 PM
Melanie O
external usenet poster
 
Posts: n/a
Default you can't go to the specified record

I have a form based on a query which involves three tables. All three tables have primary keys defined and their relationships are set up correctly (I think) in the query. When the form is opened via a macro, the command GoToRecord New prompts the error message: "You can't go to the specified record. You may be at the end of a recordset." The macro fails, and when you click on the "Add a new record" button on the form, the same error appears. The form's properties allow for edits, additions, etc. Any ideas?
  #2  
Old July 7th, 2004, 08:34 PM
StCyrM
external usenet poster
 
Posts: n/a
Default you can't go to the specified record

Hi Melanie

If you open your query, does it allow you to add a record? If not, you may
have a problem with your joins.

Best regards

Maurice



I have a form based on a query which involves three tables. All three tables
have primary keys defined and their relationships are set up correctly (I
think) in the query. When the form is opened via a macro, the command
GoToRecord New prompts the error message: "You can't go to the specified
record. You may be at the end of a recordset." The macro fails, and when
you click on the "Add a new record" button on the form, the same error
appears. The form's properties allow for edits, additions, etc. Any ideas?








  #3  
Old July 7th, 2004, 09:38 PM
Melanie O
external usenet poster
 
Posts: n/a
Default you can't go to the specified record

Maurice,

Thanks for the response. No, the query does not allow me to add another record. To test, I deleted the joins, even though I knew I would get a Cartesian product, but I still cannot add a record. How do you troubleshoot this?

Thanks,
Melanie

"StCyrM" wrote:

Hi Melanie

If you open your query, does it allow you to add a record? If not, you may
have a problem with your joins.

Best regards

Maurice



I have a form based on a query which involves three tables. All three tables
have primary keys defined and their relationships are set up correctly (I
think) in the query. When the form is opened via a macro, the command
GoToRecord New prompts the error message: "You can't go to the specified
record. You may be at the end of a recordset." The macro fails, and when
you click on the "Add a new record" button on the form, the same error
appears. The form's properties allow for edits, additions, etc. Any ideas?









  #4  
Old July 9th, 2004, 08:15 PM
StCyrM
external usenet poster
 
Posts: n/a
Default you can't go to the specified record

Hi Melanie

Could you possibly send me the structure of the tables, and explain exactly
what you are trying to do?

Or even better, send me a copy of the database to the email address.

Best regards

Maurice


  #5  
Old July 12th, 2004, 05:06 PM
Melanie O
external usenet poster
 
Posts: n/a
Default you can't go to the specified record

Maurice,

Sorry, I'm missing something here. Which email address?

Thanks,
Melanie

"StCyrM" wrote:

Hi Melanie

Could you possibly send me the structure of the tables, and explain exactly
what you are trying to do?

Or even better, send me a copy of the database to the email address.

Best regards

Maurice



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Button to print current record only Fatz Using Forms 6 June 17th, 2004 01:58 PM
Problems with record locking Ronny Salomonsen General Discussion 0 June 14th, 2004 09:37 AM
Form Doesn't Go To New Record Steve New Users 15 May 16th, 2004 04:33 PM
Form Does Not Go To New Record Steve New Users 1 May 12th, 2004 03:15 AM
Avoid Creating A Duplicate Record Mark New Users 4 May 11th, 2004 01:52 AM


All times are GMT +1. The time now is 10:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.