Find whether there is any text frame in given co-ordinates

Hi there,
I'm using adobe indesign 2.0.2 and vb 6.
I want to find whether there is any text frame existing in the given co-ordinates.
Please help.
Thanx
Robin

You need to tackle this the other way around: get references to all the text frames (on the spread, I suppose) and compare their coordinates with those of interest.
Dave

Similar Messages

  • To check whether there is any size mismatch between columns of two tables

    Hi,
    Here i got two tables T and M where i am going to migrate data from T to M. But before migrating i need to check whether all the data in source table fits into destination table columns. The datatypes of all columns in source table T is of Varchar2 only as it is a temp table.
    Ex :- Table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    T_Vat Varchar2(50);
    Now I have another table 'M'(Destination Table) with columns
    M_Lat Varchar2(50);
    M_Amt varchar2(25);
    M_Cat date;
    M_Vat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any size mismatch). This check should be done dynamically.
    For suppose, in T_Amt(source column of T table) if text is abt 50 characters, it cant fit M_Amt(destination column of M table). In this case it should throw an error indicating that destination column size is less for the source column.
    Note:- There is no unique mapping column for these two tables and there are about 400 columns in the source table to be validate
    I think it can be done using arrays or plsql tables.
    Can any one help in this regard.

    >
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any size mismatch). This check should be done dynamically.
    >
    Just because the source table T_Amt column is defined as 50 doesn't mean any of the data is really that long. So the data itself needs to be checked. That is just what a simple query can do.
    See my answer in this thread Posted: Jul 25, 2012 1:14 PM
    Re: Help in Execute Immediate - Invalid relational Operator
    Here is the modified sample query and results for a query of a clone of the EMP table with some modified data
    select count(*) cnt,
           -- job column
           sum(case when job is null then 1 else 0 end) job_nul,
           sum(case when job = 'SALESMAN' then 1 else 0 end) job_salesman,
           min(length(job)) job_minlength, max(length(job)) job_maxlength,
           min(job) job_min, max(job) job_max,
           -- hiredate colulmn
           sum(case when hiredate is null then 1 else 0 end) hiredate_nul,
           min(hiredate) hiredate_min,
           max(hiredate) hiredate_max
            from emp1
    CNT JOB_NUL JOB_SALESMAN JOB_MINLENGTH JOB_MAXLENGTH JOB_MIN JOB_MAX  HIREDATE_NUL HIREDATE_MIN HIREDATE_MAX
    14    2       4            5             9             ANALYST SALESMAN 0            9/28/0001    12/3/9999With one query and ONE pass thru the table I was able to get the COUNTs, the MIN and MAX values for each column and the MIN and MAX lengths of the VARCHAR2 columns.
    There are 14 total records, 2 where JOB is null, 4 where the JOB is SALESMAN. The MIN length of the JOB data is 5 and the MAX is 9.
    Look at the date values. The results tell me I have some problem data.
    The length data tells me if I try to put the JOB data into another table I need to define the length as at least 9 or it won't fit.
    For your use case you might find that all of the data in the T_Lat column is shorter than 26 and will actually fit into the M_Lat target table column.

  • Finding if there are any outstanding commits in session

    hi,
    can anyone tell me a way of finding (in PL/SQL) if there are any DML statements which have been executed and have not yet had a commit or rollback issued?
    i was thinking maybe i could use sql%rowcount, but it does not appear to persist outside a pl/sql block, and not through the whole session like I thought it did.
    thanks,
    pete

    There is a presumption in Oracle that we manage our transactions properly. It should not occur that we find ourselves in a situation where we do not know the status of our transaction. A transaction is a set of steps along a predetermined path. In all but the most complicated transactions we should be able to trace all possible routes through the transaction and consequently know all possible statuses.
    As a general rule, if you find yourself at the end of your transaction and you've handled all the exceptions then you should issue a commit. If you find yourself in a situation in which you need to undo any changes then you should issue a rollback. Don't bother trying to establish whether there are any changes: just do it.
    SQL%ROWCOUNT has no scope beyond the previous SQL statement (it's not cumulative). Consequently, it's not a very reliable guide to the total state of the whole transaction. Besides, even if SQL%ROWCOUNT equals zero (e.g. an update that affected no rows) you still have a resource lock on the table. No other session can execute DDL on that table until you issue a commit or rollback.
    Cheers, APC

  • To check whether there is any format mismatch between columns of two tables

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    (all these above columns have numeric data)
    Actually, Here I have taken only the columns having numeric data from table 'T'
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any format mismatch). This check should be done dynamically(as there are more than 50 columns in real).
    Note:- There is no unique mapping column for these two tables
    I think it can be done using arrays or plsql tables. But i dont have idea using them.
    Can any one help me in this regard.

    Why, What's wrong with these post and there responce?
    {message:id=10480898}
    {message:id=10472737}

  • Check whether there is any Special Characters in a String ?

    Hi All,
    I am having a very large String. I like to know how to check whether there is any special characters present in a string
    Thanks,
    J.Kathir

    I am having a very large String. I like to
    I like to know how to check whether there is any
    special characters present in a stringAll characters are special in a way. You shouldn't just single a few out because they don't look "normal" to you. Maybe they have golden hearts?

  • How to know whether there is any change in a transaction in ic webclient

    Hi,
    There is one activity screen in the ic web(CRM 5.0). There is two button(Change, Save , Sendnotification) on that screen.
    Sendnotification: if i click this button then it will check whether there is any change done using  below logic and will send the noti..:
    DATA:lv_transaction   TYPE REF TO if_bol_transaction_context,
    lv_entity       TYPE REF TO cl_crm_bol_entity.
    lv_transaction = lv_btorder->get_transaction( ).
          IF lv_transaction->check_save_needed( ) EQ 'X'.
             then save the changes  and send notification
          ENDIF.
    Question:
    Now i clicked on the Change button and did some changes.Then saved.
    Then again i did some changes, now i clicked on the Sendnotification button.It sent an notification.
    Now i again clicked on the Sendnotification(this time i didnt do any changes), it sent the same notification again.
    So how to know that  actully changes done or not & how to write code if there is no changes?
    During debugging , i found that the method check_save_needed always returns 'X' as long as i am in the chage mode of that activity. As a result if i dont do any changes also in the activity and click the button , it sends the notification.
    please suggest how to restrict  using coding........
    Thanks
    sudhansu

    Not solved.

  • HT4914 Can I use iTunes match if I am not sure whether there are any pirated songs in my library

    Can I use iTunes match if I am not sure whether there are any pirated songs in my library

    iTunes match should work for that. I am assuming your friend gave you some music from a flash drive, and yor not sure if he/sh pirided it or not, and this is understandible. this screen shot should help. I also sugest looking into google play, which is not as convienet as far as combining with iTunes, but is free I bleive.

  • To check whether there is any format mismatch

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    Actually, Here I have taken all the columns from table 'T' having numeric data.
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns (to check whether there is any format mismatch)
    Note:- There is no unique mapping column for these two tables
    Can any one help in this regard.

    Hi,
    How to see if your data is in the correct format depends on your data.
    In general, see {message:id=3603878}
    For more specific requirements, something more efficient might be possible. For example,
    LTRIM ( t_lat,
          , '0123456789'
          )   IS NULLwill be true if (and only if) t_lat consists entirely of digits (or if t_lat is NULL).
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    In the case of a DML operation (such as INSERT) the sample data should show what the tables are like before the DML, and the results will be the contents of the changed table(s) after the DML.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • If there is any function module  to compare whether  there is any digit

    Dear all,
    If there is any function module  to compare whether  there is any digit except 0 in a string.....pls provide me

    Hi,
    IYou can use the following logic i guess,
    DATA: w_str TYPE string VALUE '00001'.
    IF w_str CN '0'. "If there is a digit other than zero thjis is true
      WRITE: / 'There are digits other than zero'.
    ENDIF.
    Hope this helps you.
    Regards,
    Manoj Kumar P

  • To check whether there is any format mismatch between two tables

    Hi,
    I have got a table 'T' (Source table) with columns
    T_Lat Varchar2(50);
    T_Amt Varchar2(50);
    T_Cat Varchar2(50);
    Actually, Here I have taken all the columns from table 'T' having numeric data.
    Now I have another table 'M'(Destination Table) with columns
    M_Lat number;
    M_AMt number;
    M_Cat number;
    Now my task is I have to do a prevalidation of the data in 'T' that whether all the data in those columns will suit for the destination table columns respectively (to check whether there is any format mismatch). This check should be done dynamically.
    Note:- There is no unique mapping column for these two tables
    Can any one help in this regard.

    Why dont you Just [url http://docs.oracle.com/cd/B19306_01/server.102/b14231/tables.htm#sthref2223] Insert Data With DML Error Logging 

  • Find if there is any common record in two internal tables

    hi,
    I have two internal tables of same structure... say A and B.
    I need to know if there are any common lines in them.
    one way is to loop in any one of them and keep executing a read on the other.
    can anyone suggest a better way.
    thanks,
    Arindam.

    Hi Arindam,
    To find common records in two internal tables, they can be compared
    If INT_DATA1 EQ INT_DATA2.
    endif.
    The first criterion for comparing internal tables is the number of lines they contain. If two internal tables contain the same number of lines, they are compared line by line, component by component.
    If the internal tables contain the same number of records and are sorted on the same key, the comparison stops at the line where the records are not common. For example, if the number of common records is 4, the comparison stops at the 5th line and sy-tabix becomes 5.
    Hope it helps.
    Regards,
    Nupur

  • How to check whether there are any statistics in a schema or not?

    Hi,
    I was given a task of refreshing sa schema in CRM2 instance from CRM1.
    But I did it with statistics=none.
    ++++
    exp sa/sa@CRM1 OWNER=SA file=CRM1_SA.dmp log=CRM1_SA.log statistics=none buffer=4096000
    imp sa/sa@CRM2 FULL=Y file=CRM2 SA.dmp log=CRM2 SA_IMP.log statistics=none buffer=4096000
    ++++
    Now I want to know
    1.whether I should have done with statistics?
    2.How to compare the statistics of 2 sa schemas in the CRM1 & CRM2 instances?
    Cheers,
    Kunwar

    Now I want to know
    1.whether I should have done with statistics?Statistics gathering can be done after the import is finished and is recommended.
    2.How to compare the statistics of 2 sa schemas in the CRM1 & CRM2 instances?Not sure why you would want to do this.

  • How can i find numberedList in a text frame?

    Hi,
    I need to find the numberedList in a text frame. so that i have written a script. Syntax is given below.
    app.findTextPreferences = NothingEnum.nothing
    app.findTextPreferences.bulletsAndNumberingListType = app.findTextPreferences.bulletsAndNumberingListType.ListType.numberedList;
    var res = app.activeDocument.textFrames[0].parentStory.find();
    alert(res.length)
    But it is not working. How can i write it?
    Regards,
    Subha

    app.findTextPreferences.bulletsAndNumberingListType = ListType.numberedList
    is I think the right syntax for the second statement.
    Dave

  • Removing text frames from rdf export format

    After a report has been exported in rdf format, can anyone tell me if there is a way to remove the text frames from the document, so that the formating is retained but by using word's tabs etc.
    Our client needs to manually add sections to the document after the report has been generated and we find that because of the text frames the document formatting gets ruined when new sections are added to the file.

    I don't know whether any of this will help?
    According to the manual there are only a very limited range of adjustments you can make to iMovie projects.
    Turn iMovie adjustments on or off
    When editing a project in iMovie, you can adjust several video attributes, such as exposure, brightness, and saturation, in the Project Browser. If you import an iMovie project that has these adjustments into Final Cut Pro, the adjustments are retained and appear in the Color area of the Video inspector as an iMovie item.
    Although you cannot modify the adjustments added in iMovie, you can choose whether they are applied to the clip or not.
    Note: Video adjustments you make to clips in the iMovie Event Browser are not retained and do not appear in Final Cut Pro.
    Turn a clipʼs iMovie adjustments on or off
    In the Timeline, select a clip with iMovie adjustments applied, and select or deselect the iMovie checkbox in the Color area of the Video inspector.
    Note: The iMovie adjustments appear only in the Timeline, not in the Event Browser.

  • How to check whether there r new txt files in a folder n file creation date

    How to check whether there r new text files in a specified folder and what is the date of creation of the text file.........?

    Hi
    I have been searching for a solution to find the date of creation of a file for over 6 months now but haven't found it. So I presume that it is not possible though I havent found any authentication of my assumption in any document.
    Cheers!
    Shailesh

Maybe you are looking for

  • How do I download the newest version of itunes?

    When trying to sync my iPhone 4s with my iTunes it has recently presented me with a message saying that my iPhone requires iTunes version of 11.1 or later. I clicked "check for updates..." under the iTunes tab and it says that my 10.6.3 version is th

  • How to create a table with 5 rows ready for user entry

    Hello All,   Can someone kindly advise on how can I achieve the above ? Everytime the table is created, the fields are not enabled for entry . I am trying to create a ytabel that consists of 8 columns. Of which 2 of them are date fields and another 2

  • LR 1.4.1 not reading GPS metadata

    I recently geotagged a number of files (Nikon NEF) that I had previously imported into LR. I know I should have geotagged first, but oh well. Anyway, I tagged the photos in a separate directory (made a "working" directory for the tagging in case some

  • I need help in Swedish

    I need help in Swedish thanks Åke

  • Web Catalog Publishing using MDM RPCM scenario

    Hi Experts Is it possible to do web catalog publishing using MDM Publisher or Publisher APIs? if yes, where can i get the information on how to proceed with it? I came across this[thread|Re: Web Catalog Publishing] where Markus has stated that web ca