Get articles with max date only

Hello Everyone
I've got a little problem with a sql query. I got two tables and a lot of articles. The articles are listed multiple times and got different dates. I want to select the following rows:
p.productname
i.amount
i.date
The problem is, that every product only should be listed one time (something like UNIC or DISTINCT). And it should be the product with the highest date. Is there something like MAX(date) that I can use?
What I already have is...
SELECT
    p.productname,
    i.amount,
    i.date
FROM op_inventory i
LEFT JOIN products p
ON p.ItemID = i.fk_article
Now, how can I solve my problem above?...
Greets Dollique

Hmm, thx but, that didn't solve my problem.
I've just found a german website with a detailed explantion of the solution that mack gave me.
I used that one and it seems to work quite fine, expects from I somehow can't use GROUP BY. Every time I use it, it returns a Executing DB error (like before)...
I'll see if I can solve that problem...
Thx you anyway!
Toby
PS:
My code now is
SELECT
    i.id,
    i.amount,
    i.date,
    p.productname
FROM op_inventory i
LEFT JOIN products p
ON p.ItemID = i.fk_article
<!---JOIN (
    SELECT
        id id_m,
        MAX(date) maxdate
    FROM op_inventory
    GROUP BY id_m
) temp
ON i.id = temp.id_m AND i.date = temp.maxdate--->
<cfoutput>#gi_where#</cfoutput>
i.date = (
    SELECT MAX(o.date)
    FROM op_inventory o
    WHERE o.fk_article = i.fk_article
<!---GROUP BY i.id--->
And the content of #gi_where# is:
WHERE p.category = #lb_group# AND

Similar Messages

  • Report doest get refreshed with updated data

    Hi All,
    I am facing a strange problem, where my report doest get refreshed with updated data when it’s called second time.
    1.     Screen1 – Preview option – Preview Screen
    2.     Preview Screen – Print option (Button) – Report generated and displayed in the IE Browser window with a dynamically generated PIN (Query written in WHEN-BUTTON-PRESSED trigger)
    3.     Screen2 is displayed in the backend
    4.     Screen2 – Cancel option – Screen1
    5.     Screen1 – Preview option – Preview Screen
    6.     Preview Screen – Print option (Button) – Report generated and displayed in the IE Browser window with a same PIN as in step2. Actually here the Query written in WHEN-BUTTON-PRESSED trigger generates a new PIN.
    7.     When checked in the backend this new PIN is updated, but the same is not displayed on the Report. That means to say that report is not refreshed. When I click on the refresh button in the IE Browser window explicitly, the report is refreshed and displays the PIN as found in the backend.
    What I expect is that the report should get refreshed automatically with a new PIN, when I choose Print option in Preview Screen.
    Can anybody help me in overcoming this challenge?
    Regards,
    SAM

    Hi All,
    What i did was i encoded the PIN and sent it as a paramter to call the report.
    In the report i decoded the PIN and printed it. This way my URL to call the report was always updated with the decoded PIN value and would refresh the page successfully, everytime its called.
    Regards,
    SAM

  • How can I do a multiple record data merge, but specify that a specific text frame with variable data only merges on the first record?

    I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
    I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
    Is it possible?
    I thought that perhaps if I place the text frame that must merge once on the master page, it would work.  But you are not allowed to place variable text on the master and on the document page.
    I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
    Thanks,
    Suzanne

    Suzanne,
    If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
    I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
    That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
    It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
    I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
    Mike

  • Get list with max no

    hi all,
    I want to get max changenr from cdhdr for each and every object id . if i write for all entries iam getting an error . how can i get the list with max change number for each and every material?
    SELECT * FROM CDPOS INTO TABLE T_CDPOS FOR ALL
              ENTRIES IN T_ZWPBPH WHERE OBJECTCLAS ='MATERIAL'
              AND OBJECTID = T_ZWPBPH-PBPINO AND FNAME = 'SPART'.
        SELECT * FROM CDHDR INTO TABLE T_CDHDR FOR ALL
        ENTRIES IN  T_CDPOS WHERE OBJECTCLAS ='MATERIAL' AND
        OBJECTID = T_CDPOS-OBJECTID AND CHANGENR =  T_CDPOS-CHANGENR => this statement
    Message was edited by:
            priya katragadda

    can this help u out ..
    SELECT CDHDROBJECTID  CDHDROBJECTCLASS 
            <b> MAX( CDHDR~CHNAGENR )</b>        INTO (V_ID, V_OBJCLASS , V_NUMBER)
           FROM
              CDHDR INNER JOIN CDPOS AS A ON
    "COMMON KEYS       
             ON SCUSTOMID = SBOOKCUSTOMID
           WHERE
              WHERE OBJECTCLAS ='MATERIAL'
    AND OBJECTID = T_ZWPBPH-PBPINO AND FNAME = 'SPART'
           GROUP BY  CDHDROBJECTID  CDHDROBJECTCLASS 
           ORDER BY  CDHDR~OBJECTID  .
      WRITE: / V_ID, V_OBJCLASS , V_NUMBER.
    ENDSELECT.
    regards,
    vijay

  • Query to get row with max values for distinct

    I have a table test with ID, ADID, MTMST columns.
    ID     ----ADID----     MTMST
    1     ----100----     24-MAR-12 08.17.09.000000 PM
    1     ----101----     24-MAR-12 08.18.15.000000 PM
    1     ----102----     24-MAR-12 08.18.56.000000 PM
    2     ----103----     24-MAR-12 08.19.21.000000 PM
    2     ----104----     24-MAR-12 08.19.36.000000 PM
    2     ----105----     24-MAR-12 08.19.46.000000 PM
    3     ----99----      22-MAR-12 09.48.22.000000 PM
    I need the rows with max ADID for each ID.
    I used the following query but it provided max ADID of the table but not the distinct ID
    select * from test where ADID in (select max(ADID) from test where id in (select distinct(id) from test where mtmst > sysdate -1))
    Result:*
    ID     ----ADID----     MTMST
    2     ----105----     24-MAR-12 08.19.46.000000 PM
    Expected result:*
    ID     ----ADID----     MTMST
    1     ----102----     24-MAR-12 08.18.56.000000 PM
    2     ----105----     24-MAR-12 08.19.46.000000 PM
    Thanks,
    Dheepan
    Edited by: Dheepan on Mar 24, 2012 9:53 AM

    select id, adid, mtmst from test where (id, adid) in (select id, max(adid) from test group by id) and MTMST>sysdate-1
    is the answer.

  • Not Getting Rows With No Date Match

    I have SQL 2012 and am trying to use a CTE to get patient meal calendar rows even if the row does not match a given date range. We use a Calendar table that has 1 row for each date in the year so I wanted it to drive the results so that when I ask for a
    week date range I will get rows even if the patient does not have a meal or snack scheduled for that date.  My CTE code is below and it gives me the correct data but only if the patient has a meal or snack scheduled for that date (this is like a weekly
    meal menu). Any help is appreciated.
    ALTER PROCEDURE [dbo].[kd_selMealPlannerMatrix]
    @PatientID int,
    @StartDate smalldatetime,
    @EndDate smalldatetime = null
    AS
    BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
    IF @EndDate IS NULL
    BEGIN
    SET @EndDate = DATEADD(day,6,@StartDate);
    END
    ;WITH client_meals AS (
    SELECT DATEPART(dw, dbo.tblMealCalendar.MealDate) AS PrintDate,
    dbo.tlkpMealCodes.MealCode,
    CASE WHEN dbo.tblMealCalendar.MealID <> 0 THEN dbo.tblActualMeals.MealName + N' - ' + CONVERT(nvarchar, dbo.tblActualMeals.MealNumber)
    WHEN dbo.tblMealCalendar.SnackID <> 0 THEN dbo.tblActualSnacks.SnackName + N' - ' + CONVERT(nvarchar, dbo.tblActualSnacks.SnackNumber)
    ELSE NULL
    END AS PrintMeal,
    dbo.tblMealCalendar.PatientID,
    dbo.tblMealCalendar.MealDate,
    dbo.tblMealCalendar.CalendarID,
    dbo.tlkpMealCodes.MealCodeSort,
    dbo.tblActualMeals.MealID,
    dbo.tblActualSnacks.SnackID,
    dbo.tblMealCalendar.MealCodeID
    FROM dbo.tblMealCalendar LEFT OUTER JOIN
    dbo.tblActualMeals ON dbo.tblMealCalendar.MealID = dbo.tblActualMeals.MealID LEFT OUTER JOIN
    dbo.tblActualSnacks ON dbo.tblMealCalendar.SnackID = dbo.tblActualSnacks.SnackID LEFT OUTER JOIN
    dbo.tlkpMealCodes ON dbo.tblMealCalendar.MealCodeID = dbo.tlkpMealCodes.MealCodeID
    WHERE (dbo.tblActualSnacks.Verified IS NULL OR dbo.tblActualSnacks.Verified <> 0)
    AND (dbo.tblActualMeals.Verified IS NULL OR dbo.tblActualMeals.Verified <> 0)
    AND (dbo.tblMealCalendar.PatientID = @PatientID)
    ), dt_range AS (
    SELECT dt, DW
    FROM dbo.Calendar
    WHERE dt BETWEEN @StartDate AND @EndDate
    SELECT
    MAX(M.MealDate) AS MealDate,
    MAX(M.PrintDate) AS PrintDay,
    MAX(D.DW) AS WkDay,
    MAX(CASE WHEN MealCode = 'AM Meal' THEN PrintMeal
    ELSE NULL
    END) AS AMMeal,
    MAX(CASE WHEN MealCode = 'AM Meal' THEN MealID
    ELSE 0
    END) AS AMMealID,
    MAX(CASE WHEN MealCode = 'AM Snack' THEN PrintMeal
    ELSE NULL
    END) AS AMSnack,
    MAX(CASE WHEN MealCode = 'AM Snack' THEN SnackID
    ELSE 0
    END) AS AMSnackID,
    MAX(CASE WHEN MealCode = 'Mid-Day' THEN PrintMeal
    ELSE NULL
    END) AS MidDay,
    MAX(CASE WHEN MealCode = 'Mid-Day' THEN MealID
    ELSE 0
    END) AS MidDayMealID,
    MAX(CASE WHEN MealCode = 'PM Snack' THEN PrintMeal
    ELSE NULL
    END) AS PMSnack,
    MAX(CASE WHEN MealCode = 'PM Snack' THEN SnackID
    ELSE 0
    END) AS PMSnackID,
    MAX(CASE WHEN MealCode = 'PM Meal' THEN PrintMeal
    ELSE NULL
    END) AS PMMeal,
    MAX(CASE WHEN MealCode = 'PM Meal' THEN MealID
    ELSE 0
    END) AS PMMealID,
    MAX(CASE WHEN MealCode = 'Evening Snack' THEN PrintMeal
    ELSE NULL
    END) AS EveningSnack,
    MAX(CASE WHEN MealCode = 'Evening Snack' THEN SnackID
    ELSE 0
    END) AS EveningSnackID,
    MAX(CASE WHEN MealCode = '4th Meal' THEN PrintMeal
    ELSE NULL
    END) AS FourthMeal,
    MAX(CASE WHEN MealCode = '4th Meal' THEN MealID
    ELSE 0
    END) AS FourthMealID
    FROM dt_range AS D RIGHT OUTER JOIN
    client_meals AS M ON D.dt = M.MealDate
    GROUP BY D.dt
    HAVING (D.dt BETWEEN @StartDate AND @EndDate)
    ORDER BY D.dt;
    END

    I tried to keep this as close to what we know as I could. Here's an example of making it work as you're asking:
    DECLARE @tinyCalendar table (date date)
    DECLARE @i INT = 0
    WHILE @i < 10
    BEGIN
    INSERT INTO @tinyCalendar (date)
    VALUES (DATEADD(DAY,-@i,GETDATE()))
    SET @i = @i + 1
    END
    DECLARE @patients TABLE (id INT IDENTITY, name VARCHAR(20))
    INSERT INTO @patients (name)
    VALUES ('John'),('Paul'),('George'),('Ringo')
    DECLARE @mealSelections TABLE (patientID INT, mealID INT, mealCode VARCHAR(8), DATE DATE)
    INSERT INTO @mealSelections (patientID, mealID, mealCode, date)
    VALUES
    (1,1,'1st Meal','2014-08-12'),(1,2,'1st Meal','2014-08-13'),(1,3,'1st Meal','2014-08-14'),(1,4,'1st Meal','2014-08-15'),(2,1,'1st Meal','2014-08-12'),(2,2,'1st Meal','2014-08-13'),(2,3,'1st Meal','2014-08-14'),(2,4,'1st Meal','2014-08-15'),(3,1,'1st Meal','2014-08-12'),(3,2,'1st Meal','2014-08-13'),(3,3,'1st Meal','2014-08-14'),(3,4,'1st Meal','2014-08-15'),(4,1,'1st Meal','2014-08-12'),(4,2,'1st Meal','2014-08-13'),(4,3,'1st Meal','2014-08-14'),(4,4,'1st Meal','2014-08-15'),
    (1,1,'1st Meal','2014-08-16'),(1,2,'1st Meal','2014-08-17'),(1,3,'1st Meal','2014-08-18'),(1,4,'1st Meal','2014-08-19'),(2,1,'1st Meal','2014-08-16'),(2,2,'1st Meal','2014-08-17'),(2,3,'1st Meal','2014-08-18'),(2,4,'1st Meal','2014-08-19'),(3,1,'1st Meal','2014-08-16'),(3,2,'1st Meal','2014-08-17'),(3,3,'1st Meal','2014-08-18'),(3,4,'1st Meal','2014-08-19'),(4,1,'1st Meal','2014-08-16'),(4,2,'1st Meal','2014-08-17'),(4,3,'1st Meal','2014-08-18'),(4,4,'1st Meal','2014-08-19'),
    (1,1,'2nd Meal','2014-08-12'),(1,2,'2nd Meal','2014-08-13'),(1,3,'2nd Meal','2014-08-14'),(1,4,'2nd Meal','2014-08-15'),(2,1,'2nd Meal','2014-08-12'),(2,2,'2nd Meal','2014-08-13'),(2,3,'2nd Meal','2014-08-14'),(2,4,'2nd Meal','2014-08-15'),(3,1,'2nd Meal','2014-08-12'),(3,2,'2nd Meal','2014-08-13'),(3,3,'2nd Meal','2014-08-14'),(3,4,'2nd Meal','2014-08-15'),(4,1,'2nd Meal','2014-08-12'),(4,2,'2nd Meal','2014-08-13'),(4,3,'2nd Meal','2014-08-14'),(4,4,'2nd Meal','2014-08-15'),
    (1,1,'2nd Meal','2014-08-16'),(1,2,'2nd Meal','2014-08-17'),(1,3,'2nd Meal','2014-08-18'),(1,4,'2nd Meal','2014-08-19'),(2,1,'2nd Meal','2014-08-16'),(2,2,'2nd Meal','2014-08-17'),(2,3,'2nd Meal','2014-08-18'),(2,4,'2nd Meal','2014-08-19'),(3,1,'2nd Meal','2014-08-16'),(3,2,'2nd Meal','2014-08-17'),(3,3,'2nd Meal','2014-08-18'),(3,4,'2nd Meal','2014-08-19'),(4,1,'2nd Meal','2014-08-16'),(4,2,'2nd Meal','2014-08-17'),(4,3,'2nd Meal','2014-08-18'),(4,4,'2nd Meal','2014-08-19'),
    (1,1,'3rd Meal','2014-08-12'),(1,2,'3rd Meal','2014-08-13'),(1,3,'3rd Meal','2014-08-14'),(1,4,'3rd Meal','2014-08-15'),(2,1,'3rd Meal','2014-08-12'),(2,2,'3rd Meal','2014-08-13'),(2,3,'3rd Meal','2014-08-14'),(2,4,'3rd Meal','2014-08-15'),(3,1,'3rd Meal','2014-08-12'),(3,2,'3rd Meal','2014-08-13'),(3,3,'3rd Meal','2014-08-14'),(3,4,'3rd Meal','2014-08-15'),(4,1,'3rd Meal','2014-08-12'),(4,2,'3rd Meal','2014-08-13'),(4,3,'3rd Meal','2014-08-14'),(4,4,'3rd Meal','2014-08-15'),
    (1,1,'3rd Meal','2014-08-16'),(1,2,'3rd Meal','2014-08-17'),(1,3,'3rd Meal','2014-08-18'),(1,4,'3rd Meal','2014-08-19'),(2,1,'3rd Meal','2014-08-16'),(2,2,'3rd Meal','2014-08-17'),(2,3,'3rd Meal','2014-08-18'),(2,4,'3rd Meal','2014-08-19'),(3,1,'3rd Meal','2014-08-16'),(3,2,'3rd Meal','2014-08-17'),(3,3,'3rd Meal','2014-08-18'),(3,4,'3rd Meal','2014-08-19'),(4,1,'3rd Meal','2014-08-16'),(4,2,'3rd Meal','2014-08-17'),(4,3,'3rd Meal','2014-08-18'),(4,4,'3rd Meal','2014-08-19'),
    (1,1,'4th Meal','2014-08-12'),(1,2,'4th Meal','2014-08-13'),(1,3,'4th Meal','2014-08-14'),(1,4,'4th Meal','2014-08-15'),(2,1,'4th Meal','2014-08-12'),(2,2,'4th Meal','2014-08-13'),(2,3,'4th Meal','2014-08-14'),(2,4,'4th Meal','2014-08-15'),(3,1,'4th Meal','2014-08-12'),(3,2,'4th Meal','2014-08-13'),(3,3,'4th Meal','2014-08-14'),(3,4,'4th Meal','2014-08-15'),(4,1,'4th Meal','2014-08-12'),(4,2,'4th Meal','2014-08-13'),(4,3,'4th Meal','2014-08-14'),(4,4,'4th Meal','2014-08-15'),
    (1,1,'4th Meal','2014-08-16'),(1,2,'4th Meal','2014-08-17'),(1,3,'4th Meal','2014-08-18'),(1,4,'4th Meal','2014-08-19'),(2,1,'4th Meal','2014-08-16'),(2,2,'4th Meal','2014-08-17'),(2,3,'4th Meal','2014-08-18'),(2,4,'4th Meal','2014-08-19'),(3,1,'4th Meal','2014-08-16'),(3,2,'4th Meal','2014-08-17'),(3,3,'4th Meal','2014-08-18'),(3,4,'4th Meal','2014-08-19'),(4,1,'4th Meal','2014-08-16'),(4,2,'4th Meal','2014-08-17'),(4,3,'4th Meal','2014-08-18'),(4,4,'4th Meal','2014-08-19')
    SELECT p.id, p.name, c.date,
    Max(CASE WHEN mealCode = '1st Meal' THEN mealID END) AS FirstMeal,
    Max(CASE WHEN mealCode = '2nd Meal' THEN mealID END) AS SecondMeal,
    Max(CASE WHEN mealCode = '3rd Meal' THEN mealID END) AS ThirdMeal,
    Max(CASE WHEN mealCode = '4th Meal' THEN mealID END) AS FourthMeal
    FROM @patients p
    INNER JOIN @tinyCalendar c
    ON p.id = p.id
    LEFT OUTER JOIN @mealSelections m
    ON p.id = m.patientID
    AND m.date = c.date
    GROUP BY p.id, p.name, c.date
    ORDER BY c.date

  • How to do to connect imac late 2007 to amplifier to get dolby with RCA wires only

    I've got an iMac late 2007, 26" display, 2,4 Ghz Core 2 Duo, OX 10.10.2, digital audio/headphone output.
    I'd like to get Dolby audio by iMac with a connection to my amplifier SONY Integrated AV Amplifier TA-VE610 it hasn't optical input only RCA. I know that i mac must to feel "something ?" to get able digital output by mini jack but i don't understand what's the right connection by cable.
    Now i think to buy: 1 cable mini jack to Toslink, 1 optical wire, adapter optical/RCA and RCA wires to amplifier. All this because audio output needs to feel right impedance to leave free digital audio.
    Can somebody help me? It's seems a little bit complicated chain.
    Thank you

    Insert the Disc 1 that came with your computer and press D key while your computer is starting to run an extended test on Apple Hardware Test

  • [Solved] get records with a date of 11/6/2007 I have to add -1 [Solved]

    Hello - really simple question here, I think anyway.
    I have this line in my query -
    WHERE table2.trans_date_time BETWEEN :p_from_date -1 AND :p_to_date + 1
    Notice the -1 + 1, I had to put this in there because if I wanted all the records that have a date of 11/6/2007, and I enter 11/6/2007 and 11/6/2007 for the variables I get nothing back. But when I added the -1 + 1 it worked.
    Why is this? The table2.trans_date_time column is a DATE data type.
    Thanks!
    Message was edited by:
    computerGal

    Hello compterGal
    I agree with Boneist. What more your where clause statement example, will actually will return all records where the trans_date_time is between 10/06/2007 00:00 and 12/06/2007 00:00 inclusive. That is 2 days and 1 second's worth of data.
    A possible solution if you're looking just for records on a specific day in this senario, but also allow date range capabilities then the following where clause example would be suitable:
    WHERE trunc(table2.trans_date_time) BETWEEN :p_from_date AND :p_to_date
    If the query runs slowly and you have an 8i or later database you can use function indexing to help spead the query up.
    hope this helps.
    Cheers
    Q

  • Row with max date

    Hi guys,
    Quick question which I would appreciate some help with. I am currently querying a table with multiple rows but I only want it to return 1 row (the one which was created most recently) ie. the one with the max date_Created field.
    I was thinking I could do this:
    Select *
    from table
    where date_created = max(date_created)
    but you will probably know I cant do this. I know I can partition etc but since I am calling this as a cursor from oracle forms I cant use partition, can anyone help me out please?
    Thanks.

    Hi,
    Here's one way:
    WITH     got_r_num     AS
         SELECT     t.*
         ,     ROW_NUMBER () OVER (ORDER BY  date_created  DESC)
                  AS r_num
         FROM    table_x  t
    SELECT     *   -- or list all columns except r_num
    FROM     got_r_num
    WHERE     r_num     = 1
    786733 wrote:Hi guys,
    Quick question which I would appreciate some help with. I am currently querying a table with multiple rows but I only want it to return 1 row (the one which was created most recently) ie. the one with the max date_Created field.
    I was thinking I could do this:
    Select *
    from table
    where date_created = max(date_created)
    but you will probably know I cant do this. You can do something pretty close:
    SELECT     *
    FROM     table_x
    WHERE     date_created = (
                         SELECT  MAX (date_created)
                      FROM        table_x
    ;However, if there is a tie (that is, 2 or more rows that have exactly the same date_created, and none later), then this will return all of them, and you said you only want 1 row.
    I know I can partition etc but since I am calling this as a cursor from oracle forms I cant use partition, can anyone help me out please?Sorry, I don;t undersand what you're saying about partitions.
    If there's something that you can do in, say, SQL*Plus, but not in Forms, then hre's probably a way to "hide" it (in a view, perhaps) so that the part Forms can't hande isn't being done in Forms.

  • Ftp get file with original date and time on one server to another server

    Dear All,
    I have successfully file copied from ftp server1 to ftp server2 but i cant get original file date and time.If anyone knows please help me...
    i have using the package is sun.net.ftp.FtpClient .
    Thanks
    Andavar.P

    Use the Apache commons-net library which has an excellent and easy to use FTP API, properly documented too.

  • Getting started with MAX

    I am trying to import signal from the fieldpoint modules and I have gone to the web for help. I have fieldpoint working. The web says assumes that I have MAX working but i can't get it to work. in MAX when i do the getting started help configuration, it gives me this error...
    One or more missing GPIB interfaces.
    There are several reasons why you might encounter this problem:
    Reason: Your GPIB interface is incorrectly installed.
    Solution: Please verify that your GPIB interface is correctly installed and rerun the NI-488.2 Troubleshooting Wizard.
    Reason: You are using a non-Plug-and-Play interface (e.g., AT-GPIB/TNT, PC/104-GPIB, PXI-8156) and you did not use the Add New Hardware Wizard to add the interface to your system properly.
    Solution: Click the Add Hardware button and the Add GPIB Hardware wizard will guide you through the process of adding GPIB hardware.
    We have simply hooked our FP-1000 up to our computer via a RS-232 cable and it says that we are missing hardware or something. do you have any ideas for me?
    Thanks so much for your help
    Dave
    Reason: For the PCMCIA-GPIB and PCMCIA-GPIB+, the PCMCIA host controller must be working properly in order to use the GPIB interface.
    Solution: Use the Windows Device Manager to verify that your PCMCIA host controller is functioning correctly. Start the control panel by selecting "Start>>Settings>>Control Panel", open the System icon, select the Hardware tab and click on the Device Manager button. If you select "View>>Devices by type", you can look at the PCMCIA adapter properties to ensure it is correctly enabled.

    Dave,
    It looks like you've been running the NI 488.2 Getting Started Wizard. That's why all the errors refer to GPIB Hardware.
    What you need to do is look for your FieldPoint device under the Remote Systems section on the left side of the window. It should be auto-detected. Then right-click and select Find Devices, to detect the modules installed in your FieldPoint bank.
    That should get you started. Let us know if you have any further issues getting set up in MAX.

  • How adobe form gets prepopulated with employee data?

    hai guys,
      i need to develop adobe forms in webdynpro abap to be deployed in portal.
    the user access the forms from ess screen after he logs on into portal.
    when the user clicks on the form,how to prepopulate the form with the employees data of the user(like pernr,reporting manager,etc etc)

    Hai Robert,
      I have spent time trying to figure the process.
    i ahve created a webdynpro application with a interactive adobe form in it.
    the problem is the submit button in the form doesnt trigger the code in on action method in the webdynpro.
    i am on ecc 6.0
    net weaver 7.0
    life cylce designer 7.0
    i ahve checkd other threads,
    activex is ticked in webdynpro,
    i have created the button from webdynpro library(i dotn have 2 separate native and activex libraries at all)
    any sugestions.

  • I get email with photos but only captions show up..no photos--on some emails,i do get pps. files and wmvs. and some photos in other emails ,what's up ????

    this happens in yahoo email

    If images are missing then check that you aren't blocking images from some domains.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * Check the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions
    * Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the down key). If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Get min and max

    Thanks in advance for help
    I have a query as below
       SELECT FI.TCOL1 ,FI.TIPO,FI.TCOL2,COUNT(*) NUM,  
       SUM(FI.TCOL3) SUM_IPBFA,SUM(FI.TCOL4), MIN(FI.COL5) DA_NUM,MAX(FI.COL6) A_NUM
              FROM DBTABLE FI
              WHERE TDATA between DATABEG and DATAEND
              GROUP BY FI.TCOL1 ,TIPO_A,TCOL2
              ORDER BY 1,3           How get MIN e MAX grouped only for FI.TCOL1?
    e.g
    SELECT FI.TCOL1, MIN(FI.COL5) DA_NUM,MAX(FI.COL6) A_NUM
              FROM DBTABLE FI
              WHERE TDATA between DATABEG and DATAEND
              GROUP BY FI.TCOL1 ,TIPO_A,TCOL2
              ORDER BY 1,3Thanks

    it will be better if you can post some sample data and output to work on and to get a better understanding of your requirements.
    you might want to try this but not sure if this will give you the result you needed:
    Select f1.tcol1,
           f1.da_num,
           f2.a_num
      From (SELECT FI.TCOL1,
                   MIN(FI.COL5) DA_NUM
              FROM DBTABLE FI
             WHERE FI.TDATA between DATABEG and DATAEND
            GROUP BY FI.TCOL1) F1,
           (SELECT FI.TCOL1,
                   MAX(FI.COL6) A_NUM            
              FROM DBTABLE FI
             WHERE FI.TDATA between DATABEG and DATAEND
            GROUP BY FI.TCOL1) F2
    Where f1.tcol1 = f2.tcol2
    Order by 1,2,3

  • RA data only updated in Controlling Area currency..

    Hi Guys,
    When we run the Results Analysis for WBS Elements, we are getting the message " RA data only updated in Controlling Area Currency ".
    How can we make this message gone or why is the system updating only in CO Area Currency.
    Thanks
    Srik.

    Hi,
    The company code currency for this WBS is different from the Co Area Currency assigned in the Co Area definition.
    However still system is updating only in the Co Area Currency.
    Thanks,
    srik.

Maybe you are looking for

  • Canon HV10 or Sony HDR-HC3 for iMovie HD 6

    In case you're interested- I'm in the process of reviewing both the Canon HV10 and the Sony HDR-HC3. Both use Mini DV tapes. I've heard hard disk models don't work with iMovie HD6. I've tried both on my Intel iMac at 2.16 Gz and this is what happened

  • How to save an icon as a bitmap file in illustrator with transparency?

    Hello I need help, I don't normally work with bitmap files however I find myself in need to save out a set of icons in this particular format for a client to use with their own software on a pc. this software can only import/use .bmp files. In my exp

  • Classic scenario: po is not created

    hai , i am using classic scenario.In define backend objects configuration i made the following settings product category       purchasing group      internal procurement       external procurement 555                              555                 

  • 'System Error' when trying to save Form Manager Registry Settings

    Hi, trying to save changes made in the form manager registry settings [Home > Services > Adobe LiveCycle Form Manager > Registry Settings (http://localhost:8080/FormManagerAdmin/registry-cfg-load)], I get an error, which reads: > System Error > The r

  • ADF connect with essbase

    plz give link for connecting essbase to Oracle ADF Give me the link. Thanks in advanced.