Random Record Fails
Hi,
Have had my new you view plus box for a fortnight, now.
Everything is working fine, apart from every now and again, randomly, when we set a recording to be recorded at a later time, it will record the first three or four minutes then stop recording.
We don't get any error messages, we just end up with a four minute recording.
Any ideas?
Thanks.
Yep known issues, see https://community.bt.com/t5/YouView-Boxes/youview-recordings-stopping-after-2-minutes/td-p/1404053
Similar Messages
-
How can I select the random records in u201Cstep loopu201D.
Hi, Experts,
I am using step loop to display the data on screen now I want to select the random records from this step loop display. Like 1st 3rd or 5th record, is there any way to select the records,
like I did in Table control there was a filed in internal table named marked char length 1, I gave this field name in u201Cw/ SelColumnu201D it fill that field with u2018Xu2019 from where I can get the info about the selected records, in this way I can easily perform the operation on that internal table with the help of that marked field.
Is there any way to select the records in step loop too ?
Kind Regards,
Faisalthanks for replay shwetali,
but i just gave you example of random records with 1st 3rd and 5th my goal is not select only these records. i want to select the random mean any records from the step loop display.
like we can select from the table control. and when select any record it place 'X' in the given internal table field.
Thanks and kind Regards,
Faisal -
Data Loader - Only imports first record; remaining records fail
I'm trying to use Data Loader to import a group of opportunities. Everytime I run the Data Loader it only imports the first record. All the other records fail with the message "An unexpected error occurred during the import of the following row: 'External Unique Id: xxxxxxx'". After running the Data Loader, I can modify the Data file and remove the first record that was imported. By running the Data Loader again, the first row (previously the second row) will import successfully.
Any idea what could be causing this behavior?W need a LOT more information, starting with the OS, and the version of ID, including any applied patches.
Next we need to know if you are doing a single record per page or multiple records, whether the placeholders are on the master page, how many pages are in the document and if they all have fields on them (some screen captures might be useful -- embed them using the camera icon on the editing toolbar on the webpage rather than attaching, if it works [there seem to be some issues at the moment, though only for some people]).
What else is on the page? Are you really telling it to merge all the records, or just one?
You get the idea... Full description of what youhave, what you are doing, and what you get instead of what you expect. -
Select Random Records with Group By?
Hi,
I currently select random records by using this type of SQL:
(SELECT *
FROM ( SELECT *
FROM ( SELECT *
FROM TABLEA
ORDER BY dbms_random.value
WHERE ROWNUM <= 100
Based on the following data, I now want to still pick out random records but I only want 1 record from the same ID and START_DATE but where the FLAG could be Y or N.
So with grouping by ID and START_DATE, I need to still be able to choose the record if it has anything from 1 entry or 10 entries per ID and START_DATE.
Could this be performed with a GROUP BY?
ID START_DATE FLAG
1 12/12/2005 Y
1 12/12/2005 N
1 12/12/2005 N
1 30/12/2005 Y
1 30/12/2005 N
1 30/12/2005 N
2 10/10/2005 Y
2 07/07/2005 Y
Thanks for any help.
DanielTry this [not tested]:
SELECT *
FROM
(SELECT *
FROM
( SELECT
ID
,START_DATE
,FLAG
,ROW_NUMBER() OVER
(PARTITION BY ID,START_DATE ORDER BY dbms_random.value) RN
FROM TABLEA
ORDER BY dbms_random.value
WHERE RN = 1
AND ROWNUM <= 100
; -
Dynamic Table with Random Records
What I am trying to do is select random records from a table
and display them in a dynamic table with max columns set to 3 and
the 4th record to be on a new row. Below is what I have right now
and it works to randomly pick records but has no function to set
columns in a table. If there is an easier way feel free to let me
know. I have tried various ways to do this but none seem to work.
<CFQUERY NAME="getItems" DATASOURCE="absi">
SELECT catfit.*, modcats.*, prodmat.*, prod.* FROM catfit,
modcats,
prodmat, prod WHERE prodmat.prodid=catfit.prodid And
catfit.catid=modcats.catid
ORDER BY modl ASC </cfquery>
<cfif getItems.recordCount>
<cfset showNum = 3>
<cfif showNum gt getItems.recordCount>
<cfset showNum = getItems.recordCount>
</cfif>
<cfset itemList = "">
<cfloop from="1" to="#getItems.recordCount#"
index="i">
<cfset itemList = ListAppend(itemList, i)>
</cfloop>
<cfset randomItems = "">
<cfset itemCount = ListLen(itemList)>
<cfloop from="1" to="#itemCount#" index="i">
<cfset random = ListGetAt(itemList, RandRange(1,
itemCount))>
<cfset randomItems = ListAppend(randomItems, random)>
<cfset itemList = ListDeleteAt(itemList,
ListFind(itemList, random))>
<cfset itemCount = ListLen(itemList)>
</cfloop>
<cfloop from="1" to="#showNum#" index="i">
<cfoutput>
<table width="205" border="0" align="left"
cellpadding="0" cellspacing="0">
<tr>
<td width="235" height="116"> <div
align="center"><img
src="../Products/ProductPictures/#getitems.pic[ListGetAt(randomItems,
i)]#" width="100"></div></td>
</tr>
<tr>
<td
class="ProdTitle">#getitems.brand[ListGetAt(randomItems,
i)]# #getitems.modl[ListGetAt(randomItems, i)]#</td>
</tr>
<tr>
<td
class="paragraph">$#getitems.prc[ListGetAt(randomItems,
i)]#</td>
</tr>
<tr>
<td><A
href="../Products/details.cfm?prodid=#getItems.prodid[ListGetAt(randomItems,
i)]#" class="linkcontact">more
info</a></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</cfoutput>
</cfloop>
</cfif>To start a new row after 3 records, do something like this.
<table>
<tr>
<cfoutput query="something">
<td>#data#<td>
<cfif currentrow mod 3 is 0>
</tr><tr>
</cfoutput>
</tr>
</table>
You should also know that your approach is very inefficient
in that you are bringing in to cold fusion more data than you need.
First of all you are selecting every field from 3 tables when you
don't appear to be using all of them. Second, you are selecting
every record and you only want to use 3. There are better ways out
there, but they are db specific and you did not say what you are
using. -
Morning all
Just a quick one.
How do I display a random record in DW?
I have a MySQL statement which is:
SELECT * FROM
tablename ORDER BY RAND() LIMIT 0,
number of records to display
The error message I get is:
'Syntax error (missing operator) in query expression RAND()
LIMIT 0'
If I alter 'RAND()' to 'RND()', I still get the error. If I
remove the '0' I still get the error.
Any ideas how to make this work?
I'm using Access BTW.
Regards
MartinTell your SQL statement what to RAND - right now it doesn't
know how to
randomize it, by what field.
"Pantyboy" <[email protected]> wrote in
message
news:ef0and$r7g$[email protected]..
> Morning all
>
> Just a quick one.
>
> How do I display a random record in DW?
>
> I have a MySQL statement which is:
>
> SELECT * FROM
tablename ORDER BY RAND() LIMIT 0,
number of
> records to
> display
>
> The error message I get is:
>
> 'Syntax error (missing operator) in query expression
RAND() LIMIT 0'
>
> If I alter 'RAND()' to 'RND()', I still get the error.
If I remove the '0'
> I
> still get the error.
>
> Any ideas how to make this work?
>
> I'm using Access BTW.
>
> Regards
>
> Martin
> -
I must be doing something wrong, because I cant imagine that ADF reacts the way it does within my application.
I have 2 datapages, browseDP and editDP
I have 1 data action, createDA, I dragged the create method from my viewobject here
The flow is as follows:
browseDP(create button) --> createDA --> editDP
browseDP(edit button) --> editDP
This works fine
But when a user presses the create button and the creation of a new record fails, the user
will edit the record where the DB cursor is atm. But the user thinks he's adding a new record.
You can understand that this leads to unwanted situations!
There is no error message given to the user if the creation of a new record fails, it also doesnt
return to the browse screen with an error message. Is this default behavoure of ADF? should I implement
my own error checking mechanism when creation fails???
Is there also a default flow option if a data action fails? I know success is default.
Does anybody have some tips for me, I want to avoid the explained situation.
kind regards
a very frustrated developer
IdoWe've found solution to that problem, maybe someone will save few hours thanks to following trick:
1. create UIX page with read-only table showing all the rows from details table
2. Below the table put form that will let user edit currently selected row
3. Insert "Create" submitButton in tableActions of the read-only table
4. Button "Commit" and "Rollback" might be put below input form to save or cancel entered changes
5. Now the tricky thing: instead of using submitButton that is binded to 'Delete' binding, do the following:
a) created binding that deletes current row in detail table
b) put button (not submitButton) and set it's destination property to "?event=mydelete"
3) create event in UIX page that is called 'mydelete' and runs binding 'Delete'
That's all - using that approach, when using clicks 'Add' and then 'Delete' he will not see JBO's saying that he didn't filled in required fields. It's a little bit obscure, but for me it's acceptable :-)
Leszek Deska -
I'm running QT Pro 7.3 under leopard on my MacBook Pro.
Each time I try to record a new audio or a new video, the recorder window comes up fine . But, when I press the red 'record' button, I get a message "Recording Failed. Recording failed to create a movie." I get the same message whether using audio or video recording. It doesn't matter if I manually select internal mic or USB in preferences.
Any advice on how to track this down? I can record in Garage Band, Amadeus Pro and Ubercaster, but QT is best and easiest for my needs.
Thanks.I figured out the problem - when I transferred the setting from old Mac to my new Mac, the default location for saving recorded files was the desktop. Apparently there is a different file location for 'desktop' in Leopard than in Tiger. So, when I re-pointed the default directory in preferences to 'Desktop' again, that solved the problem.
-
Quicktime Pro 7.1.5 on MacBook Pro 17inch (Recording failed to create movie
I went into Preferences and changed the camera from the built-in iSight to a USB camera (that works fine with iChat).
When I tried to create a new movie I get the error:
Recording failed.
Recording failer to create a movie
behind the error box I can see a black QT screen.
suggestions? I could have sworn I switched cameras before in QT.
Thanks, --bill
MPB 17in - 3GB Ram - 200 GB Mac OS X (10.4.8) I also have a G5No really this is an Intel only bug. Hopefully someone at Apple reads this.
I have a USB Logitech QuickCam Pro 5000.
On my G5 this will happily record movies in Quicktime, provide images in IChat and work with Photobooth.
On a February 2006 Macbook Pro, IChat works, Photobooth defaults back to the built in iSight (is there any way of changing this??), it even works with Windows on Parallels, but Quicktime fails as described above with the 'Recording failed to create a movie' message.
Both computers are running MacOS X 10.4.9 patched right up to date.
USB cameras must be supported on current systems - the built in iSight is USB connected!!!
Bill -
I have a page that I have a recordset on just calling the
RecordID in the database. How would I have the page or recordset
select a random record and put that recordID in say a session
variable?
ThanksMySQL:
SELECT yourfield FROM yourtable WHERE ... ORDER BY rand()
LIMIT 1
MSSQL:
SELECT TOP 1 yourfield FROM yourtable WHERE ... ORDER BY
newid()
MS Access:
SELECT TOP 1 yourfield FROM yourtable WHERE ... ORDER BY
RND(yourprimarykey) [warning: this may not be random through
CF]
HTH
Tim Carley
www.recfusion.com
[email protected] -
I have a DB of sites that I need to query and pull in 5
records that are to be displayed in a random order.
I can limit the records but I'm struggling with displaying
them in a random order.
Any ideas?We're using MySQL as the DB and to clarify I need to pull in
5 random records in a random order.
I've just been emailed the answer by a friend so I'llpost it
up here.
"SELECT *
FROM tablename
WHERE somefield='something'
ORDER BY RAND() LIMIT 5"
Seems to work fine to me. -
I would like to have a section on my ASP page to generate a
random record that pulls from my database. So that each time the
page is opened/refreshed, a different record is displayed.
Any ideas?"Biggest Dave" <[email protected]> wrote in
message
news:e2nn6n$83e$[email protected]..
>I would like to have a section on my ASP page to generate
a random record
>that pulls from my database. So that each time the page
is
>opened/refreshed, a different record is displayed.
>
> Any ideas?
Yes.
Of course, since I don't know what database you're using, any
or all of
those ideas could be useless. -
Looking to create a random record repeat region where the
random records being pulled updates a hit count. i.e. a simple
banner rotator that counts how many times it's displayed. not all
banners being rotated are in one folder... they are simply accounts
designated as being featured. I tried the order by rand() limit
5... error. changed to just rand() and that worked... but how do I
update a file based on that?darrel wrote:
>> i tried the code you provided, the 2 question
marks... but that didn't seem
>> to do it either. anyone else have any ideas on how
to update a hit counter
>> based on the random record recordset?
>
> Instead of being a smart-***, how about actually either
a) quoting the
> original question or b) repeating the question.
>
> Anyone that's going to be of any help to you uses the
newsgroup interface,
> not the crappy web forum, so when you reply to a
question that's several
> weeks/months old, we don't see the original post.
>
> So, as such, all we saw was your silly question mark.
I use a newsreader and saw the entire thread as if it was a
new one.
There was 3 days between the original posts and his question
mark. Maybe
a question mark wasn't the right way to get more attention to
the post...
Steve -
Hi guys,
Is there an easy way to display a random record from an XML
file? Current code:
HEAD
<script type="text/javascript">
<!--
var dsPower = new Spry.Data.XMLDataSet("broadband.xml",
"software/product");
//-->
</script>
BODY
<div spry:region="dsPower">{product_name}</div>
What i want to happen is when the page is loaded (and/or
reloaded) i want the {product_name} to randomly display any one of
my ten product names. I presume it requires use of {ds_RowID} and
some JavaScript, but am unsure of where to begin.
Thanks in advance for any help.nevermind people, i figured it out already. please close this topic.
-
Can someone tell me how to display a random record from a database? I want to use it on my site to show a "review"... am able to do it in ASP but not sure how to in JSP.
Any advice is gratefully received.
Mok man
you can put all object that you get it form DB in not
sorted contener as HashMAP. okYeah, then to further randomize it, you can use a Random Number to lookup in that HashMap. ;) Sounds interesting.
Annie.
Maybe you are looking for
-
How do o get my browsing history to show on the mozilla icon in the taskbar?
I'm not even sure if I'm using the correct terminology, but here's the problem. During a session, if I clicked on the Mozilla Firefox icon on the taskbar (bottom left of my screen), it would show all of the pages I'd been looking at, and I could just
-
Balance sheet G/L account posting is not captured in the SLR budget report
My case: While posting a schedule agreement ( which is account assigned to "project make to order"), to G/L account, the following warning message comes. " G/L account is a balance sheet account". Although I am able to post the scheduled agrrement
-
Hi All, We have generated ACH-CCD file using PMW. However, we are unable to get the company name in the 5-record. This is a required field. Any idea where can we maintain that filed so it gets populated in the file ? Thank you for your help! Maya
-
Measuring temperature with PCI-4351 & TC-2190
Hi, I am a new LabView developer. I have a PCI-4351 data logger card and a TC-2190 thermocouple chassis. I cannot communicate with the 4351 cuz I don't know how. I've set up a channel with MAC and the hardware test works okay, but I can't find the ri
-
X220 - Access Connections Wireless issue - Driver disconnected while associating
I am trying to connect to our wireless network at work. I have verified that my settings are correct with the other X220s that we have connecting to our network. When the connections fails and I select "help me fix this" I get four error messages.