Jul 2, 2010 #1 drvs MIS Jul 19, 2001 8 NL Hello proggrammers, I have a table with similar names in it, is it possible to out them as one. For example : contract awbz awbz (GGZ) OB)DAG awbz (GGZ) OB)DAG + OB-ALS I want all the awbz items into a field as only AWBZ so i can count them as one Regards Dennis
Hello proggrammers, I have a table with similar names in it, is it possible to out them as one. For example : contract awbz awbz (GGZ) OB)DAG awbz (GGZ) OB)DAG + OB-ALS I want all the awbz items into a field as only AWBZ so i can count them as one Regards Dennis
Jul 2, 2010 #2 S SkipVought Programmer Dec 4, 2001 47,487 US Hi, What about GGZ, or DAG, or OB)DAG? Is it ONLY awbz? If it is, you can use the LIKE operator. Skip, [sub] Just traded in my old subtlety... for a NUANCE![/sub] Upvote 0 Downvote
Hi, What about GGZ, or DAG, or OB)DAG? Is it ONLY awbz? If it is, you can use the LIKE operator. Skip, [sub] Just traded in my old subtlety... for a NUANCE![/sub]
Jul 2, 2010 Thread starter #3 drvs MIS Jul 19, 2001 8 NL Uhmm The thare are numbers behind the names contract awbz 11 awbz (GGZ) OB)DAG 1 awbz (GGZ) OB)DAG + OB-ALS 11 so i was wondering if i could't make it so that i have one name awbz 23 Upvote 0 Downvote
Uhmm The thare are numbers behind the names contract awbz 11 awbz (GGZ) OB)DAG 1 awbz (GGZ) OB)DAG + OB-ALS 11 so i was wondering if i could't make it so that i have one name awbz 23
Jul 2, 2010 #4 dhookom Programmer Jun 24, 2003 22,510 US From your sample data, you only need to delete/ignore every character from the first space to the end of the string. Is this always true? Do you actually want to update your Contract field or just query/group them together? Duane Hook'D on Access MS Access MVP Upvote 0 Downvote
From your sample data, you only need to delete/ignore every character from the first space to the end of the string. Is this always true? Do you actually want to update your Contract field or just query/group them together? Duane Hook'D on Access MS Access MVP
Jul 2, 2010 Thread starter #5 drvs MIS Jul 19, 2001 8 NL this ia not always true, sometimes there will be other names like for example Leerwerkplekken DSZW that need to be combined. Just query/group them together Upvote 0 Downvote
this ia not always true, sometimes there will be other names like for example Leerwerkplekken DSZW that need to be combined. Just query/group them together
Jul 2, 2010 #6 dhookom Programmer Jun 24, 2003 22,510 US Can you provide a solid, reliable, consistent rule to use that accommodates all possible values in your Contract field? If you can't provide this, then we can't provide the code. Duane Hook'D on Access MS Access MVP Upvote 0 Downvote
Can you provide a solid, reliable, consistent rule to use that accommodates all possible values in your Contract field? If you can't provide this, then we can't provide the code. Duane Hook'D on Access MS Access MVP
Jul 4, 2010 #7 hkaing79 Technical User Jul 26, 2004 234 US If there is no consistent rule, you can manually group them by creating a separate table. Name | Group_Name awbz | awbz awbz (GGZ) OB)DAG | awbz awbz (GGZ) OB)DAG + OB-ALS | awbz You just have to be sure that you're capturing all the names and grouping them. Upvote 0 Downvote
If there is no consistent rule, you can manually group them by creating a separate table. Name | Group_Name awbz | awbz awbz (GGZ) OB)DAG | awbz awbz (GGZ) OB)DAG + OB-ALS | awbz You just have to be sure that you're capturing all the names and grouping them.
Jul 5, 2010 #8 Emtucifor Programmer Jul 20, 2009 130 US or use hkaing79's table idea, only instead of putting a code for each one, just define the name and then a LIKE expression that will match: Name Expr awbz awbz% then you join to this table on Contract.name LIKE NewTable.Expr and then display/group by NewTable.Name Upvote 0 Downvote
or use hkaing79's table idea, only instead of putting a code for each one, just define the name and then a LIKE expression that will match: Name Expr awbz awbz% then you join to this table on Contract.name LIKE NewTable.Expr and then display/group by NewTable.Name