PC Review


Reply
Thread Tools Rate Thread

Access2003 to 2007 problem

 
 
Peter Kinsman
Guest
Posts: n/a
 
      22nd Jun 2010
A client has moved from Server 2003 to Server 2008 SP2 and Office 2003 to
2007. This has caused a number of problems including the following:
A form created in July 2008 to input actual issues has a subform
sfrmQuantitiesItems listing individual Order Items and another
sfrmQuantitiesIssues displaying available stocks in to enter issues. They
are separate subforms and not subform within subform. A command button on
the main form processes the issues for each item and running Access2003 used
to run the following code to move to the next Item row:
Me.sfrmQuantitiesItems.SetFocus
DoCmd.GoToRecord , , acNext
Running Access2007 it gives the not unfamiliar Error 2105 You can't go to
the specified record.

Most of the other problems I can deal with, although in the re-design
Microsoft have changed a lot of keyboard actions for whatever reason, but
this has got me stuck. Any suggestions please?

Many thanks

Peter Kinsman



 
Reply With Quote
 
 
 
 
Peter Kinsman
Guest
Posts: n/a
 
      25th Jun 2010
Thank you very much Allen. I will try that next week.

Peter

"Allen Browne" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Perhaps something like this:
>
> With Me.sfrmQuantitiesItems
> .SetFocus
> If .Form.Dirty Then .Form.Dirty = False
> If Not .Form.NewRecord Then
> DoCmd.GoToRecord , , acNext
> End If
> End With
>
> What that does is to
> a) explicitly save any edits in progress.
> b) check that you're not already at the new record (since there's no next
> record after that.)
>
> Include error handling in case (a) fails.
> Assumes the subform does permit new records.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
>
> "Peter Kinsman" <(E-Mail Removed)> wrote in message
> news:Ym3Un.9965$NM4.7636@hurricane...
>> A client has moved from Server 2003 to Server 2008 SP2 and Office 2003 to
>> 2007. This has caused a number of problems including the following:
>> A form created in July 2008 to input actual issues has a subform
>> sfrmQuantitiesItems listing individual Order Items and another
>> sfrmQuantitiesIssues displaying available stocks in to enter issues. They
>> are separate subforms and not subform within subform. A command button
>> on the main form processes the issues for each item and running
>> Access2003 used to run the following code to move to the next Item row:
>> Me.sfrmQuantitiesItems.SetFocus
>> DoCmd.GoToRecord , , acNext
>> Running Access2007 it gives the not unfamiliar Error 2105 You can't go to
>> the specified record.
>>
>> Most of the other problems I can deal with, although in the re-design
>> Microsoft have changed a lot of keyboard actions for whatever reason, but
>> this has got me stuck. Any suggestions please?
>>
>> Many thanks
>>
>> Peter Kinsman
>>
>>
>>

>



 
Reply With Quote
 
Peter Kinsman
Guest
Posts: n/a
 
      16th Jul 2010
I have finally got this to work, by enabling oune of the controls on the
subform. I will check by trying the database on a PC with Access 2003, but
I do not remember changing anything when we moved to Access 2007.

Do you get confused now that so many of the keyboard shortcuts have been
changed?

I will keep you informed.

Peter

"Allen Browne" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Perhaps something like this:
>
> With Me.sfrmQuantitiesItems
> .SetFocus
> If .Form.Dirty Then .Form.Dirty = False
> If Not .Form.NewRecord Then
> DoCmd.GoToRecord , , acNext
> End If
> End With
>
> What that does is to
> a) explicitly save any edits in progress.
> b) check that you're not already at the new record (since there's no next
> record after that.)
>
> Include error handling in case (a) fails.
> Assumes the subform does permit new records.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
>
> "Peter Kinsman" <(E-Mail Removed)> wrote in message
> news:Ym3Un.9965$NM4.7636@hurricane...
>> A client has moved from Server 2003 to Server 2008 SP2 and Office 2003 to
>> 2007. This has caused a number of problems including the following:
>> A form created in July 2008 to input actual issues has a subform
>> sfrmQuantitiesItems listing individual Order Items and another
>> sfrmQuantitiesIssues displaying available stocks in to enter issues. They
>> are separate subforms and not subform within subform. A command button
>> on the main form processes the issues for each item and running
>> Access2003 used to run the following code to move to the next Item row:
>> Me.sfrmQuantitiesItems.SetFocus
>> DoCmd.GoToRecord , , acNext
>> Running Access2007 it gives the not unfamiliar Error 2105 You can't go to
>> the specified record.
>>
>> Most of the other problems I can deal with, although in the re-design
>> Microsoft have changed a lot of keyboard actions for whatever reason, but
>> this has got me stuck. Any suggestions please?
>>
>> Many thanks
>>
>> Peter Kinsman
>>
>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access2003 interface preferred over 2007 rupert Microsoft Access 3 25th Apr 2010 04:25 PM
Access2003-2007 tables hard coded path Juanita Nokeley -Goodfellow AFB Microsoft Access Database Table Design 0 30th Sep 2008 02:50 PM
Order of Row Headers in a cross-tab queriy (Access2003 - 2007) =?Utf-8?B?VGluZw==?= Microsoft Access Queries 3 7th Mar 2007 08:55 PM
Converting Access2003 database to Access2000 format without Access2003 Hiking Microsoft Access 2 1st Oct 2006 09:38 PM
access2003 queries exported in another access2003 db (empty) lost =?Utf-8?B?QW5kcmVhIENvcm5pIChzb2Z0aW50aW1lKQ==?= Microsoft Access VBA Modules 1 21st Jun 2005 05:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:49 PM.