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 SkipVought 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: *

  1. jcfowl

    datetime = '12:00:00 AM'

    All the programmers agreed to use a value of '12:00:00 AM' for sentinal values on DateTime columns for our database. The problem is that when we INSERT or UPDATE '12:00:00 AM' into the column it is stored as '1/1/1900'. Does anyone know a way to store '12:00:00 AM' in a DateTime column?
  2. jcfowl

    Crystal not returning records Left Outer Join

    My SQL statement returns the correct number of records in the SQL Query Analyzer, but Crystal only returns one record. Crystal Record Selection Formula: {TblMaster_Schedule.DayOfWeek} = {?DayOfWeek} And ({TblSpotChanges.DateEffected} = DateValue("8/1/2004") Or...
  3. jcfowl

    Join tables on different servers

    I know how to join tables in different databases, but I can't seem to join tables that are on different databases and also on different servers. Is there anyway to do this? If anyone knows the syntax please let me know. Thanks.
  4. jcfowl

    Crosstab Data - where is it from

    to simplify this question let me rephrase it like this: I have 1 Group In the details of that group are 3 fields: location, sequence and Type In the crosstab: Row = location Column = Sequence Summarized field is the Max of Type The problem is I am not getting the correct data in the...
  5. jcfowl

    Crosstab Data - where is it from

    I have a location row and a Sequence column. I am summarizing the Items delivered to a location and in what sequence they are delivered. If I look at the report I get data like this in the details: I006 FEED I006 OTHER In the crosstab I get an entry like 1 2 I006 BOX BOX...
  6. jcfowl

    Crosstab Data - where is it from

    I am using a crosstab that has given me problems. I am wondering where the crosstab pulls data from, if you were to compare it to a report. I realize it is in the footer of the report, does that mean it uses subtotals of the information used in each group. I am getting weird results for some...
  7. jcfowl

    Cross Tab advice - data from 2 tables

    I appreciate all the responses but I got it to work. The Tables: TblMaster_Schedule -> TblMaster_Day TblMaster_Schedule -> TblSpotChanges The TblSpotChanges is a duplicate of the TblMaster_Day table. Both contain the fields fkMaster_Schedule linking a daily schedule to a master loction...
  8. jcfowl

    Find Age based on DOB field

    I messed up the dates. It's start then End date. Specifying "y" is the same as "d" which gives the number of days different between the two dates. DateDiff("yyyy", {Table.DOB}, CurentDate)
  9. jcfowl

    Find Age based on DOB field

    Use the datediff function and specify the interval as "yyyy". DateDiff("yyyy", CurrentDate(), {Table.DOB})
  10. jcfowl

    Can you have multiple select statement in 1 report.

    I'm sure it's possible. What does your database table relationships look like?
  11. jcfowl

    Multiple Range Parameters in Select Expert. Need help

    Couldn't you use 2 parameters: ProductType and PriceRange. Both would allow multiple values. ProductType would allow multiple discrete string values. PriceRange would accept multiple numeric range values. Each parameter returns an array of values that can be matched. The problem is the user must...
  12. jcfowl

    Multiple Range Parameters in Select Expert. Need help

    mulema, Are there a limited number of items that can be selected. In your example you gave 3 selection criteria, although each has 2 criteria within it(product type and price range). Is there a limited number of selections that you would like to provide, or is it unlimited?
  13. jcfowl

    Cross Tab advice - data from 2 tables

    lbass, Thanks for the response. What you posted is the exact setup I have right now but there is a further complication. The data summarized describes the Item Type being delivered to a customer. I need to output the Highest ranking item, which is ranked based on it's type. I made a Formula...
  14. jcfowl

    How can I have this done?

    IF DateValue(StartDate) = DateValue(EndDate) THEN Time(EndDate) ELSE DateTime(EndDate) //same as EndDate
  15. jcfowl

    Cross Tab advice - data from 2 tables

    I have to create a report where there is information to be summarized from 1 of two tables: TblMaster_Schedule (1 to 1)-> TblMaster_Day TblMaster_Schedule (0 to n)-> TblSpot_Changes For the crosstab: The rows run off of The Location field in the TblMaster_schedule table and the columns run off...
  16. jcfowl

    Array Variable problem

    I almost have it. Why does this work......... WhilePrintingRecords; Global stringVar array Feed_Parts; Global numberVar arrIndex; IF {TblInventory.Type} = "Feed" THEN ( //IF Feed_Parts[1] = "" THEN // ( // Feed_Parts[1] = {TblInventory.Part_Code}...
  17. jcfowl

    Array Variable problem

    Thanks for the suggestion. It is not being passed to a subreport. Even when placed in the report header elements are not being added to the array variable.... When I get rid of the If statement and just always Redim Preserve the array it works fine. It just doesn't like my second IF statement...
  18. jcfowl

    Array Variable problem

    Just to be more clear. It never adds elements to the array. It goes to the second IF statement but never changes the value of element 1 so the ELSE portion is not used. I declare the array in the page header with a 1 element upper boundry with a value of "".
  19. jcfowl

    Array Variable problem

    I haven't really used variables so this is all new. For some reason the global array variable always sees element 1 as being "". I declare the variables in the page header and put the Formula below in a separate Formula Field. Any suggestions are appreciated. CRYSTAL SYNTAX...
  20. jcfowl

    Horizontal Alignment "Justified" ignored in CRViewer

    I read that article but was hoping there was a fix for my version of Crystal(8.5). oh well, thanks for the reply.

Part and Inventory Search

Back
Top