Jan 12, 2007 #1 daughtery Programmer Joined Dec 12, 2006 Messages 66 Location 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 Joined Jan 10, 2006 Messages 8,584 Location 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 Joined Dec 12, 2006 Messages 66 Location US Sweet! Thx Andy Upvote 0 Downvote
Jan 12, 2007 #4 Andrzejek Programmer Joined Jan 10, 2006 Messages 8,584 Location 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