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  

Cannot add record with acFormAdd



 
 
Thread Tools Display Modes
  #1  
Old December 7th, 2006, 03:18 PM posted to microsoft.public.access.forms
janiotjoeawie via AccessMonster.com
external usenet poster
 
Posts: 12
Default Cannot add record with acFormAdd

Hi I have a form called frmRelations" I need to add some relations to my
database. At my Switchboard I have a item which calls DoCmd.OpenForm
"frmRelations", acNormal, , , acFormAdd
I've this same form (differnent Access databases)connected to 2 different
workspaces of the same Oracle database via linked tables. In 1 tablespace I
get the correct form without entries so I can enter a new Relation. In de
other workspace I get every time if I try it the first record of my table.
Every thing is the same becase the latter is a copy of the first 1.
Any help please.

Regards

--
Message posted via http://www.accessmonster.com

  #2  
Old December 7th, 2006, 03:28 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Cannot add record with acFormAdd

Are you getting an error? Do you have a primary key defined on the table in
Oracle?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"janiotjoeawie via AccessMonster.com" u7669@uwe wrote in message
news:6a68d182176a9@uwe...
Hi I have a form called frmRelations" I need to add some relations to my
database. At my Switchboard I have a item which calls DoCmd.OpenForm
"frmRelations", acNormal, , , acFormAdd
I've this same form (differnent Access databases)connected to 2 different
workspaces of the same Oracle database via linked tables. In 1 tablespace
I
get the correct form without entries so I can enter a new Relation. In de
other workspace I get every time if I try it the first record of my table.
Every thing is the same becase the latter is a copy of the first 1.
Any help please.

Regards

--
Message posted via http://www.accessmonster.com



  #3  
Old December 7th, 2006, 03:54 PM posted to microsoft.public.access.forms
janiotjoeawie via AccessMonster.com
external usenet poster
 
Posts: 12
Default Cannot add record with acFormAdd

Hi,

I do not get an error. On the first table space it gives me my form just
ready to enter a new relation (as wanted) on the other table space it gives
me the first record of the table. The tables do have an index.



Douglas J. Steele wrote:
Are you getting an error? Do you have a primary key defined on the table in
Oracle?

Hi I have a form called frmRelations" I need to add some relations to my
database. At my Switchboard I have a item which calls DoCmd.OpenForm

[quoted text clipped - 8 lines]

Regards


--
Message posted via http://www.accessmonster.com

 




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


All times are GMT +1. The time now is 04:44 AM.


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