Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 12:15 PM
Beacher
Guest
 
Posts: n/a
Default Please, any help appreciated

I have an access 2k3 front end linked to a SQL Server 2k backend and
have been having quite the issue with deleting.. I have a form with a
subform, in datasheet view.. there are 2 combo boxes both of which are
master links to the sub datasheet, now when I select a plant and a
date, it brings up all the correct records, but my problem is, if i try

deleting a row from the datasheet it deletes it. but then adds the
topmost record from my table in the database and changes the date to be

the same as the rest in the datasheet. This _seems_ to only happen if I

delete a row at the bottom of my datasheet. Any insight into why this
is happening is greatly appreciated, thanks!

  #2  
Old November 13th, 2005, 12:15 PM
Rick Brandt
Guest
 
Posts: n/a
Default Re: Please, any help appreciated

Beacher wrote:[color=blue]
> I have an access 2k3 front end linked to a SQL Server 2k backend and
> have been having quite the issue with deleting.. I have a form with a
> subform, in datasheet view.. there are 2 combo boxes both of which are
> master links to the sub datasheet, now when I select a plant and a
> date, it brings up all the correct records, but my problem is, if i
> try
>
> deleting a row from the datasheet it deletes it. but then adds the
> topmost record from my table in the database and changes the date to
> be
>
> the same as the rest in the datasheet. This _seems_ to only happen if
> I
>
> delete a row at the bottom of my datasheet. Any insight into why this
> is happening is greatly appreciated, thanks![/color]

For the functionality you want neither your main form nor the ComboBoxes
should be bound, but they currently are. While you are changing the
ComboBoxes only with the intent to control which records are displayed in
the subform since the controls and main form are bound you are actually
editing the first record that the main form is bound to.

Despite what the MasterLink / ChildLink wizard might have indicated it is
not required that the main form be bound in order to set those properties
up. That is only a requirement of the wizard.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles