home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

VDA GoToRecord, or Find?

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1821
Discussions: 200,510, Posts: 2,374,415, Members: 245,833
Old March 5th, 2003, 03:52 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Nov 2001
Posts: 177
VBA GoToRecord, or Find?

I'm trying to use a combo box to skip directly to a specific record. Apparently if you have Access build it for you, it'll use recordsets and the Find method. Unfortunately I'm trying to use a combo box on the startup form and go to specific record on another form. So far I've been messing arounf with both DoCmd.GoToRecord and rstVariable.FindFirst, without luck on either one. Anyone have any suggestions? Or is there a completely different way to do this? So far it's looking like a need to use a number to skip to a certain record with DoCmd.GoToRecord, is this correct? so the code would be something like:

DoCmd.GoToRecord acDataForm, "FormName", acGoTo, #

So it's not really going to work for me with the combo box idea right?

And when I tried the recordset approach I wasn't getting any luck, I tried copying the code exactly as Access created it, first using DoCmd to open up the form I was going to, no luck. Any input would be appreciated. Thanks.

Last edited by Turnip12 : March 5th, 2003 at 04:12 PM.
Turnip12 is offline   Reply With Quote
Old March 5th, 2003, 10:02 PM     #2 (permalink)
Member
 
Join Date: Sep 2002
Posts: 364
Yeah, if its on another form, it should be easy. Base the 2nd form off of a query. Make a parameter, where the criteria is equal to the value of your first form. Such as

Forms!FirstForm!ComboBoxValue
Creosote is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (1635)
FT HOOD attack: 7 killed 12 injured (67)
Review My Build (6)
HELP!!! What do you think of this s.. (16)
Looking for a graphic card that wil.. (30)
Assosiations (21497)
My 1st pc build (40)
PC Modern Warfare 2: it's much wors.. (12)
Aero in Vista (7)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
[F@H SPAM 11/1/09]New month . . . n.. (33)
slaving laptop drive (7)
Recent Discussions
windows 7 retail and rtm (4)
boot from CD-ROM in chipset via P4M80.. (2)
Powe Director v8 (0)
Windows Experience Index is screwed u.. (3)
Review My Build (6)
FAT32 to NTFS file system in Win2kpro (4)
Internet very slow since updating AVG.. (8)
Motherboards and my curse... (25)
HELP!!! What do you think of this sys.. (16)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
My 1st pc build (40)
Freezing During Music/Movies (1)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)


All times are GMT -4. The time now is 08:59 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28