Jan 12, 2007 #1 daughtery Programmer Dec 12, 2006 66 US Say I have the following recordset: ProfileName RuleDesc ProductName (These are field names) Soda Open Coke Beer Restricted Corona How could I reference the RuleDesc field for the record with soda as the profileName?
Say I have the following recordset: ProfileName RuleDesc ProductName (These are field names) Soda Open Coke Beer Restricted Corona How could I reference the RuleDesc field for the record with soda as the profileName?
Jan 12, 2007 #2 Andrzejek Programmer Jan 10, 2006 8,565 US I am not sure if that's what you are after, but if this is an ADODB rst, you can: Code: rst.Filter = " ProfileName = 'Soda'" Have fun. ---- Andy Upvote 0 Downvote
I am not sure if that's what you are after, but if this is an ADODB rst, you can: Code: rst.Filter = " ProfileName = 'Soda'" Have fun. ---- Andy
Jan 12, 2007 Thread starter #3 daughtery Programmer Dec 12, 2006 66 US Sweet! Thx Andy Upvote 0 Downvote
Jan 12, 2007 #4 Andrzejek Programmer Jan 10, 2006 8,565 US FYI, don't forget to take a Filter off after you are done with it: Code: rst.Filter = ADODB.FilterGroupEnum.adFilterNone Have fun. ---- Andy Upvote 0 Downvote
FYI, don't forget to take a Filter off after you are done with it: Code: rst.Filter = ADODB.FilterGroupEnum.adFilterNone Have fun. ---- Andy