Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Business Applications
Tag Cloud
access audio black screen blue screen boot bsod connection crash desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Access2000 subform not working

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
Bottlesford's Avatar
Junior Member with 3 posts.
 
Join Date: Oct 2009
Experience: Intermediate
03-Nov-2009, 05:53 AM #1
Access2000 subform not working
Our database is Access2000 running on WindowsXP. We have a subform based on a table, where users can enter data and also enter a digit to indicate the order in which the entries appear. On loading, the subform is set to load the entries in this order. Also on the subform is a command button (Me.Requery) to sort the entries if a user wants to change the order of new entries.
The subform works fine when standing alone, but when used as a subform within the main form, the entries do not load in order, and the sorting button doesn't work.
Any ideas?
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 9,342 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
03-Nov-2009, 07:13 AM #2
Bottlesford, welcome to the Forum.
Subforms quite often react differently when on a Mainform, but I can't see why the Me.Requery is not working, unless the button is on the mainform instead of the Subform.
In which case it would have to be
Me.Subformname.Requery
where Subformname is the name of your subform provided by the Editor's wizard.
__________________
OBP
I do not give up easily
Bottlesford's Avatar
Junior Member with 3 posts.
 
Join Date: Oct 2009
Experience: Intermediate
03-Nov-2009, 12:13 PM #3
OBP - thanks for the quick reply - the control is indeed on the subform, and this subform works OK in an earlier, simpler version of our database. If you've any other pointers about why subforms behave differently on the mianform I'd be grateful to hear
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 9,342 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
03-Nov-2009, 12:25 PM #4
Can you post or email a zipped copy of the database, it does not need any data in the tables for me to test the forms, I can add a couple of dummy records.
Bottlesford's Avatar
Junior Member with 3 posts.
 
Join Date: Oct 2009
Experience: Intermediate
05-Nov-2009, 10:54 AM #5
OBP - thanks for the offer, but apparently I'm too far down the foodchain to email you directly, and the zipped file is too big to attach here. It is quite a complex database...
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 9,342 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
05-Nov-2009, 11:29 AM #6
No it is not a matter of "Foodchain" position, you just need my email address as I don't think the Forum one does Attachments.
One thing to check, did you Compact & Repair the database prior to Zipping, as databases under development grow alot of unecessary stuff called bloat (it stores every change you make).
I will Private Mail you me email address if it is still too large to post as an Attachment on here.
__________________
OBP
I do not give up easily
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 9,342 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
05-Nov-2009, 12:02 PM #7
Can you import the tables for me, you can delete the records. Because the Tables are linked I can't work with the Queries or Forms
Reply Bookmark and Share

Tags
access2000, subforms

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:08 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.