AVI Write with Data Problem
Hi,
Im trying to write video and data into an avi file, and I based my program mainly on the AVI read write with data example, however My write does not seem to be writing the data to the avi file. I have a test signal which is converted to a double precision floating point number which is then flattened to a string which is then fed into the AVI write frame VI. When i display this string on the front panel it displays some random string. However when I try and play back the avi and read the string again, I can see the video, but the string seems to not be saved with the avi file, and does not display. If you have any insight on the possible reason for this problem, i would really appreciate it
I am running LabView 8 with Vision Module and USB camera drivers.
I attached the 3 files I have been using to test this all.
Thanks for your help,
Haji
Attachments:
USB Read AVI.vi 63 KB
USB Grab.vi 121 KB
USB Play AVI.vi 57 KB
Hi Haji,
It looks like the problem is associated with the IMAQ AVI Create. There is an input on that vi called Has Data. This input needs to be true if you have anything wired to the Data input of the Write avi frame.vi. Try wiring a true constant into that has data input and that should correct the problem. I hope this helps.
Have a great day,
GG
Similar Messages
-
Major help needed with date problem
hi everyone, I have been working on this problem for so long, my brain is completely fried, really. the part of the project I have listed is just one of larger program that I have all figured out; this is the last part and I am just struggling to come up with a start. I think i need to use a for loop, but not quite sure.
HERE IS THE PROBLEM:
(2) Prompt the user for a premium amount (in dollars and cents, but assume the user does not enter the $ sign), a start date and an end date for a policy term, and an effective date for a policy cancellation. Dates should be entered with three separate prompts for year, month, and day, in that order. Month will be a number between 1 and 12, and year will have 4 digits. Assume any pair of dates is possible, between January 1, 1900 and December 31, 2200. You may assume that the user always enters a valid date. You may also assume that the user enters a start date that is before the end date. Assume the cancellation effective date is between the start and end dates. You may also assume that the premium amount the user enters is a valid number.
(5) Using the start date, end date, premium and a desired refund amount (entered by the user), calculate the cancellation effective date required to produce an amount equal to or slightly larger than the desired refund amount
if anyone is looking for some major duke stars, please post here . . .(5) Using the start date, end date, premium and a
desired refund amount (entered by the user),
calculate the cancellation effective date requiredto
produce an amount equal to or slightly larger than
the desired refund amountCan you describe in precise detail--clear enough so
that somebody who had no idea about this problem or
the process could do it--the steps you'd take to do
this without regard to Java?If I understand correctly, you need to find out what percentage of their policy they want to use (the refund they want back tells you what percentage of the premium they want back, so the rest is what they want to use). Then use that percentage to calculate the number of days they would have to use the policy to get that refund (you already know the total days, so total days * percentage = days until refund). Then you just need to find out what day is that many days after the start day. that would be when they would cancel. Hopefully that makes sense. I am still trying to have it make sense for me. I can't figure out how to code this. -
From chart with no data available to chart with data problem
Hi all,
If in my application I set a filter (through a dropdown or any other component) to a datasource and this retrive no data in the chart area appears this standard image:
But if in the next step I change again the filter to a dimension member where there is data, this appears:
It's obviously wrong and in order to fix the chart I have to change again the filter:
So basically every time the chart retrive no data I have to switch 2 times any filter in order to get the correct appearance.
Why this kind of behaviour?
Thanks,
MicheleHello Michele,
Today we found a work around for this issue .
In my scenario , when ever I unchecked a check box, my two chart which is under a panel is displaying this "No data available" message.
So what we did is first I hide my panel and re sized the Panel right margin, in the next line I enable the Panel of two charts and re sized to original size .Now no data available issue is not displaying.
Sample script
PANEL_1.setVisible(false);
PANEL_1_.setRightMargin (15);
PANEL_1_.setVisible(true);
PANEL_1.setRightMargin (0);
Imp: This script I given inside a button so when ever no data available message shows then click on this button and inside that button we given the above code.
Note: What I observed that this issue is occurring because of the chart component is not refreshing.So with the above option , the chart is refreshing and solving the issue .
Please try this logic in your scenario and let us know if it helps !!
I will work and update you if this code can be given inside a component so that user, no need to click on the Button to remove this error screen.
Regards
Arjun KT -
Pls Help urgent with DATE problem
Dear Sir,
I have to make a classified system using asp and its almost
ready but.....,
i really have a big hope that someone helps me here
I have two columns to play with
1. strDate
2. StrDateDisplayAD
Once the user submits his AD I want the date to be inserted
into the date
column strDate which is working perfectly well
but at the same time I want the date to be added + 5 days and
insert into
the strDateDisplayAd column
for Example,
Lets say someone post his ad on 5th July, then the values in
the column must
be
strDate | StrDateDisplayAD
5/6/06 | 10/5/06
Thanks in advanceUse a hidden form element that has a value of 5 days added.
In ASP VBScriptit would look like this:
<input name="StrDateDisplayAD" type="hidden"
id="StrDateDisplayAD"
value="<%= FormatDateTime(DateAdd("d", 5, Now()),2)
%>">
Ken Ford
Adobe Community Expert
"Techy" <[email protected]> wrote in message
news:e883h2$it2$[email protected]..
> Dear Sir,
>
> I have to make a classified system using asp and its
almost ready
> but.....,
> i really have a big hope that someone helps me here
>
> I have two columns to play with
>
> 1. strDate
> 2. StrDateDisplayAD
>
> Once the user submits his AD I want the date to be
inserted into the date
> column strDate which is working perfectly well
>
> but at the same time I want the date to be added + 5
days and insert into
> the strDateDisplayAd column
>
> for Example,
>
> Lets say someone post his ad on 5th July, then the
values in the column
> must
> be
>
> strDate | StrDateDisplayAD
>
> 5/6/06 | 10/5/06
>
>
> Thanks in advance
>
>
> -
HELP!!!! DATE PROBLEM
I have a procedure like this. But even though the value of both mdate and mlistdate_cur.leave_from values are the same , the if condition is not validated. Please help!!!!
PROCEDURE leave_check ( MDATE IN DATE, PDATE OUT DATE) IS
testflag char(1) := 'N';
cursor listdate_cur is
select leave_from,leave_to,type_of_leave from vacation_list;
BEGIN
for mlistdate_Cur in listdate_cur loop
if (mdate = trunc(mlistdate_cur.leave_from) ) then
pdate := mlistdate_cur.leave_to + 15;
testflag := 'Y';
elsif ( mdate >= trunc(mlistdate_cur.leave_from)) and (mdate <= trunc(mlistdate_cur.leave_to)) then
pdate := mlistdate_cur.leave_to + 15;
testflag := 'Y';
end if;
end loop;
if testflag = 'N' then
pdate := mdate;
end if;
END;Hello
Welcome to the club of Venezuelan Mac owners with date problems
There's a thread here about the same problem
http://discussions.apple.com/message.jspa?messageID=6399776#6399776
Please add your message to that thread, so there's a common record of this problem
Omar Vasquez -
I am a rookie in SAP i have a small problem with date.Do we have any function module to find out the first day in a month if we give out the system current date ?? Pls help me out.
Hi,
As Ganesan told,you can do.
Here is the sample code.
data v type sy-datum.
data d type DTRESR-WEEKDAY.
v+6(2) = '01'.
v4(2) = sy-datum4(2).
v0(4) = sy-datum0(4).
CALL FUNCTION 'DATE_TO_DAY'
EXPORTING
date = v
IMPORTING
WEEKDAY = d.
write d. -
Live Data / Problem with file permissions
Just trying out an old version of Dreamweaver MX 2004. I am
using my webhosting service for remote server/testing server
duties. It is running PHP 4.3.10 and MySQL 3.23.58. I was able to
set up the database connection and test-retrieve a recordset with
no problems. In following the tutorial I found that Livedata
wouldn't work, it just giving me a warning about file permissions
being wrong. It turns out that when Dreamweaver creates a temporary
file of the work-in-progress to upload to the remote server the
file is created on the server with owner=rw, group=rw, world=r
which explains why it won't run - group has to be set to group=r.
The file is created on the fly and then immediately deleted by
Dreamweaver so it is impossible to manually set the permission on
the server and probably fairly pointless too.
I tried just saving the file and previewing in the browser
which again causes it to be uploaded to the remote server. The
first time this resulted in the browser offering a file download
box instead of running the page. The reason is - again - that
Dreamweaver is setting the uploaded file permissions to include
group=rw. If I manually set the permission for group to group=r it
runs fine.
It turns out that Dreamweaver is always setting the file
permissions on file uploads (checked php and html) to the
remote/testing server to include group=rw. Once I set it manually
on the remote/testing server to group=r for a php file everything
is fine and subsequent uploads of the same file do not change it
again.
I checked with the webhosting company and their second-line
have reported back to me that the default file permission they set
on uploaded files includes group=r so it must be DW that is causing
the problem by setting group=rw the first time. I confirmed this by
using WS-FTP to upload the same file (renamed) to the same target
directory and the permissions set were owner=rw, group=r, world=r.
So
Can anyone please tell me how to change the permissions DW
sets on files written to a remote server because I have spent
countless hours on it without success. From looking at other posts
in this forum it could be that other users are hitting the same
kind of problem with DW8Stop using Live Data with a hosting account. Set up PHP and
MySQL locally on
your machine. That is how it's supposed to work. You
shouldn't test files on
the fly on a host as you write them. Change your test account
in DW to use
the local server. Upload your files to your remote server
after they are
fully tested.
Tom Muck
http://www.tom-muck.com/
"nigelssuk" <[email protected]> wrote in
message
news:[email protected]...
> Just trying out an old version of Dreamweaver MX 2004. I
am using my
> webhosting
> service for remote server/testing server duties. It is
running PHP 4.3.10
> and
> MySQL 3.23.58. I was able to set up the database
connection and
> test-retrieve a
> recordset with no problems. In following the tutorial I
found that
> Livedata
> wouldn't work, it just giving me a warning about file
permissions being
> wrong.
> It turns out that when Dreamweaver creates a temporary
file of the
> work-in-progress to upload to the remote server the file
is created on the
> server with owner=rw, group=rw, world=r which explains
why it won't run -
> group
> has to be set to group=r. The file is created on the fly
and then
> immediately
> deleted by Dreamweaver so it is impossible to manually
set the permission
> on
> the server and probably fairly pointless too.
>
> I tried just saving the file and previewing in the
browser which again
> causes
> it to be uploaded to the remote server. The first time
this resulted in
> the
> browser offering a file download box instead of running
the page. The
> reason is
> - again - that Dreamweaver is setting the uploaded file
permissions to
> include
> group=rw. If I manually set the permission for group to
group=r it runs
> fine.
>
> It turns out that Dreamweaver is always setting the file
permissions on
> file
> uploads (checked php and html) to the remote/testing
server to include
> group=rw. Once I set it manually on the remote/testing
server to group=r
> for a
> php file everything is fine and subsequent uploads of
the same file do not
> change it again.
>
> I checked with the webhosting company and their
second-line have reported
> back
> to me that the default file permission they set on
uploaded files includes
> group=r so it must be DW that is causing the problem by
setting group=rw
> the
> first time. I confirmed this by using WS-FTP to upload
the same file
> (renamed)
> to the same target directory and the permissions set
were owner=rw,
> group=r,
> world=r.
>
> So
>
> Can anyone please tell me how to change the permissions
DW sets on files
> written to a remote server because I have spent
countless hours on it
> without
> success. From looking at other posts in this forum it
could be that other
> users
> are hitting the same kind of problem with DW8
> -
Problem with data type 'STRING'
Hi All,
I have created a table named as zproject_mat and there is a field 'LONG_D' for long description and its size is not limited, so i used 'STRING' data type for this field. But the problem is: when i use this field in where condition with 'SELECT QUERY' in my abap program , it throws me an error..'The field long_d is a long string , so it cannot be used in WHERE, ON, or having conditions'.
Can anyone help me regarding this. I dont know which data type will be suitable in both conditions, LONG DESC AND SELECT QUERY.
Regards
RahulHi Rahul,
As mentioned your Table name is 'zproject_mat' and there is a field 'LONG_D'.
The field 'LONG_D' will have a Data Element associated with it. Create a new input Data Element & Domain 'ZLONG' of Type CHAR with Length = 1100. This will used in the code.
For the Table 'zproject_mat', you need to need to break up your field as 'LONG_D1', 'LONG_D2', ........, 'LONG_D5' with Data Element as 'BAPI_MSG'.
To INSERT data in table:
In your code, you need to write your logic where the field 'LONG_D' is SPLIT into 5 words and saved in your table against the 5 fields.
To SELECT data from table:
In your code, again you need to write your logic where the field 'LONG_D' is SPLIT into 5 words as abaove and pass them to your SELECT query...
SELECT SINGLE *
FROM zproject_mat
INTO wa_zproject_mat
WHERE long_d1 = v_split1
AND long_d2 = v_split2........
AND long_d3 = v_split3.
The limitation of a table length is 4096 whereas of a field is 255 to make it RFC compatible. Table/Structure fields that are passed via RFC for integration have this limitation and to maintain database standards, these limitations exist.
Hope this helps.
Regards,
Pranav. -
How to debug DAQ VIs (problem with data)
I am trying to debug (and understand) the attached VI. I’m not asking anyone to analyze/debug it, since it is far more than an example; I am new to these forums and feel like asking such a thing would be inappropriate.
I would like advice on how to debug it. I am also going to describe my problem to see if the cause may be obvious to someone.
The outputs of the "Angle Calc" sub-vi are fed into a state machine. The state machine actuates outputs to move a motor and measures changing angles. It first moves up/down, then left/right. The attached VI is called by a top-level VI and the front panel is not usually open. For some reason, when the front panel is opened, it behaves differently when it is called. The behavior only changes for the right/left movements.
Here's where I'm hoping someone can point out some better debugging methods for me.
I have been using the Express Write to LVM File VI and the Convert to Dynamic Data function to write acquired data to text files for analysis after the acquisition has completed. Are there better methods recommended for doing this? I wish I could run through the code while recording the execution and then step through a playback of it!
As for the specific problem I am having...
In the "Right Find Stall" case, the signal wired from the "Angle Calc" VI (array size 100) is connected to a Max/Min Array function. When I log the data coming from the Min/Max function, I see an alternation between valid data and 0 (i.e. 12.2, 0, 13.3, 0, 14.0, 0, 14.5, 0...). When I log the data being fed into the Min/Max function I do not see 0s.
A guess of mine is that the array is empty and therefore no data is logged but Min/Max returns a 0 (not sure why this would happen). I also have no idea why this would ALWAYS happen with the front panel opened. I have seen the effect with the front panel closed, but never to the same degree; usually just a seemingly random zero or two but not a pattern of every other point...
Thanks all,
Dave
Attachments:
Functional_Test.vi 2710 KBAngle_calc receives array controls in and passes array indicators out. It performs a trig function and a bit of multiplication.
I'll check out the Write to Spreadsheet File VI, haven't used it in the past. If it will allow me to write text out that'll be enough reason for me to stop using the Express VI.
I've used Execution Highlighting and stepping before but with the data acquisition by the time the application makes it around to the next read the DAQ card has sampled a ton of data and the data coming in is no longer useful (a different state should be active by then).
I do think the problem is related to the computer slowing down with the front panel open. I've logged the 'backlog' number of the Read function and found that the number in there is greater than 0 much more often when the VI's front panel is open and that I've seen relations between the 0s that I discussed earlier and the backlog going above 0 (usually the scan after a non-0 backlog seems to be a problem).
I need to familiarize myself with the DAQ basics, the buffer, backlog, and relation to sampling rate, etc.
In a simple VI I just wrote, I noticed that if I increased the sampling rate high enough, data being acquired into a chart cuts-out on a regular basis; instead of a smooth line, I see small dashes or dots of data (spaces in between). I don't understand this- I would expect data to be lost but not "no data" to be read in. I think understanding what is happening here would be helpful. -
Help needed with missing data problem in CRVS2010
We recently upgraded the reporting engine in our product to use Crystal Reports for Visual Studio 2010 (previously engine was CR9). Our quote report, which has numerous subreports and lots of conditional formatting, started losing data when a quote took more than a single page to be printed. We knew the SQL results included the data, but the report was not printing those lines at all or sometimes printing a partial line. In addition, the running total on the report would exclude the lines that were being missed on the next page. In one example submitted by a customer, 3 lines were skipped between pages.
I think I have identified two potential issues that document the possibility of data not being included in the report.
The first potential issue is an issue with the "suppress blank section" option being checked. This issue is supposedly fixed with ADAPT01483793, being released someday with service pack 2 for CRVS2010.
The second potential issue is using shared variables. This issue is supposedly fixed with ADAPT01484308, also targeted for SP2.
Our quote report does not explicitly use shared variables with any of the subreports, but it does have several subreports, each in its own section that has the "supress blank section" option checked. We have other reports that use this feature, as well, and they are not exhibiting the problem.
One different thing about the quote report is that it has a section with multiple suppression options selected. The section has a conditional suppression formula, which controls whether the section is included at all within the report. The section also has the suppress blank section option selected. There are multiple fields within the report that are each conditionally suppressed. In theory, the section's suppress formula could evaluate to true, yet all of the fields within the section are suppressed (due to null values), and then the "suppress blank section" option would kick in.
The missing data only seems to happen when the section is not being suppressed, and at least one of the fields is being included in the report. If I clear the "suppress blank section" check box, and change the section formula to also include the rules applied to the fields in the section, the missing data problem seems to be resolved.
Is this related to ADAPT01483793? Will it be fixed in service pack 2?
If more details are needed, I would be happy to provide a sample report with stored data.Hi Don,
Have a look at the Record Selection formula in CR Designer ( stand alone ) and when exported to RPT format opening that report in the Designer also.
There's been a few issues with => logic in the record selection formula. It could be you are running into this problem. Look for NOT inserted into your selection formula.
Oh and SP2 is coming out shortly so it may resolve the issue. But if you want you could purchase a support, or if you have a support contract then create a case in SMP and get a rep to work with you to debug the issue.
If you have not try the Trial Version of CR 2011, put it on a VM-ware image or Test PC so you don't corrupt anything for production and have a look at and test it in that designer also. If you purchase a case and it is a bug then you'll get a credit back for the case.
Don
Edited by: Don Williams on Oct 26, 2011 7:40 AM -
Hi,
One of my user is facing issue in creating new time sheet,
"The time sheet creation failed, because of problems with the project server or with data validations".
This issue is coming to only few members out of 10000 members.
Note: For the same user, can able to do in other machines. only the problem in his machine. Have ran the office diagnostics, but still the problem persists.
Is any add-on's/any settings need to update in IE. Could any one please help me on how to fix this issue?
Many thanks in advance.I would check the compatibility settings in IE etc, or try another browser (chrome, safari etc.)
Ben Howard [MVP] | web |
blog | book -
Problem with Date Picker and wwv_flow_item.date_popup()
I have a Report based on the HTMLDB How-To âBuild Tabular Forms for Multi-Row Operationsâ
This is my code:
select
X.RRIT_UID,
X.DOS,
X.CPT_CODE,
X.MOD,
X.DX_CODE,
X.CHARGES,
X.UNITS
from
(select
htmldb_item.text(1,RRIT_UID) RRIT_UID,
wwv_flow_item.date_popup(2,null,RRIT_DATE_OF_SERVICE) DOS,
htmldb_item.text(4,RRIT_SUBMIT_SERVICE_CODE,6) CPT_CODE,
htmldb_item.text(5,RRIT_SUBMIT_MODIFIER,3) MOD,
htmldb_item.text(6,RRIT_ATT_DIAG_CODE,6) DX_CODE,
htmldb_item.text(7,RRIT_BILLED_CHARGES,9) CHARGES,
htmldb_item.text(8,RRIT_UNITS,3) UNITS
from
RRIT_REPRICE_ITEM
where
RRRR_UID = :P5_RRRR_UID
union all
select
htmldb_item.text(1,null) RRIT_UID,
wwv_flow_item.date_popup(2,null,null) DOS,
htmldb_item.text(4,null,6) CPT_CODE,
htmldb_item.text(5,null,3) MOD,
htmldb_item.text(6,null,6) DX_CODE,
htmldb_item.text(7,null,9) CHARGES,
htmldb_item.text(8,null,3) UNITS
from
dual)
X
My problem is when I run the page and select a date from the Pop-Up calendar I get this error:
Line 10
Error: âopener.document.forms.0.f02.0â is null or not an object
I know it is something to do with data formats and the fact that I do not fully understand the use of wwv_flow_item.date_popup().Hi DK,
It is a WD Java application, Backend is ABAP (MM module).
The UI is input field, where the context attribute type is Date, So its been changed to Date Picker.
The problem is when the user runs the WD application in Portal, The calendar format is being changed for some users. That is for few users the Week starts with Monday and for few users the week starts with Sunday.
I need all the users to have Monday as the First day of the week.
Please let me know, what will be solution for this.
Since I haven't done anything in regard to date, it is a simple Date format.
Thanks & Regards,
Palani -
having a problem with dates when I send my numbers doc to excel. dates are all out and that they have to cut and paste individual entries onto their spreadsheet. Any idea how I can prevent this.
I'm using Lion on an MBP and Numbers is the latest versionMay you give more details about what is wrong with your dates ?
M…oSoft products aren't allowed on my machines but I use LibreOffice which is a clone of Office.
When I export from Numbers to Excel and open the result with LibreOffice, the dates are correctly treated.
To be precise, dates after 01/01/1904 are correctly treated. dates before 01/01/1904 are exported as strings but, as it's flagged during the export process, it's not surprising.
Yvan KOENIG (VALLAURIS, France) mardi 3 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : http://public.me.com/koenigyvan
Please : Search for questions similar to your own before submitting them to the community
For iWork's applications dedicated to iOS, go to :
https://discussions.apple.com/community/app_store/iwork_for_ios -
Problem with DATE in Interactive Report
Hello,
In Interactive Report when I click on the header of any column with DATE datatype, nothing happens due to Javascript error:
Line: 2
Char: 14838
Error: Expected identifier, string or number
Code: 0
Click on any other column works perfectly as well as sorting by DATE column from Action Menu.
I tried to set different format masks for my DATE column and for Application Date Format, but it didn't help.
Finally I found out that this error disappeared when in properties of my DATE column in "List of Values" section I set "Report Filter Date Ranges" = 'Past' instead of 'All'. In this case I get the list with values "Last 5 Years", "Last 2 Years", etc, but not with "Next Hour", "Next 2 Hours", etc...
Can someone help me on this issue, because this functionality might be usefull and also it's not very convinient to change this property for all date columns in all Interactive Report.
By the way, my database version is 9.2.0.5 - maybe it can cause such problem?
Best regards,
VladimirHi Marco,
1) French Canada (fr-ca)
2) This filter works
More informations about the error when I call the function gReport.controls.widget():
<h;div id="apexir_DT" style="text-align: center;" onclick="gReport.controls.widget(this.id)">h;Date de naissance<h;/div>h;
*************POST*************
flowid 48579
p_flow_step_id 5
p_instance 1412541985987586
p_request APXWGT
p_widget_action SORT_WIDGET
p_widget_mod CONTROL
p_widget_name worksheet
x01 5775894815382747091
x02 5775899227924757464
x03 apexir_DT
*************RESPONSE*************
{"dialog":{"id":"1966481623126322611","hide":["apexir_info","apexir_computation"],"coltype":"DATE","filter"
:false,"uv":true,{"dialog":{"uv":true,"row":[{"V":"Failure<br />ORA-20001: get_dbms_sql_cursor error
ORA-00923: FROM keyword not found where expected"}]}}
Louis-Guillaume
Homepage: http://www.insum.ca
Blog: http://insum-apex.blogspot.com -
Hi
I am new to reporting services/report designer but have created a number of simple reports with Parameters using data from queries that have worked but I have a problem with this using Date and Time.
I am using MS Visual Studio 2008 (BIDS) and our SQL Server is Windows Server 2008 R2
I need to allow the users of the report to choose a start date and an end date
The Start Dates are held in a field called PhaseStartDate
The End Dates are held in a field called PhaseEndDates
I have tried multiple ways to try to get this to work with no success and with the latest attempt I get the message
"An error occurred during local report processing. The definition of the report 'JKVoidLoss' is invalid. The report parameter 'StartDate' has a default value or ValidValue that depends on the report parameter"Startdate". Forward dependancies
are not valid"
I will explain how I set up the Startdate. The EndDate is set up the same with the relevant values and fields.
I created a new data source called StartDate. Under QUERY I have Select PhaseStartDate from QLHRA_VoidPhases. This runs okay when tested in Query designer and RUN.
Under FIELDS I have Field name as PhaseStartDate and Field Source as PhaseStartdate
Under PARAMETERS I have Parameter Name as PhaseStartDate and Parameter Value as [@StartDate]
I set up a Parameter called StartDate with Data type as Date/Time
Under Available Values I selected Get values from a query with Dataset being StartDate, Value field being PhaseStartdate and Label field being PhaseStartDate
There are no Default Values
I have tried moving the parameters up and down using the blue arrows under report data. I have tried multiple different methods to resolve this by changing values in the Properties screens.
I also tried removing the DataSets and just using the Parameters with default settings. in preview, this ran the report but no matter what dates where entered the output was always the same.
Any assistance will be greatly appreciated as I have spent hours on this so far
Regards
JohnHi
I am new to reporting services/report designer but have created a number of simple reports with Parameters using data from queries that have worked but I have a problem with this using Date and Time.
I am using MS Visual Studio 2008 (BIDS) and our SQL Server is Windows Server 2008 R2
I need to allow the users of the report to choose a start date and an end date
The Start Dates are held in a field called PhaseStartDate
The End Dates are held in a field called PhaseEndDates
I have tried multiple ways to try to get this to work with no success and with the latest attempt I get the message
"An error occurred during local report processing. The definition of the report 'JKVoidLoss' is invalid. The report parameter 'StartDate' has a default value or ValidValue that depends on the report parameter"Startdate". Forward dependancies are not valid"
I will explain how I set up the Startdate. The EndDate is set up the same with the relevant values and fields.
I created a new data source called StartDate. Under QUERY I have Select PhaseStartDate from QLHRA_VoidPhases. This runs okay when tested in Query designer and RUN.
Under FIELDS I have Field name as PhaseStartDate and Field Source as PhaseStartdate
Under PARAMETERS I have Parameter Name as PhaseStartDate and Parameter Value as [@StartDate]
I set up a Parameter called StartDate with Data type as Date/Time
Under Available Values I selected Get values from a query with Dataset being StartDate, Value field being PhaseStartdate and Label field being PhaseStartDate
There are no Default Values
I have tried moving the parameters up and down using the blue arrows under report data. I have tried multiple different methods to resolve this by changing values in the Properties screens.
I also tried removing the DataSets and just using the Parameters with default settings. in preview, this ran the report but no matter what dates where entered the output was always the same.
Any assistance will be greatly appreciated as I have spent hours on this so far
Regards
John
As I understand what you need to do is to just remove parameter from the dataset query for populating the date values and then it should work fine
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Maybe you are looking for
-
"Would you like to install a Java SE 6 runtime now?" NO!!!
Every 30 minutes or so, the message, To open "java," you need a Java SE 6 runtime. Would you like to install one now? pops on my screen no matter what software I am using. I disabled anything Java in my web browsers, looking at the log in the Console
-
Problem viewing form response pdf
Hi All, I created a form using Acrobat X Pro that I emailed to myself to test before distributing. I filled out the form, then tried to view the response. I got an this error message: So I installed the new Flash, but when I went back to view the res
-
Physical standby database in Standard Edition.
Hi, we have Standard Edition and want to implement a stand by environment. Is it true that with this edition archive logs are not transported automatically to the stand by server using LOG_ARCHIVE_DEST = my_stdby_service ? Also, let's suposse I manag
-
Anyone downloaded Devon's WordService? I need help.
I downloaded Devon's WordService, or I think I did. How can I tell if it's really on my computer? It's not in my applications folder and when I got to pages and open a document, I can't find any anything new added. I looked on the web for instruct
-
I use Photoshope Elements 9 to do scrapbooking. My desire is to us Dropbox so I can work on my laptop or on my destop. All of my photos are on my laptop. I moved some .jpg files, .mob files, and some .psd files to dropbox off of my laptop. When I