Select Date between range and display

Hello - i need some ideas to the following:
I need to create a form to submit some information, with the
date that form was submitted, to a database using php.
Once the form is submitted i need to retrieve multiple rows
from the database based on a selected date range, and display the
information
Question one - any ideas on the flow that i need
question two - how do you think that i best record the date -
given that i need to select a range later.
question three - how do I select mutiple rows give a range of
dates
Thanks

Hello - i need some ideas to the following:
I need to create a form to submit some information, with the
date that form was submitted, to a database using php.
Once the form is submitted i need to retrieve multiple rows
from the database based on a selected date range, and display the
information
Question one - any ideas on the flow that i need
question two - how do you think that i best record the date -
given that i need to select a range later.
question three - how do I select mutiple rows give a range of
dates
Thanks

Similar Messages

  • Two days before my iphone 5 battery was expand and display screen came out and now there has some gap between frame and display.so how it will happen and i already got before months.now i need to backup all the data to icloud before through out.

    two days before my iphone 5 battery was expand and display screen came out and now there has some gap between frame and display.so how it will happen and i already got before months.now i need to backup all the data to icloud before through out.
    https://www.dropbox.com/home/iphone
    https://www.dropbox.com/home/iphonehttps://www.dropbox.com/home/iphone

    Make an appointment at the genius bar of your local Apple Store. The phone has a 1 year warranty. If it's no longer under warranty, a replacement is $269.

  • How to pass series of dates (between startdate and enddate) to subreport, which takes only one date as parameter

    Relatively new to Microsoft report services. I have created a report which takes a single parameter named 'SelectedDate'. This report runs fine (uses complex query of hours of the selected date and complex joins & aggregate calculations between SQL
    database tables). I created a new report with two parameters, namely, StartDate and EndDate. Also created a sql stored procedure which gives all dates between StartDate and EndDate. Added subreport to this report which calls my first report and defined 'SelectedDate'
    parameter to get the value as "=First(Fields!dt.Value, "DataSet1") - where dt is the resultset of procedure called in DataSet1. When I run this report, in the subreport, all I see is the report for 'StartDate' which is the passed
    value of the first parameter. I can't find a way to pass entire array of dates as parameter, to which user can browse forwards and backwards. Any idea? Thanks in advance for your help!

    HI Visakh16..Never mind my comment..I tried it again. This time I went to the completion of previewing..and noticed that the table with DataSet1 does display dates and first report underneath but once I click any other date, it displays the subreport on
    full page and navigation back arrow (with hint 'back to Parent Report) solution is not bad..so unless you a way to achieve my desired layout mentioned above - I am good for now! Thanks for your pointer in right direction!
    One small observation for thread readers: When I published the report to the report server, the back button (back to Parent Report) which was available to me at design time, is not displayed at client's browser. Upon checking pertinent threads, concluded
    that this is known issue for years and recommendation I concluded from various threads is: Use back button of browser and it should (& did) keep the parent report page, with table with selected dates intact. A few have noticed different behaviour
    for older browser versions. 

  • Urgent - I have written select query between loop and endloop, Ple help out

    Can any one help out me on this select query. I have written select query between loop and endloop. When I execute the program it will take too much time in this query. Please help me out. Its very urgent.
    LOOP AT l_i_invoices ASSIGNING <l_invoices>.
          CLEAR alv_wa.
          alv_wa-bukrs = <l_invoices>-bukrs.
          alv_wa-gsber = <l_invoices>-gsber.
          CLEAR l_instid.
          CONCATENATE <l_invoices>-belnr <l_invoices>-gjahr INTO l_instid.
          SELECT top_wi_id FROM sww_wi2obj INTO TABLE l_i_swwwihead
                  WHERE catid   = c_catid_business_object
                    AND instid  = l_instid
                    AND typeid  = c_typeid_invoice
                    AND removed = space
                    AND ( wi_rh_task = c_task_buyer_message
                       OR wi_rh_task = c_task_buyer_message2 ).
          IF sy-subrc = 0.
            <l_invoices>-flag = 'X'.
          ELSE.
            <l_invoices>-flag = ' '.
          ENDIF.
          MODIFY l_i_invoices FROM <l_invoices> TRANSPORTING flag
                                WHERE belnr = <l_invoices>-belnr
                                   AND gjahr = <l_invoices>-gjahr.
          APPEND alv_wa TO i_alv.
        ENDLOOP.
    Thanks in advance.

    Here is a way to solve this problem.
    Choose somewhere before this loop processing to use that select. Therefore, you'll need use FOR ALL ENTRIES <that_loop_table> clause, and in the WHERE condition you need to specify that same fields.
    This way, you will have an internal table with all data you'll need to check.
    Then, inside your loop statement, use the READ TABLE command with the clause WITH KEY field = value, to read that record and use the value found.
    Like this sample:
      SELECT bukrs lifnr umsks umskz augdt augbl zuonr gjahr belnr buzei
             waers xblnr blart gsber ebeln zfbdt zbd1t zlsch
      INTO TABLE tg_bsak
      FROM bsak
      FOR ALL ENTRIES IN tl_bkpf_sel
      WHERE bukrs EQ tl_bkpf_sel-bukrs AND
            lifnr IN s_lifnr AND
            augbl EQ tl_bkpf_sel-belnr.
    LOOP AT tg_bseg INTO wa_bseg.
        READ TABLE tg_bsak INTO wa_bsak WITH KEY bukrs = wa_bseg-bukrs
                                                 gjahr = wa_bseg-gjahr
                                                 belnr = wa_bseg-belnr
                                                 BINARY SEARCH.
    if sy-subrc = 0.
    * do something
    endif.
    ENDLOOP.

  • Events limit can only be dates between 1 and 9 on the day field

    Im an student, and im trying to put my timetable into ical as did last year
    it goes ok, i set it up to repit every week mondays lessons for example
    but when i am trying to set up a limit for this event to repit itself ical only allows me to
    put a date between 1 and 9 on the day field.
    Does anyone know why is that?
    sorry is my english is not so good im from spain and i might not explained very well
    thank you

    The x86 architecture has a standard formatting for disks that uses up to four primary partitions on a disk. On DOS or UNIX, you can view the partitions with 'fdisk'.
    This is layer that Windows and Linux tends to use for filesystems.
    Solaris though uses only one of those partitions for its own use (marking it a Solaris partition) and places a label similar to that on a SPARC disk (VTOC). So within the single x86 partition are several further subdivisions (slices).
    On solaris, the disk might be /dev/dsk/c0t0d0. You could access one of the Solaris (VTOC) slices as /dev/dsk/c0t0d0s0. As far as I know, Linux does not understand how to address the Solaris VTOC slices (If this isn't true, I'd love to know what the syntax for doing so is).
    You'd access the (non-Solaris) x86 parititions like /dev/dsk/c0t0d0p1 or so. While Linux can address extended x86 partitions, Solaris can only address primary partitions.
    Darren

  • How to sinck data between  production and R12 instance

    Hi,
    I am working on Oracle Apps up-gradation project.
    Now I have upgrade 11.5.7 to R12 (12.0.4) successfully. I started up-gradation task with 1 May of production data (backup) on new machine.
    Client wants to live R12 from 1/August/2009.
    Please suggest how to sinck data between production and R12 instance.
    Thanks
    Anup

    Hi,
    It is not possible to do what you propose (sync data from an 11.5.7 system to a 12.0.4 system). You will need to re-run the upgrade against the August 1 data, following your original upgrade procedures.
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • Using EPMA to transfer data between HFM and Essbase on 11.1.1.3

    Can we use EPMA to transfer data between HFM application and Essbase cubes on Hyperion version 11.1.1.3?
    As far my understanding we can only link HFM and Essbase through EAL.
    I would be very keen to know from the audience if we can use EPMA to transfer data between HFM and Essbase
    Hyperion version 11.1.1.3
    Windows 2003 64-bit
    Regards
    Yogananda Bharadwaj

    Hi Yogananda,
    Check epma admin.pdf, page 439. Chapter 19 describes how to synchronize and map data between Hyperion applications, interface tables, and external files via EPMA Data Synchronization.
    Regards,
    Thanos

  • Why replicate Master Data between CRM and IS-U?????

    Hello colleagues,
    I am at a customer who is already replicating Business Partner and Contract Accounts between CRM 5.0 and IS-U (ECC 6.0).
    He is using CRM IC WinClient where most of the processes are implemented as transaction calls in IS-U.
    There is a possibility to replicate all objects (Accounts, Connection Objects and Installations) but what is the purpose of doing it.
    Could anybody tell me what is the advantage of replicating all objects and having them redundant?
    Why to replicate?
    I just found information on how to replicate but not why.
    Thank you very much for your help in advance,
    Edgar Kauter

    Hi All,
    The major thing is we should not use ISU as stativ and CRM dynalic system. As we all aware When SAP is launching any module or technology its beleives in re-usabilty.
    Now the issue data replecation between CRM and ISU-
    1. In a utility market if the customer,retailer and the network operator initiate any business flow they should start with CRM as CRM is handling FOP part.It means CRM has not only build only for ISU.
    2. In ISU before billing so many things is getting triggered - like new connecion,transfer,move-in,move-out etc....these process cant be done with the CRM business module as I mentioned earlier CRM is not only designed for IS-U
    So for a smoother process and with proper business SAP introduced CRM IS-U.
    Without replacting the data between CRM and IS-U we cant process the steps which will at last billed a customer.
    Regards.
    Abinash

  • RH 10 is suddenly flickering between pagination and displaying

    I am trying to work on a topic, but RH 10 is "flickering"... the lower right hand corner status (at the very bottom of the PM pane)  is flickering between "Pagination" and "Displaying".  The font and font size is flickering, and the Paragraph and Character Styles pod list is flickering from "Normal" thru the list and then back to "Normal" in a split second.  I cannot work in the topic...This seems to be happening no matter what topics I'm in... as well as if I create a new topic.
    I did some PM organization of images and topics... and it was fine until then.  I have made all the updates I can find, restarted my system, uninstalled and reinstalled RH and reapplied the updates.
    What the heck is going on?  HELP!

    Hi there
    I'd be shocked (and very skeptical) if someone were to pop in and say something like: It happened because you had... (insert reason here).
    The thing is, there are a multitude of things that could be done to a project to cause this or that kind of a result. So all we can do is really guess at things.
    So having said that, here's some food for thought.
    When you work with RoboHelp, lots and lots of files are involved that track different aspects of the project. The main project database exists as a "ProjectName.XPJ" file. And another database exists as a "ProjectName.CPD" file. I do believe I've noticed that RoboHelp will sort of "flicker" as it attempts to ensure these two files are in sync. Sometimes we find that the .CPD becomes corrupt and will need to be deleted. When we delete it, as RoboHelp opens the project with the missing CPD, it sees the CPD is missing and sets about baking up a fresh one. And that process can cause the flickering as the database is rebuilt. How long it may take and you would see this would vary depending on the complexity of your project.
    Not sure if it helps or not, but perhaps it explains why you are seeing what you are seeing.
    Cheers... Rick

  • SQL to select data between a date range

    Hello,
    I am a new user to HTMLDB and I have an application where I need to select the rows from a table that are between a specified date range. The table description is
    name varchar2
    class varchar2
    sal number
    hdate date
    I want to select the rows of all names between date value 1 and date value 2. The SQL query I use in SQLPLUS does not work in HTML DB. The query I used is
    select null link, name from tab_data where hdate between TO_DATE('06-JAN-04','DD-MON-YY') and TO_DATE('08-JAN-04','DD-MON-YY')
    I also have 2 date picker fields in my form and I used a similar query which did not work.
    select null link, name from tab_data where hdate between TO_DATE(:P2_DATE1,'DD-MON-YY') and TO_DATE(:P2_DATE2,'DD-MON-YY').
    Can someone help me out?
    Thanks

    To All,
    This is getting frustrating... I have tried every combination and permutation I can think of with zero success. The table column I am querying is of type date. The nls_date_format is 'DD-MON-YY' on a 10g database on Linux ES. I am using datepicker 'DD-MON-YY'. I have converted it using TO_DATE, TO_CHAR(TO_DATE(, trunc etc. Is it just my installation? I have upgraded to the latest patch, so that can't be the problem. I created various test scenarios (virgin tables, one row, etc). I've been writing PL/SQL for fourteen years and I think I'm pretty good, but I've sure run up against a stone wall here. Surely somebody has done a date compare out there...
    select to_char(to_date('06-JAN-04','DD-MON-YY'),'MM/DD/YYYY') from dual;
    06-JAN-2004
    select to_char(YOUR_DATE_COLUMN,'MM/DD/YYYY') from YOUR_TABLE_WITH_DATE_COLUMN;
    15-OCT-2004
    15-OCT-2004
    15-OCT-2004

  • Inconsistencies data between ODS and RSA3 in SAP system (delta problem??)

    Hi everyone,
    I have a problem in my SAP BW production system. There is inconsistencies data between ODS (using tcode LISTCUBE) and Datasource in SAP system (tcode RSA3).
    I'm using Datasource: 0FI_GL_10 and ODS: 0FIGL_O10.
    In SAP system (using RSA3):
    GL Account: 1202012091
    Comp Code : 5400
    Bus Area: 5401
    Fiscal Year :2008
    Period: 07
    Accum Balance : $0
    Credit Total: $350
    Debit Total: $350
    Sales : $0 
    And in ODS (using ListCube):
    GL Account: 1202012091
    Comp Code : 5400
    Bus Area: 5401
    Fiscal Year :2008
    Period: 07
    0BALANCE : $350  (it should be $0,shouldn't it? )
    0CREDIT: $0 (it should be $350,shouldn't it? )
    0DEBIT: $350
    0SALES: $350 (it should be $0,shouldn't it?)
    I have tried these :
    1. Check if there is a start routine / routine or not in transfer or update rules....and...i get nothing
    2. Check the data using tcode FBL3N..but the data is ok
    And then i tried to trace the process chain and find error on delta infopackage which pull these data
    Date
    07.30.2008 : 231141 records --> error (ODS activation) --> request has deleted forever
    07.31.2008 : 2848 records   --> error (ODS activation) --> request has deleted forever
    08.01.2008 : 135679 records --> error (ODS activation) --> request has deleted forever
    08.02.2008 : 135679 records --> successfull repeat delta action
    From 30 July until 1 August there is an error on delta infopackage because
    fail to activate ODS (No SID found for value 'RIM' of characteristic 0UNIT). On 2 August someone delete the red requests and repeat the delta and success. Is there any possibilities that this problem arise because of this? If this the cause, how to bring back 2848 and 231141 records which has deleted?
    Thank you and Regards,
    -Satria-

    Hi everyone,
    I have solved my problem. I executed my infopackage again (selection condition using GL Account which have wrong amount) with update mode 'Full update' and choose Scheduler > Repair Full Request and tick the checkbox.Thank you.
    Regards,
    -Satria-

  • Share Data between Pro and Designer Form

    Good evening,
    Old Form:
    I recently inherited an adobe pro form created a few years ago. The naming conventions are horrible, and they refuse to replace the form to spit out an xml file. But they want the data to fill into an access database.
    New Form:
    I was able to create an adobe designer form, with proper naming conventions, that exports an xml file that can be imported into the access database.
    Help:
    Is there a way to link the old form data to the new form, with the naming conventions being different?
    Ideally, id like to create a button that will display a dialog box to select the old form and import the data without converting to an xml first…is this possible?
    Thanks in advance!

    Hello Pieter,
    Ok, it sounds like you are asking about 5 different things here.  Let me break them up and respond individually.
    There is no overhead inherent to using a MathScript node on RT.  Since the MathScript code is implemented on top of LabVIEW code, there will be varying levels of performance with respect to a native LabVIEW implementation, but simply having the node itself does not cause any overhead.
    On a Windows platform (or other desktop platform), the answer is the same: the node does not introduce any overhead into your algorithm.
    If you use the application builder to create a compiled program that uses the run-time engine, you are no longer able to change the .m file.  Or, to be a little more technically accurate, the LabVIEW run-time engine does not have a compiler.  Thus, you can change the .m file all you want, but the actual .m file that is used by your built application is the version that was present when you built the application.
    The behavior you observe with MathScript executing new code will only happen if you are running a VI with the full development version of LabVIEW.  We need the LabVIEW compiler in order to generate new code when you update a .m file and this is only present with the full development version of LabVIEW.
    The search path is only necessary when you are developing your VI on the host.  You can set a search path by right-clicking on "My Computer" in your project, choosing Properties, and then "MathScript: Search Paths."  Note: your VI will need to be in the "My Computer" target to locate your .m file.  After you have created your MathScript node, you can drag the VI to the target.  You are correct that the .m file is compiled when the program is deployed and you do not need to transfer the .m file to the target.
    Grant M.
    Staff Software Engineer | LabVIEW MathScript | National Instruments

  • Transfering data between sap and biw

    Hello everyone,
    I am new biw and am trying to establish communication
    between r/3 and biw. I have created logical systems in
    both and I am able to replicate data sources but
    when I create a infopackage and schedule a job I am not having much success in transfering the data from SAP into biw. I am getting the below warning messages in the monitor. Please help me understand the error.
    Error details:
    -> Overall status: Missing messages or warnings
       -> Requests (messages): Everything OK
          -> Data request arranged
          -> Confirmed with: OK
       -> Extraction (messages): Missing messages
          -> Missing message: Request received
          -> Missing message: Number of sent records
          -> Missing message: Selection completed
       -> Transfer(IDocs and TRFC): Missing messages or
    warning
          -> Request IDoc: sent, not arrived; Data passed
    to port OK
       -> Processing (data packet): No data
    Thanks heaps in advance.
    K

    Hi,
    R u found these idocs in ALE inbox for the source system that r not updated.
    if so we can process the Idoc's manually by pressing the process manually push button in the status tab of the monitor..
    else u can monitor those idocs in Tcode - BD87.
    regards-
    Siddhu
    Message was edited by: sidhartha

  • Select most recent file and display

    I've been considerig this and I am closer to how I expect it to work
    This is what I have so far but can't peice together just yet.
    Get the current open folder window look for the last item if shot within the last 30 secs of the creation date, if shot within 30 secs then select/highlight the file and use system events to press keystroke y using cmd and option down.(to put it on the screen in full screen) Display for 15 secs, or if esc hit then wait for next file to arrive and so on.
    If the window is closed of the current open folder then end applescript.
    This is how far I have got but can't link the ideas together well.
    set theWindow to name of front window of application "Finder"
    set theWindow to name of front window of application "Finder"
    set theFldr to path of theWindow
    tell application "Finder"
              set theContents to sort items of theFldr by creation date
              set theLastimage to (contents of item 1 of theContents) as text
      --is it within the last 30 seconds?
      -- yes, then
              tell application "System Events"
      keystroke "y" using {command down, option down}
                        delay 15
      key code 53
      --then wait for arrival of next image. and repeat.
      --if theWindow is close end applescript.
              end tell
    end tell

    Hi,
    If you don't want to use a folder action, try this :
    try
          tell application "Finder" to set currFolder to name of front Finder window
    on error
          return -- no Finder window
    end try
    set tDate to (current date) - 30
    repeat
          set b to false
          tell application "Finder"
                set fWindows to Finder windows whose it's name is currFolder
                if (fWindows is not {}) then
                      set tWind to item 1 of fWindows
                      set nFiles to document files of tWind whose creation date > tDate -- get newer files
                      set tDate to (current date)
                      if nFiles is not {} then
                            reveal nFiles
                            my selectionfullScreen(currFolder, count nFiles)
                            set b to true
                      end if
                else
                      exit repeat -- quit the script, the current Folder is closed
                end if
          end tell
          if not b then delay 5 -- no recent files, wait 5 seconds
    end repeat
    on selectionfullScreen(tName, n)
          tell application "System Events"
                tell process "Finder"
                      set frontmost to true
                      keystroke "y" using {command down, option down}
                      repeat (15 * n) times
                            tell window 1 to if (exists) and (its title is tName) then return -- the user close QuickLook
                            delay 1
                      end repeat
                      tell window 1 to if (exists) and (its title is not tName) then key code 53 -- close QuickLook after (15 seconds X (number of images))
                end tell
          end tell
    end selectionfullScreen

  • Select row between x and y

    Hi,
    ;WITH CTE AS
    ( SELECT tblFuelCostDetails.TripId, tblFuelCostDetails.PurchaseDate, tblPetrolPumps.PumpName as Pump
    FROM           tblPetrolPumps INNER JOIN
    tblFuelCostDetails ON tblPetrolPumps.PumpId = tblFuelCostDetails.PumpId
    SELECT distinct TripID, PurchaseDate,DENSE_RANK() OVER (ORDER BY TripID) AS RowNumber,
        STUFF((SELECT ', '+Pump FROM CTE P2 WHERE P1.TripID = P2.TripID AND P1.PurchaseDate = P2.PurchaseDate
        FOR XML PATH('')),1,1,'') AS Pump    
        FROM CTE P1   
    This query output is,
    TripID
    PurchaseDate
    RowNumber
    Pump
    73
    1/15/2014
    1
     N.R, Masranga
    74
    1/16/2014
    2
     N.R
    75
    1/12/2014
    3
    JK
    76
    1/13/2014
    4
    YUJ
    77
    1/14/2014
    5
    UYI
    How can i get RowNumber between 2 and 4

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules (you did not). Temporal
    data should use ISO-8601 formats (you failed this basic IT standard! Shame on you!). Code should be in Standard SQL as much as possible and not local dialect. 
    Did you know that putting “tbl-” is such a bad coding practice it has name? You actually Tibbled! 
    >> I am trying to load time dimension in a specific order <<
    A table has no ordering by definition. Let me say that again, so you will hear this: A table has no ordering by definition. You have completely missed the foundations of RDBMS. 
    Your code is also bad. Why did you rename “pump_name” (a valid data element name) to “pump” (vague and invalid)? Why do you think naming a CTE to “CTE” is informative? 
    Why are you destroying First Normal Form with XML??? Are you smarter than Dr. Codd? I would fire you for this kind of sloppy coding. 
    Do you know how rate SELECT DISTINCT is in a good schema? We usually use a key in the queries so there are not redundant rows. But since we have no DDL and no sample data, we cannot help you clean up this mess. Your query is simply this:
    SELECT F.trip_nbr, F.purchase_date, P.pump_name 
      FROM Petrol_Pumps AS P, Fuel_Cost_Details AS F
     WHERE P.pump_nbr = F.pump_nbr;
    Now pass the result set to a presentation layer, as per any tiered architecture. Since we have no logical rule for the subset you want, adding a DENSE_RANK() may not do what you want. Why order by trip_nbr? This is a tag number, not part of a sequence. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for