Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: bobpv
  • Content: Threads
  • Order by date
  1. bobpv

    How do you link a credit memo to the sale invoice?

    I thought from reading the data definitions it would be in the Link to Another trx field, but does not seem to be there. Can anyone point me in the right direction? I just want to subtract the credit form the total sale and display that amount in a Crystal Report, should be simple but is giving...
  2. bobpv

    Date values, start and ending for a month

    I need to get the 1st and last day of the last full 6 months ie, Feb,1,2012 and Feb 28,2012 (or 29 if leap year) Jan 1, 2012 - Jan 31,2012 - Dec 1, 2011 - Dec 31,2011 - Nov 1,2011 - Nov 30,2011 and so on. I need that series in separate fields in order to use them in a query to gather the prior...
  3. bobpv

    How to get the past 6 full months spanning a year

    Hello gurus! I am confused by the DATEDIFF and DATEADD options when it comes to spanning a year, or when months do not all have 31 days.. I wish to grab all dates in a 6 month range of full months, which span a year. For example, if the query is run from March 15th, 2012, the desired result...
  4. bobpv

    Cannot log into SQL 2000 from Client using Named Instance

    This is causing me grief, and I have not been able to get a resolution from any of the consultants I engaged. It is a situation that will require explanation: The application we are running requires SQL 2000, but there is a second app running on the server which needs sql 2008. So SQl 2000 was...
  5. bobpv

    How to use a variable to change the output filename

    Hello all, I am new to XML, and have looked for a solution in the list, maybe I am asking the question wrong. I have created a select in SQL 2000 to output data to a folder. All is working fine. Sample below: sp_makewebtask @outputfile = 'C:\ Hot Folder\filename.xml', @query = ' select...
  6. bobpv

    Trouble getting a count of a field.

    I am running in circles with this one, perhaps someone can point me in a new direction. It is a MSSQL data base which stores estimate data in a single table. Each estimate has a unique number as it's ID. An estimate can be related to additional estimates by a field called MASTER, which is the...
  7. bobpv

    Trying to get a date field to correctly filter from a parametr

    Greetings all, I am really at a loss here, seemed like it should be simple, but up against a brick wall. Running a SQL stored procedure (SQL 2000)with several unions for a Crystal Report. Due to the large amount of data in the database, I am filtering the info in each union with an IN...
  8. bobpv

    Can a year or Month be updated in a date field?

    Greetings, I want to try to update some date values in a test database on SQL 2000 server. I would assume that this would work: update JobTable set datepart(yyyy,jobdate) = '2009' But no, syntax error Incorrect syntax near '('. I have tried a few other ways, with again no success. Perhaps...
  9. bobpv

    Can I use getdate() in where filter, without time?

    Hello all, I have a SQL database and am writing a query to return records based on a date. This is desired to be automated, so each time it runs, it looks at past date date. Problem is the SQL data is stored without the time portion. So it's '2008-05-19 00:00:00.000'. Or course, getdate()...
  10. bobpv

    How to extract information from a string that may vary in size

    I have a string created by a formula to replace some words in the string, so it looks like this: W~1~1~1~SHW~1~5.5~1~1~ Each of the numbers shown between the ~ can be 2 didgit, with the 5.5 also can be 2, plus one dec place. The alpha characters (W and SHW) will always be 1 (W) or 3 (SHW). I...
  11. bobpv

    Using a formula to pull from a field with XML as the source

    Greetings all. Working with Crystal 10 and a progress database (ODBC Connection). There are 2 fields which hold the saleman code number and another with commission rate. Problem is the field can contain more than one salesrep and the 2nd can hold matching commission rates. Example...
  12. bobpv

    Spanish Reports

    I have an English database (VFP and SQL) which needs to write some spanish reports from. Has anyone attempted this, and can oyu offer any advice as to what is involved? I checked the Crystal site, and struck out. Thanks in advance.
  13. bobpv

    String to date convert 3 char day to proper day

    I need to extract and display a date from an order number. The order numbers are XXYYYYDDDAAA with XX being a two letter code for product type, YYYY is the year, DDD is the day of the year with Jan. 1 being 001 and Dec. 31 being 365. The last three characters, AAA are the number of that order...
  14. bobpv

    SMTP statement inserted in front of the email address

    Crystal 10. When emailing reports, the STMP is inserted in front of the email address. Ant ideas as to why?
  15. bobpv

    Restoring page headers and footers

    Hello all, I am helping out with a project, and am fixing up some old reports for the client. One of them has me a bit bewildered, as I have never run across it before. Crystal 10.0 Developer version. The report has the page header and footer removed, they felt it was not needed so deleted...
  16. bobpv

    Triggers and updates for a field

    I am new to triggers, but have found a need to create one. I am spinning round in circles, and may have missed the solution! Here is what I am doing: SQL Server 2000. I have a data base that stores job and cutomer information. I have a trigger to update a new table with specific information...
  17. bobpv

    Tractor form in Crystal 10 prints letter

    I also posted on the other forum, but thought maybe some of you might have something on this problem. Custom tractor fed form set up in Crystal 10. Form was designed on an Epson LQ2550. It runs awesome. Client has Epson LQ1000, so driver in report was changed prior to sending to user. It...
  18. bobpv

    Crystal 10 and Tractor form (7in) prints letter size

    Custom tractor fed form set up in Crystal 10. Form was designed on an Epson LQ2550. It runs awesome. Client has Epson LQ1000, so driver in report was changed prior to sending to user. It persist in running 11in (letter) size. All settings on user machine verified for 9.5 X 7 fanfold form. The...
  19. bobpv

    How to strip out the last name in a field

    Hello all, I am working with a SQL 2000 database. One table hold employee names, in a varchar(28) filed. The names are stored in a single string seperated by a blank space (such as Joe Brown). What I would like to do is pull out the last name only(the right of the space). I am aware of a...
  20. bobpv

    SQL join not being created in Crystal 9 or 10

    Anyone seen this? I am adding a view from a SQL 2000 database. The field is in the Crystal SQL, but even after I verified the linking ( a simple inner join) in the Linking tab, Crystal does not add the Join statement to the SQL. So of course, the field is not recognized by the report. Happens...

Part and Inventory Search

Back
Top