|
-
Oct 3rd, 2000, 03:40 AM
#1
Thread Starter
Addicted Member
Hi
How can i make the Dbcombo go to the require row of records when the user select a data inside the Dbcombo?
Any help and suggestion will be greatly appreciated
-
Oct 3rd, 2000, 04:20 AM
#2
New Member
Hope this can be of some help
I'm not to sure exactly what you want this may be worth a try - or I could be completely wrong!!
set the bound column of the DbCombo to the Id number
Then simply execute an SQL statement like follows
adoVerse.RecordSource = "SELECT Verse.[Verse ID], Verse.heading, Verse.verse FROM verse INNER JOIN [song verses] ON verse.[Verse ID] = [song verses].[Verse ID] WHERE [song verses].[Song ID] = " & Val(frmHomeDisplay.txtSelected.Text)
Call adoVerse.Refresh
or more simply
adoVerse.RecordSource = "SELECT * FROM [table] WHERE tableID = " & Val(cboData.boundColumn)
Call aboVerse.Refresh
hope that could be of some use
-
Oct 3rd, 2000, 07:02 AM
#3
Thread Starter
Addicted Member
Thanks for the help lukePas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|