Issues with Synchronize to and from DB (version 3.3.0.747)

Having an issue with syncing the model and the data dictionary is a very specific case:
1. Reverse engineer an existing table (T1)
2. Copy the table (in data modeler) - T2
3. Rename the table, make changes (add columns and keys)
4. Forward engineer the new table (i.e., export and run DD for T2L)
5. Make additional changes to new table (T2) in data model.
6. Run sync db with model - the sync routine compares my new table (t2) to the original table (T1) in the database! It cannot "find" my new table (T2) in the database to compare to.
7. Alternatively try to sync the model with the db - this time it wants to sync the original table (T1) to itself (which has no change) and DROP my new table (T2) from the model.
It appears that sync is looking at meta data one my new table (T2) that contains the original copied table's name (T1). And in fact if I look at the table Summary properties - the source db object property does list the original table name (T1).
I also tried to reverse engineer the new table (T2) to the merge with the model, that has the same behavior as the sync.
Is there a way to fix this short of dropping T1 from the schema?
Edited by: Kent Graziano on May 20, 2013 2:37 PM

Hi Kent,
thanks for reporting the problem. I logged a bug and ER for that.
Is there a way to fix this short of dropping T1 from the schema?Unnecessary information about source need to be cleared. Here is a script that will help on that:
//array with 2 elements to illustrate different use cases - the first is used to have exact match on table name
// the second one ("REGIO") can be used with following check in inList function
//if(table.getName().startsWith(list)){
var list = ["Regionsv1","REGIO"];
function isInList(table){
     for(var i=0;i<list.length;i++){
          // different approaches to match table name can be used
          // be aware of letter case
          //if(table.getName().startsWith(list[i])){
          if(table.getName().equalsIgnoreCase(list[i])){
               return true;
     return false;
function clearSourceStampforTable(table){
     clearSourceStamp(table);
     cols = table.getElements();
     for(var i=0;i<cols.length;i++){
          clearSourceStamp(cols[i]);
     keys = table.getKeySet().toArray();
     for(var i=0;i<keys.length;i++){
          clearSourceStamp(keys[i]);
          if(keys[i].isFK()){
               clearSourceStamp(keys[i].getFKIndexAssociation());
function clearSourceStamp(object){
     object.setSourceConnName("");
     object.setSourceObjSchema("");
     object.setSourceObjName("");
     object.setSourceDDLFile("");
     object.setDirty(true);
tables = model.getTableSet().toArray();
for(var i=0;i<tables.length;i++){
     table = tables[i];
     if(isInList(table)){
          clearSourceStampforTable(table);

Similar Messages

  • Issues with iCloud synchronisation and contacts over two or more devices.  iTouch and iPad2 sync with different results from iMac.  Thoughts?

    Has any one experienced issues with iCloud synchronisation and contacts over two or more devices? The primary machine is an iMac running Lion. Address Book was created from vcf file (backup of address book prior to moving to iCloud). iTouch replicates Contacts just fine and matches the Address Book on the iMac. The iPad 2 does not showing only 123 contacts where there should be 200. I have turned off iCloud on both devices thus erasing the iCloud content of both devices and staring from scratch with both devices with identical results. Even turned off iCloud on the iMac and erased the Address Book and rebuilt with the same results. Anyone have any ideas or suggestions? I am going nuts.....

    To follow-up with this issue:
    I ended up performing a security wipe on my device. The security wipe finished, and I was about to reconnect with Exchange when I decided to visit our host's web site to see if they had any articles covering the issues I was experiencing. While they didn't have anything specific, I did find a step-by-step guide to connecting a BB10 device to Exchange... and right there at the end, it said "Do NOT enable memo sync."
    I contacted support, and the rep told me that OS 10 has an issue with memo sync and it can cause all sorts of unpredictable behavior. Now, whether or not this is accurate I can say this: So far, the device is not disconnecting and reconnecting like it was before. Problem is, is this a result of not enabling memo sync, or is this a result of the security wipe?
    I may have overlooked it, but I don't recall reading anything about that anywhere else. I'm tempted to try re-enabling the memo sync to see if everything blows up again. At least that way I can see for myself if the memo sync is a real issue. Of course, perhaps it's an issue with SherWeb (our host) specifically. Hm...
    Anyway, for those that were interested, and for those that may come along in the future with a similar situation, the strange behavior that I first reported is no longer happening. I just don't know if it was a result of a security wipe or a result of not enabling memo sync with Exchange.
    Ian

  • Will Lightroom and Photoshop CC work with Indesign/Illustrator/etc from older versions of CS installed on my Mac?

    if I subscribe to the Photo plan, will Lightroom and Photoshop CC output work with Indesign/Illustrator/etc from older versions of CS installed on my Mac?

    I currently have premiere cs4 and cs5 installed and have had no problems. I have noted on the forums here that some people were reporting problems. So the only way to realy know is make the plunge. I'm running win 7 pro.

  • Issues with Exchange Account and Q10

    Well, I hate to be writing this, but I'm hoping that there might be someone out there that can help get past some first day issues I am experiencing.
    The background: I have a long history with legacy BlackBerry devices, and almost as much history with iOS devices. My most recent phone was an iPhone 4S, and I make extensive use of iCloud to keep my iMacs, iPhone, and iPad connected in real-time. The setup worked. It wasn't perfect, but it worked. However, because I used to have a BlackBerry device (most recent the 9930) and because I don't use the iPhone for more than e-mail, iMessage, and phone calls (generally speaking), I decided to give the newest BlackBerry device a shot. So I bought a Q10.
    At this point I feel compelled to say that the hardware is everything I had hoped it to be. It's solid, has a good weight, and appears to be made very well. I have no complaints with the hardware, including the keyboard (a big selling factor for me), so I won't really get into the hardware as the issues I am experiencing all have to do with the OS. Let me also say that I am very familiar with the iCloud integration issues (missing Contact photos and disabled Calendar sync), so I'm not voicing a complaint over those issues in this thread.
    I have connected my Exchange account. I used to have everything in Exchange before I moved my entire computing world over to Apple, and now I keep Exchange around for e-mail. Therefore, I have no contacts, no tasks, no notes, very limited calendar entries, and a massive amount of e-mail on the Exchange server. However, to test everything out, I have added a single contact record so I can see it show up on the phone and be able to test two-way sync between the Q10 and Exchange. And here is where the first issues crop up. It looks like Exchange connects and then disconnects at random. For example, if I open my Contacts on the phone, I see the one contact (called John Doe). Then, as the phone is sitting there with the screen on, the contact will disappear and I will see a "Start adding contact to your contact list" notice on the screen. Then, after a short period of time, the single contact will return. It is important to note that the entire time this is happening, the All Contacts option is selected in the list so that all available contacts are shown. Additionally, I have SIM card contacts turned off, but if I alter the selection in the view list (All Contacts, Favorites, etc.), the SIM contacts will re-appear when I return to the All Contacts view. At the same time, even though I have turned off SIM Contacts in the settings, the setting has reverted to show SIM Contacts. If I turn off the setting again, SIM Contacts still show up. Possibly related: I can't delete contacts on the SIM card, no matter how many times I try, and it now it seems that I can't get SIM Contacts to go away in the Contacts app.
    Likewise, Exchange seems to connect and disconnect from Calendar. I go to the calendar and move day by day to June 15th. I see an entry that I know is from Exchange (I have no other connected calendars at this time), and it is in blue. I change the calendar color to green and the entry changes color, as expected. However, if I jump back to today and then scroll day by day to get to June 15th again, the calendar entry is missing. After a few seconds, the entry re-appears, but it is, once again, in blue. The setting has reverted itself, and it seems like Exchange is completely disconnecting and automatically reconnecting to the phone like I am setting it up again for the first time. Very odd. As I'm typing this, I just saw something odd. I swiped to wake up the phone, and the active frames screen was the visible screen. The calendar app is still running (since I left it running, minimized, when the phone went to sleep) and the date shown in the active card was Jan 1, not Jun 8. Why? The date (and time) on the phone is correct and is set automatically by the cellular system.
    Nevertheless, looking at BlackBerry Hub, I see only two e-mails in my Inbox from Exchange, even though I have roughly a dozen in my Inbox. The rest are filed in sub-folders. And bam! Just like that... I get the "Add Accounts" screen while looking at the Hub. In other words, as I was typing this, I first saw two Exchange e-mails and then, out of nowhere, the e-mails disappear and I see the "Add Accounts" screen as if no account has been connected.
    So... first question: Is anyone else experiencing this issue? This is very strange, and very frustrating. Second: could this be related to the large amount of e-mails I have stored on Exchange, some of which have large attachments? I selected "Forever" as the sync history length. I have my concerns, however, if this is related to loading historical e-mails onto the phone (in other words, the first sync with Exchange) because there is no reason that I can understand that the phone would blank out as if no account was connected at all. I can understand lag and stuttering while the history is syncing, but not a complete disconnect and reconnect. Considering all of the issues with the one and only contact record disappearing, the calendar entry for Jun 15th disappearing and then reappearing with the wrong calendar color, and e-mail in my Inbox incomplete (two of a dozen e-mails) and ultimately disappearing, I feel like this OS just has some real, significant issues.
    Full disclosure: I do want iCloud to work and am a fan of Apple products, but the lack of full iCloud sync support is not a big enough issue for me to want to send back this phone and/or see it fail so miserably. I will happily move my info from iCloud into Exchange, Google, and/or set up a new Exchange account for personal use (Office 365) because I am not wedded to iCloud per se. But, I won't go through that trouble if I can't even get my first account to work properly. It should also be noted that I do have a basic Google account (non-paid) and I had previously attempted to connect to it. However, I was experiencing the exact same issues with contacts disappearing, e-mail disappearing, etc. So I deleted that account. Truth be told, I deleted the Exchange account as well, and then re-connected to Exchange only to test one account at a time. Unfortunately, even with Exchange only, I am seeing very strange and frustrating behavior as described above.
    Help... please. I want this to work but the frustration I am feeling is growing worse by the hour.
    Model: SQN100-2
    OS Release: 10.1.0.2011
    OS Version: 10.1.0.2038
    Build ID: 525050
    Ian

    To follow-up with this issue:
    I ended up performing a security wipe on my device. The security wipe finished, and I was about to reconnect with Exchange when I decided to visit our host's web site to see if they had any articles covering the issues I was experiencing. While they didn't have anything specific, I did find a step-by-step guide to connecting a BB10 device to Exchange... and right there at the end, it said "Do NOT enable memo sync."
    I contacted support, and the rep told me that OS 10 has an issue with memo sync and it can cause all sorts of unpredictable behavior. Now, whether or not this is accurate I can say this: So far, the device is not disconnecting and reconnecting like it was before. Problem is, is this a result of not enabling memo sync, or is this a result of the security wipe?
    I may have overlooked it, but I don't recall reading anything about that anywhere else. I'm tempted to try re-enabling the memo sync to see if everything blows up again. At least that way I can see for myself if the memo sync is a real issue. Of course, perhaps it's an issue with SherWeb (our host) specifically. Hm...
    Anyway, for those that were interested, and for those that may come along in the future with a similar situation, the strange behavior that I first reported is no longer happening. I just don't know if it was a result of a security wipe or a result of not enabling memo sync with Exchange.
    Ian

  • I am having major issues with Logic 8 and want to reinstall.

    I am having a lot of issues with Logic 8 and want to do a re-install. What is the procedure and what do I need to uninstall first. I need to be careful, because I don't want to affect my Logic 7.
    Any suggestions?

    What problems?
    The first thing to do is trash the preferences. As far as affecting Logic 7, once you install 8, 7 is "forgotten" about. I'm assuming your L8 is a real version, not a "borrowed from the interweb" one.

  • Issue with Information broadcasting and pre-cal server in SAP BI

    Hi Experts,
    I have issue with information Broadcasting and Pre-cal server. I have a worrkbook whcih runs from information broadcasting in pre-cal server. Workbook is desinged on single query and workbook contains visual basic code. workbook has a variable which is controlled by Control query in information broadcasting.
    I have 20 employees every month I need to send workbook via e-mail from information broadcasting.  The problem is sometimes all 20 employees will recieve e-mails and sometimes not. I identified there is something wrong in workbook or in pre-cal server.
    because after workbook calculation in pre-cal server is not pushing to SOST so there is something wrong in workbook or in pre-cal server.
    I closely observed pre-cal server front end log. There are few operations performing on workbook in pre-cal server
    like Open workbook, Calculate workbook, Save woorkbook and close workbook. In success case pre-cal sever is performing all the operations but in failure case pre-cal server is missing Close workbook case.
    Below log In pulled from pre-cal server
    Can you please tell what could be the problem.
    Successful job
    3/11/2011 9:29:46 AM (3) -> RS_PREC_LAUNCH_EXCEL i nvoked in thread 3 and job 'BIBCAST4L4EIS7TOR5BWG0
    2PCUG9ZPPP'. nvoked in thread 3 and job 'BIBCAST4L4EIS7TOR5BWG0
    3/11/2011 9:29:46 AM (3) -> InitConnection in thre ad 3
    3/11/2011 9:29:46 AM (3) -> Trying to open "C:\Pro gram Files\Common Files\SAP Shared\BW\BExAnalyzer.
    xla" gram Files\Common Files\SAP Shared\BW\BExAnalyzer.
    3/11/2011 9:30:18 AM (4) -> RS_PREC_GET_SERVER_STA TUS invoked.
    3/11/2011 9:30:18 AM (4) -> RS_PREC_GET_SERVER_STA TUS finished
    3/11/2011 9:30:35 AM (3) -> Using Version 7100.4.1 200.35 of BExAnalyzer.xla
    3/11/2011 9:30:35 AM (3) -> PID of Excel process: "2504"
    3/11/2011 9:30:35 AM (3) -> EndOfInitConnection in  thread 3
    3/11/2011 9:30:35 AM (3) -> RS_PREC_LAUNCH_EXCEL f inished
    3/11/2011 9:30:36 AM (0) -> Calculation Request 91 1A35ED029D4D79DD7A000200000000 received for job 'B
    IBCAST4L4EIS7TOR5BWG02PCUG9ZPPP'. 1A35ED029D4D79DD7A000200000000 received for job 'B
    3/11/2011 9:30:52 AM (6) -> RS_PREC_GET_SERVER_STA TUS invoked.
    3/11/2011 9:30:52 AM (6) -> RS_PREC_GET_SERVER_STA TUS finished
    3/11/2011 9:31:22 AM (0) -> Opening workbook: C:\W INDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECMML4NN
    DVLYAPC2SYIC7F1AAIO_0.xls INDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECMML4NN
    3/11/2011 9:31:43 AM (0) -> Refresh BExAnalyzer.xl a!MenuRefreshPrecalc returned with 1.
    3/11/2011 9:31:43 AM (0) -> Calculated workbook C: \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    4NNDVLYAPC2SYIC7F1AAIO_0.xls saved. \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    3/11/2011 9:31:43 AM (0) -> Calculated workbook C: \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    4NNDVLYAPC2SYIC7F1AAIO_0.xls closed. \WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECMML
    3/11/2011 9:31:44 AM (0) -> Excel based operations  finished.
    Failure job
    3/10/2011 10:22:58 AM (1) -> RS_PREC_LAUNCH_EXCEL invoked in thread 1 and job 'BIBCAST4L41566ZBZDN2N
    TGJR0462ZFX'. invoked in thread 1 and job 'BIBCAST4L41566ZBZDN2N
    3/10/2011 10:22:58 AM (1) -> InitConnection in thr ead 1
    3/10/2011 10:22:58 AM (1) -> Trying to open "C:\Pr ogram Files\Common Files\SAP Shared\BW\BExAnalyzer
    .xla" ogram Files\Common Files\SAP Shared\BW\BExAnalyzer
    3/10/2011 10:23:20 AM (3) -> RS_PREC_GET_SERVER_ST ATUS invoked.
    3/10/2011 10:23:20 AM (3) -> RS_PREC_GET_SERVER_ST ATUS finished
    3/10/2011 10:23:44 AM (1) -> Using Version 7100.4. 1200.35 of BExAnalyzer.xla
    3/10/2011 10:23:44 AM (1) -> PID of Excel process:  "2544"
    3/10/2011 10:23:44 AM (1) -> EndOfInitConnection i n thread 1
    3/10/2011 10:23:44 AM (1) -> RS_PREC_LAUNCH_EXCEL finished
    3/10/2011 10:23:44 AM (5) -> Calculation Request 9 11A35ED02654D789871000900000000 received for job '
    BIBCAST4L41566ZBZDN2NTGJR0462ZFX'. 11A35ED02654D789871000900000000 received for job '
    3/10/2011 10:24:27 AM (0) -> RS_PREC_GET_SERVER_ST ATUS invoked.
    3/10/2011 10:24:27 AM (0) -> RS_PREC_GET_SERVER_ST ATUS finished
    3/10/2011 10:24:31 AM (5) -> Opening workbook: C:\ WINDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECQB2VE
    A8O8D8FBHYCR4HVB5UI8_0.xls WINDOWS\TEMP\BW\Analyzer\Workbooks\SAPBEXPRECQB2VE
    3/10/2011 10:24:52 AM (5) -> Refresh BExAnalyzer.x la!MenuRefreshPrecalc returned with 1.
    3/10/2011 10:24:52 AM (5) -> Calculated workbook C :\WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECQB
    2VEA8O8D8FBHYCR4HVB5UI8_0.xls saved. :\WINDOWS\TEMP\BW\Analyzer\Workbooks
    SAPBEXPRECQB
    Thanks in advance
    Narendra

    Hi Ravikanth,
    Thank you very much for the reply
    I went into RSPRECADMIN and clicked on 'Display Current Queue'.  There we have 3 sections
    1) Queue Overview of Open Precalculations
    I can see this section is always blank after running IB also
    2) Queue Overview of Current Precalculations
    In this section I can see an entry after running IB and duration is changing. but some time workbook in this section will never processed but the duration column is changing may be something is happening at this stage.
    If the entry is not proccessed in this section and IB SM37 job will never end. I manually cancelled the job from SM50.
    Don't why the workbook is taking long time and will never end even though I cancelled the SM37 IB job.
    3) Queue Overview of Proccessed Error-Free Precalculations
    All the error free workbooks which means all pre-cal server completed workbook calculation and sent to SOST.
    I manually ran the workbook for all the 20 employees I can't find any pop-up message (earlier we have pop-up windows appearing because of VB code and when report returns no data and we fixed the pop-up issues)
    Can you please help me further to trace the error.
    Thank you
    Narendra

  • Issue with opening PDF files from the web Acrobat 8.1.4

    Hello everyone
    I just found out about this problem today, and it manifests in such a manner that when you try to open a PDF document on the web, it hangs for a while, and then the standard message about Adobe Acrobat not being able to open the document comes up, and after you OK away that you get the message that the program shuts down.
    If I download the PDF itself and open it locally it works. Is there any known issue with updates recently that creates this problem?
    The system is running on Windows 7 32-bits, and Adobe Acrobat is a part of the CS3 Master Collection.
    Greetings from Alexander

    Not supported file type can (but not always) mean the PDF was created with an old enough version of Acrobat, that it isn't comaptible with reader X or XI.
    Might have been damaged is pretty cut and dried in its meaning and interpretation.
    There's a known issue with Mac OS and Safari Browser "breaking" PDFs as they download, but it's not so common for Windows. Since these are files you already had, it would be even less applicable.
    You can try downloading an older version of Reader to check if it's a compatibility issue, but you'd have to uninstall the latest to do it and it'd be a lot of bother if they still don't open. It would also mean they are "broken" and cannot be repaired, that I know of.

  • Issues with Office 2010 and Acrobat Pro 8

    Good Day All;
    We are in the middle of upgrading from Windows XP to Windows 7 with Office 2010 and I was wondering if there are any issues with importing Office documents into Acrobat Pro 8. I have found out that there are a couple of issue with Office 201 and LifeCycle Designer.
    Any comments would be helpful
    Regards
    Chomp

    Acrobat 8 is not compatible with Microsoft Office 2010 and the PDFMaker plugins will not install. Only Acrobat X is compatible with Office 2010, and at this time only in 32-bit mode.
    Acrobat 8 is also not officially compatible with Windows 7, again Acrobat X is the first version to carry approval for that OS. It will still install, but Adobe cannot guarantee it will operate perfectly in all cases, and doesn't provide install support for that combination.

  • Continuing font encoding and tag issues with snow leopard and CS4oI

    I am looking for help with a font handling issue with snow leopard and cs4 Indesign. Despite numerous calls and hours on the phone neither Apple nor Adobe has been helpful. I have had this issue open with Adobe since oct 5 but they remain totally unresponsive to date. I need to be able to use Type 1 fonts and do the following , export a pdf from Indesign with the following attributes: 1) xml tags for stories and objects. 2) have the fonts encoded as ansi and embedded.
    Some additional information  - exporting to ps is not an option as it destroys the xml tags. and doesn't guarantee that the fonts won't become CID or some other odd encoding.
    As it stands now,
    Leopard (10.5.8) and CS3 creates ansi encoded fonts with xml tags.
    Leopard (10.5.8) and CS4 creates ansi encoded fonts with xml tags.
    Snow leopard and CS3 creates ansi encoded fonts and xml tags
    Snow leopard and CS4 creates custom subsetted fonts and some xml tags.
    If any one has any advice on how to force specific font encodings from CS4 pdf exports so that i can preserve the tags and get the correct fonts I would be grateful.

    The font encoding is not a function of the OS version, but rather of how a font is internally encoded and the content you are representing with the font.
    If you are seeing a difference between MacOS 10.5 and 10.6 with the same Adobe software, it probably has something to do with use of a system font that is somehow different from one version of the OS to another. InDesign does not use any of the OS' font handling software.
    Assuming that the fonts are embedded, subset or not, what is your issue with whether a font is ANSI-encoded, custom-encoded, or CID-encoded? It should make no difference for purposes of workflow beyond InDesign for software that adheres to the PDF specification (including all versions of PDF from 1.3 and up to 1.7 plus ISO 32000-1 PDF and all versions of PDF/X and PDF/A).
    Neither InDesign or any other Adobe application provides user choices for the encoding since it shouldn't make a difference. The encodings chosen by Adobe's core technology components are for a combination of optimization and to support proper text search, copy, etc.
              - Dov

  • Has anyone received an update on apple tv issue with HD movies and what they are doing about it

    Has anyone received an update on apple tv issue with HD movies and what they are doing about it

    Whatever the rep told you, it is complete nonsense. There is clearly a problem at your end, the Apple TV 3 is capable of more than the Apple TV 2, and you clearly have the Apple TV 2 working perfectly. Since the Apple TV 2 is able to download from the Internet properly, then my suspicion would be your problem lies on your local network. Interference is a common problem on local networks.
    Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • My itunes account shuts down for no reason.  It wont recognize my iphone and there is an issue with network connectivity and itunes.  I have already  reinstalled itunes and did a syste restore on my computer, firewall checked and virus scan done.  Ideas??

    My itunes account on windows xp shuts down for no reason.  If even try to delete something from my library it shuts down.   It wont recognize my iphone and there is an issue with network connectivity and I can't connect to the store.  I have already  reinstalled itunes and did a system restore on my computer, firewall has been checked, itunes is ok on firewall and virus scan done.  Ideas??

    Same problem. I can see the itunes store so not a problem with windows firewall. The account is active on my iphone so i know i am not locked out. I can connect the PC to my iphone so i know itunes is working ok. It is just logging into itunes on this pc which doesn't work. Only thing I can think of is that the email address I use for my apple id has been offline for a while and is working again now, I'm wondering whether this has been the case for others who are having this issue?

  • PHP email form - issue with who it's from

    Hi,
    I've got a referral page on my site where the user puts in their details and a friends details and the form fires off a email to the friend. The form is in HTML and posts it to a PHP file. The problem is I get in the email for who it's from:
    from
    "Scott Bradshaw"@server74.ukservers.net
    I don't want the
    @server74.ukservers.net
    in their.
    Is this an issue with PHP files and forms or is their a way round it? I know I could do a mailto: form but don't want to. What are my options?
    Thanks, Scott

    I'm making the website for someone and they had the hosting set up already but thanks for telling me. I think this is right what I've done:
    function detectSuspect($val, &$ok) {
      if (preg_match('/Content-Type:|Cc:|Bcc:/i', $val)) {
        $ok = false;
    $YourName = Trim(stripslashes($_POST['YourName']));
    $YourEmail = Trim(stripslashes($_POST['YourEmail']));
    $RefName = Trim(stripslashes($_POST['RefName']));
    $RefEmail = Trim(stripslashes($_POST['RefEmail']));
    $EmailFrom = $YourEmail;
    $Subject = $RefName;
    $EmailTo = $RefEmail;
    // validation
    $validationOK=true;
    detectSuspect($YourName, $validationOK);
    detectSuspect($YourEmail, $validationOK);
    detectSuspect($RefName, $validationOK);
    detectSuspect($RefEmail, $validationOK);
    if (!$validationOK) {
      print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
      exit;
    // prepare email body text
    $Body = "Hi $RefName,
    $YourName thought you would be interested in viewing this online video called A
    tale of 2 customers (< 3 mins).
    www.easybench.org/ataleof2customers3";
    $Body2 = "";
    $Body2 .= "User Name: ";
    $Body2 .= $YourName;
    $Body2 .= "\n";
    $Body2 .= "User Email: ";
    $Body2 .= $YourEmail;
    $Body2 .= "\n";
    $Body2 .= "Referral Name: ";
    $Body2 .= $RefName;
    $Body2 .= "\n";
    $Body2 .= "Referral Email: ";
    $Body2 .= $RefEmail;
    $Body2 .= "\n";
    // send email
    $success = mail($EmailTo, $Subject, $Body, "From: $EmailFrom<$EmailFrom>");
    mail("[email protected]", "Referral details", $Body2, "From: [email protected]");
    // redirect to success page
    if ($success){
      print "<meta http-equiv=\"refresh\" content=\"0;URL=thankyou2.html\">";
    else{
      print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
    ?>
    I've also got a feedback form thing too, the script above wouldn't work for it I guess as it's protecting against different thing but what's the best way to protect the feedback form? I've heard of a honeypot thing where create hidden form field.
    Thanks, Scott

  • Issue with recursive join and filter records

    I am having an issue with recursive join and filtering records for the following rules. The table, sample records, test script and rules are as below
    drop table PC_COVKEY_PD;
    create table PC_COVKEY_PD (
    PC_COVKEY varchar(50),
    COVERAGE_NUMBER varchar(3),
    SEQUENCE_ALPHA  varchar(3),
    TRANSACTION_TYPE varchar(3),
    COV_CHG_EFF_DATE date,
    TIMESTAMP_ENTERED timestamp
    delete from PC_COVKEY_PD;
    commit;
    Insert into PC_COVKEY_PD values ('10020335P8017MT0010012','001','001','02',to_date('01/FEB/2010','DD/MON/RRRR'),to_timestamp('02/JAN/2010 01:55:59.990216 AM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
    Insert into PC_COVKEY_PD values ('10020335P8017MT0050012','005','001','02',to_date('01/FEB/2010','DD/MON/RRRR'),to_timestamp('02/JAN/2010 01:56:00.268099 AM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
    Insert into PC_COVKEY_PD values ('10020335P8017MT0010032','001','003','03',to_date('14/JAN/2011','DD/MON/RRRR'),to_timestamp('14/JAN/2011 04:25:19.018217 PM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
    Insert into PC_COVKEY_PD values ('10020335P8017MT0010042','001','004','03',to_date('21/JAN/2011','DD/MON/RRRR'),to_timestamp('21/JAN/2011 04:00:31.719444 PM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
    Insert into PC_COVKEY_PD values ('10020335P8017MT0050022','005','002','03',to_date('21/JAN/2011','DD/MON/RRRR'),to_timestamp('21/JAN/2011 04:02:48.953594 PM','DD/MON/RRRR HH12:MI:SS.FF6 AM'));
    commit;
    --select * from PC_COVKEY_PD order by COV_CHG_EFF_DATE,TIMESTAMP_ENTERED;
    PC_COVKEY          COVERAGE_NUMBER     SEQUENCE_ALPHA     TRANSACTION_TYPE     COV_CHG_EFF_DATE     TIMESTAMP_ENTERED
    10020335P8017MT0010012          001     001                  02                          01/FEB/2010            02/JAN/2010 01:55:59.990216 AM
    10020335P8017MT0050012          005     001                  02                      01/FEB/2010            02/JAN/2010 01:56:00.268099 AM
    10020335P8017MT0010032          001     003                  03                      14/JAN/2011            14/JAN/2011 04:25:19.018217 PM
    10020335P8017MT0010042          001     004                  03                      21/JAN/2011            21/JAN/2011 04:00:31.719444 PM
    10020335P8017MT0050022          005     002                  03                      21/JAN/2011             21/JAN/2011 04:02:48.953594 PM
    */Rule;
    Every PC_COVKEY, query should recursively join and generate set of records depending on latest SEQUENCE_ALPHA for the coverage number at that point of time. For ex,
    for 10020335P8017MT0010042 (4 row) should generate 2 records
    1. 10020335P8017MT0010042001004 (PC_COVKEY || COVERAGE_NUMBER || latest SEQUENCE_ALPHA--004 for cover 001), SEQUENCE_ALPHA 001 for cover 001 is not the latest for 10020335P8017MT0010042.
    2. 10020335P8017MT0010042005001 (coverage number 005, and latest sequence alpha-001 for cover 005).
    SEQUENCE_ALPHA 002 for cover 005 is not the latest for 10020335P8017MT0010042 as it happened later stage.
    for 10020335P8017MT0050022 (5 row) should generate 2 records as
    1. 10020335P8017MT0050022001004 (PC_COVKEY || COVERAGE_NUMBER || latest SEQUENCE_ALPHA--004 for cover 001),
    2. 10020335P8017MT0010042005002 (coverage number 005, and latest sequence alpha-002 for cover 005)
    WITH SNAPSHOT_CVR_CTP as (
    SELECT pcd1.PC_COVKEY,
           pcd1.PC_COVKEY||pcd2.COVERAGE_NUMBER||pcd2.SEQUENCE_ALPHA as cov_key,
           pcd2.COVERAGE_NUMBER,
           pcd2.SEQUENCE_ALPHA,
           pcd2.COVERAGE_NUMBER||pcd2.SEQUENCE_ALPHA as CVRSEQ,
           max(pcd2.COVERAGE_NUMBER||pcd2.SEQUENCE_ALPHA) over (partition by pcd1.PC_COVKEY, pcd1.COVERAGE_NUMBER
           order by pcd2.COV_CHG_EFF_DATE, pcd2.TIMESTAMP_ENTERED) as MaxSeq,
           pcd2.COV_CHG_EFF_DATE,     
           pcd2.TIMESTAMP_ENTERED
    FROM
    PC_COVKEY_PD pcd1,
    PC_COVKEY_PD pcd2
    select * from SNAPSHOT_CVR_CTP SC
    WHERE sc.PC_COVKEY = '10020335P8017MT0010042'  -- 4 row
    --AND  COVERAGE_NUMBER||SC.MAXSEQ = COVERAGE_NUMBER||SEQUENCE_ALPHA
    ORDER BY TIMESTAMP_ENTERED
    PC_COVKEY     COV_KEY     COVERAGE_NUMBER     SEQUENCE_ALPHA     CVRSEQ          MAXSEQ     COV_CHG_EFF_DATE     TIMESTAMP_ENTERED
    10020335P8017MT0010042     10020335P8017MT0010042001001     001     001     001001     001001     01/FEB/2010     02/JAN/2010 01:55:59.990216 AM
    10020335P8017MT0010042     10020335P8017MT0010042005001     005     001     005001     005001     01/FEB/2010     02/JAN/2010 01:56:00.268099 AM
    10020335P8017MT0010042     10020335P8017MT0010042001003     001     003     001003     005001     14/JAN/2011     14/JAN/2011 04:25:19.018217 PM
    10020335P8017MT0010042     10020335P8017MT0010042001004     001     004     001004     005001     21/JAN/2011     21/JAN/2011 04:00:31.719444 PM
    10020335P8017MT0010042     10020335P8017MT0010042005002     005     002     005002     005002     21/JAN/2011     21/JAN/2011 04:02:48.953594 PM
    I am trying to filter row using MAXSEQ but at the moment MAXSEQ values are not coming as expected. I expect following value for COV_KEY combination
    COV_KEY                                         MAXSEQ
    10020335P8017MT0010042001001     001004
    10020335P8017MT0010042005001     005001 -- match
    10020335P8017MT0010042001003     001004
    10020335P8017MT0010042001004     001004 -- match
    10020335P8017MT0010042005002     005001Would appreciate if anyone can get MAxSEQ as expected.

    Something like..
    with dist_cov_numbers as
      select distinct coverage_number cov_number
      from PC_COVKEY_PD
    all_data as
      select pcd.*,d.cov_number new_coverage_number,
             max(decode(coverage_number,d.cov_number,sequence_alpha))
                  over( partition by d.cov_number
                        order by COV_CHG_EFF_DATE,TIMESTAMP_ENTERED
                                  ) max_seq
      from PC_COVKEY_PD pcd,dist_cov_numbers d
    select pc_covkey,pc_covkey||new_coverage_number||max_seq new_key,
           pc_covkey||coverage_number||sequence_alpha actual_key
    from all_data
    order by COV_CHG_EFF_DATE, TIMESTAMP_ENTERED;
    PC_COVKEY                   NEW_KEY                           ACTUAL_KEY                     
    10020335P8017MT0010012      10020335P8017MT0010012001001      10020335P8017MT0010012001001     
    10020335P8017MT0010012      10020335P8017MT0010012005         10020335P8017MT0010012001001     
    10020335P8017MT0050012      10020335P8017MT0050012001001      10020335P8017MT0050012005001     
    10020335P8017MT0050012      10020335P8017MT0050012005001      10020335P8017MT0050012005001     
    10020335P8017MT0010032      10020335P8017MT0010032001003      10020335P8017MT0010032001003     
    10020335P8017MT0010032      10020335P8017MT0010032005001      10020335P8017MT0010032001003     
    10020335P8017MT0010042      10020335P8017MT0010042005001      10020335P8017MT0010042001004     
    10020335P8017MT0010042      10020335P8017MT0010042001004      10020335P8017MT0010042001004     
    10020335P8017MT0050022      10020335P8017MT0050022005002      10020335P8017MT0050022005002     
    10020335P8017MT0050022      10020335P8017MT0050022001004      10020335P8017MT0050022005002 
    10 rows selected Edited by: jeneesh on Nov 22, 2012 10:54 AM

  • Just wondering what Apple's stand is on the issue with a flickering and a dark area appearing on imac 27"screen - forums seem to indicate this is not uncommon - and happens through normal use - so should be subject to repair (Sale of Goods Act - 6 years)

    Just wondering what Apple's stand is on the issue with a flickering and a dark area appearing on imac 27"screen - forums seem to indicate this is not uncommon - and happens through normal use - so should be subject to repair (Sale of Goods Act - ie 6 year warranty)

    We are just users like yourself.  If Apple has stated publicly about the problems you mentioned, it will be listed on their website and/or in one of their Knowledge Base Articles.
    I have a 27" & do not suffer from such a problem.  You should keep in mind that these are technical support forums. Generally, the only people posting here are those with problems. The thousands/millions without problems don't ever come here. 
    Think of these forums as a hospital emergency room. 

  • Compatibility issues with CS5.5 and Maverick 10.9

    I'd like to know if there are any compatibility issues with CS5.5 and Maverick 10.9 before I upgrade from 10.6.8.

    To be honest, I use the CS5 Premium Creative Suite and have had to upgrade all my app's to Mavericks because I have a new iMac, the other one just died.
    I used the 'Time Machine' to backup and to transfer all the files, the Mac apps almost transferred 100% but not all successfully, especially iDVD, it was probably something that I did not click in the 'Time Machine preferences'.
    If I had the choice, upgrade to 'Mountain Lion, I would revert back to Mountain Lion but not got the discs, I find Mavericks very clunky and slow and causing lots of issues with my Adobe applications.
    So if it is not too late, I would wait a few months before upgrading to Mavericks.
    Hope this info' has helped.

Maybe you are looking for