Currently I've been using this little strip of code to sort my custom collections:
Public Function Compare(ByVal x As Branches, ByVal y As Branches) As Integer Implements System.Collections.Generic.IComparer(Of Branches).Compare
Dim xValue As Object =...
Ignore this post, I found a way to do it.
Dim nextFriday As DateTime = System.DateTime.Today()
If System.DateTime.Today.DayOfWeek <> DayOfWeek.Friday Then
Dim dayCount As Integer = System.DateTime.Today.DayOfWeek
dayCount = System.DayOfWeek.Friday - dayCount
txtNextFriday.Text =...
Hey guys,
I've searched and found several ways of doing this, but I am trying to see if there is a way to avoid doing this with a loop.
What I need to do, is autopopulate a textbox with next Friday's date. No matter what day I land on.
I know you can do this with a simple while loop and...
Hey all,
I've been searching for a whlie for the solution to this, and its driving me nuts.
I need to know if its possible to use Regular Expressions to search for a partial match with "getElementById" - I know for a fact that: document.getElementById('(.)*myTextBox');
Will not find something...
Hello All,
I am needing to take a number field and make sure it always calculates as a negative value. I have done this by formatting the number field to reverse, but I just ran into an issue where one person sent us their information with the negative value in the database, thus it adds...
I am creating a report that is basically an invoice, this invoice has a sub-report at the end to show allowances and charge-backs. Right now it runs through the details and forces a new page with this formula:
not onlastrecord and remainder(recordnumber, 10) = 0
This is in the bottom of my...
You're right, I solved this issue by using a left outer join...for some reason I thought I would have multiple allowances for each item, which would not work with a left outer join, but there should only be one allowance per item.
Thanks for the reply.
Hey all,
New to Crystal Reports, currently using XI - I'm having an issue with a sub-query...I am making an invoice report and as its listing every item it is supposed to be checking a different table for allowances or discounts, then if there is a discount it should print it below the item...
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.