A adi32 Registered User. Local time Today, 21:50 Joined Dec 6, 2000 Messages 82 Sep 2, 2004 #1 i have a field like this W12,5 D100 W2,5 D100 i want to be visible the left size before the D100 ex W12,5 W2,5 how can i do that ?
i have a field like this W12,5 D100 W2,5 D100 i want to be visible the left size before the D100 ex W12,5 W2,5 how can i do that ?
RichO Registered Yoozer Local time Today, 15:50 Joined Jan 14, 2004 Messages 1,036 Sep 3, 2004 #2 Is there simply a space separating the 2 sections? You could show just the characters to the left of the space with: Left$([MyField], InStr([MyField], " ") -1)
Is there simply a space separating the 2 sections? You could show just the characters to the left of the space with: Left$([MyField], InStr([MyField], " ") -1)
A adi32 Registered User. Local time Today, 21:50 Joined Dec 6, 2000 Messages 82 Sep 3, 2004 #3 Thank you very much it works but I saw that I have and some records like W7,4 without space after the number and this returns #error Ex W7,4 D12 gives W7,4 W7,42 D51 gives W7,42 W7,4 gives #error I don’t know if this can be fixed THANK YOU
Thank you very much it works but I saw that I have and some records like W7,4 without space after the number and this returns #error Ex W7,4 D12 gives W7,4 W7,42 D51 gives W7,42 W7,4 gives #error I don’t know if this can be fixed THANK YOU
RichO Registered Yoozer Local time Today, 15:50 Joined Jan 14, 2004 Messages 1,036 Sep 3, 2004 #4 For records that have no space, try something like this Left$([MyField], InStr([MyField] & " ", " ") -1) This should fix the error problem.
For records that have no space, try something like this Left$([MyField], InStr([MyField] & " ", " ") -1) This should fix the error problem.
A adi32 Registered User. Local time Today, 21:50 Joined Dec 6, 2000 Messages 82 Sep 6, 2004 #5 U R God Thank You
P Pat Hartman Super Moderator Staff member Local time Today, 16:50 Joined Feb 19, 2002 Messages 47,420 Sep 7, 2004 #6 In the future you might consider not using a single field to hold two pieces of data. Properly normalizing your tables will eliminate little problems like this.
In the future you might consider not using a single field to hold two pieces of data. Properly normalizing your tables will eliminate little problems like this.