There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard netgear network printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Access2000 subform not working

Reply  
Thread Tools
Bottlesford's Avatar
Junior Member with 6 posts.
 
Join Date: Oct 2009
Experience: Intermediate
03-Nov-2009, 06: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 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
03-Nov-2009, 08: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 6 posts.
 
Join Date: Oct 2009
Experience: Intermediate
03-Nov-2009, 01: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 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
03-Nov-2009, 01: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 6 posts.
 
Join Date: Oct 2009
Experience: Intermediate
05-Nov-2009, 11: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 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
05-Nov-2009, 12:29 PM #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 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
05-Nov-2009, 01: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

Tags
access2000, subforms

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 02:59 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.