Yeah Thanks.
I've been working away and displaying various variables and have figured out that I've got it right now except that it adds in the last invoice for each salesman twice - so my totals in the arays are one invoice high for each salesman. How many times does a for loop execute? For...
Hi again synapsevampire,
Well I got past the syntax errors now. But there is still womething wrong with our logic. By end of report UBound(SalesmanArray) is only 2 and the first array element is blank; the second one contains my last salesman. There are about 10 salesman listed in the detail...
Hi again synapsevampire,
I have attempted to duplicate your code exactly, using my array names. Now I get an error saying I need an ELSE statement. Why what is wrong with my syntax? I don't fully understand when to use ";" and when not to.
Toward the end of your logic wither I don't...
Synapsevampire,
I know the code is incomplete. I will know how to finish it when I get this part to work without error. @Slash is just a shared variable I created previously and tells me where the '/' is in the salesman name. I know that works fine to pull out the first salesman; and the...
I have a PeachTree (Btrieve) database in which the user has recorded two salesman's initials if the commission on a sale is to be split. For example there may be salesmen BB and BH. If the commission is to be split, she has set up a thrid salesman called 'BB/BH' and attributed the sale to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.