If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Jan,
The Case statements will refer to the Option Value of the Option Button that you select in the Option Group. Enough options for you? Look at the properties of each of the Option Buttons, and see if the Option Value property is set to 1, 2, and 3 respectively for the 3 of them. -- Steve Schapel, Microsoft Access MVP Jan Il wrote: Hi Steve :-) 'k..!! Now here's what I now have, and the Debugger's happy with it. Private Sub fmeOptionGrp_AfterUpdate() Select Case Me.fmeOptionGrp Case 1 Me.RecordSource = "SELECT * FROM qryCkRegisterDan WHERE CheckNo Not Like 'DBT*'" Case 2 Me.RecordSource = "SELECT * FROM qryCkRegisterDan WHERE CheckNo Like 'DBT*'" Case 3 Me.RecordSource = "qryCkRegisterDan" End Select End Sub YES!!! But.....ahmmm......nothing happens when I click the buttons. (?..?) It looks really nice though. :-) What might I have left out? Do I need a command button to go with? Jan |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Still Hoping for help with a Query problem | Don Sealer | Using Forms | 15 | November 13th, 2004 06:24 AM |
Union Query Not Returning A Value | Jeff G | Running & Setting Up Queries | 2 | October 19th, 2004 05:47 PM |
query a number stored as text | Lee | Running & Setting Up Queries | 19 | October 13th, 2004 04:10 AM |
Using Start Date and End Date in Query | ChuckW | Running & Setting Up Queries | 5 | July 20th, 2004 02:52 AM |
I can see the data but... | David F-B | General Discussion | 3 | June 24th, 2004 06:15 AM |