Adding a new field and new data item breaks layout

I am adding a new field to a subform and populating it form a .Dat unfortunatly adding this field is causing data outputed to the subform below it to shift down one line on the page when outputted.

This new field is outputted at the top of the form and and the line being shifted are below this.

Below is the field details and the field as it is in the .dat file.

Field:F_PO_NUMBER [1] Lines: 1 Characters: 20 Angle: 0
In Subform : Main_Page
Options : Global

^Command JFPAGE_START

^Undefine global:~^PAGE 1

^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..

^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..

^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF

^GLOBAL F_CURRENCY_CODE

GBP

^FIELD F_PO_NUMBER

^COMMENT R_remit_customer

^FIELD F_REMIT_TO_CONCATENATED

Address

^COMMENT M_INVOICE_HDR_BOX1

^GLOBAL F_TRX_TYPE

Invoice

Now the weird party is if I move the new field in the .dat as below it fixes things and the everything lines up like it should do.

^Command JFPAGE_START

^Undefine global:~^PAGE 1

^define global:SEQUENCE \pic"NUM999999",@D:NUMPAGESPRINTED../\pic"NUM99",@$PAGE../\pic"NUM99",@:JFPAGE_PAGE_OF..

^define global:JFPAGE \pic"NUM99",@$PAGE.. of \pic"NUM99",@:JFPAGE_PAGE_OF..

^GLOBAL Email COLL_TEL_NUM~12345678~^REFORMAT OFF

^GLOBAL F_CURRENCY_CODE

GBP

^COMMENT R_remit_customer

^FIELD F_REMIT_TO_CONCATENATED

Address

^COMMENT M_INVOICE_HDR_BOX1

^FIELD F_PO_NUMBER

^GLOBAL F_TRX_TYPE

Invoice

^FIELD F_TRX_NUMBER

I hoping someone might have an idea of why this is the case as I'm at a loss regarding why its happening.

--------------Solutions-------------

I may not hit on it exactly, but this sounds like Adobe's processing order.

It wants to process the fields in the order they are in the DAT file.

I have a similar problem with an overflow field, that isnt last in the DAT file,

Read this here:

http://forums.adobe.com/message/2298283#2298283

Now that may not be exactly your issue, but I think its the same inherent problem,

Adobes processing order for the fields/subforms.

I am still trying to resolve my issue, but found the ^field command in the reference manual (Print Agent),

and am wondering if I can use it.

Category:default Time:2013-01-02 Views:0

Related post

  • Adding field to WCF data contract breaks clients? 2010-11-24

    I have a WCF service that returns a class that implements IExtensibleDataObject. I need to add a new field to this class. I updated the DataContract interface and made the change to the class. Now when I try to run my client application I get the fol

  • Should I use cookies, session values, or hidden fields to store data items that need to be persisted between requests? 2010-12-14

    This is a Rails 3 project. Am I abusing the use of cookies if I store query values there? I have a dataset that a user can "drill-down" through, so as the user clicks through the data, he amasses a bunch of query values that further limit the data pr

  • Input field within absolutely-positioned div breaks layout in IE7 2010-11-05

    I'm using a div as a "dialog box" on a web page. I've defined it as follows: #ha2game { position:absolute; top:0px;left:50%; width:258px; height:258px; margin-top:110px; margin-left:-155px; padding:21px; background-color:#900; border:1px #444 solid;

  • Adding a field to a structure without breaking existing code 2010-01-21

    So I'm working with this huge repository of code and have realized that one of the structs lack an important field. I looked at the code (which uses the struct) as closely as I could and concluded that adding an extra field isn't going to break it. A

  • core data adding a new field to an existing sqlite table 2010-08-23

    I have an sqlite table that I'd like to add a new field to. Would I add the new field directly in sqlite or does the Core Data model change the sqlite table itself? I'm stuck for some reason right now w/ adding a new field to the db table. thanks for

  • Adding Data items to exception but not calling throw ex 2012-10-19

    I have extended NLog to log all items in the Exception.Data collection. So, when I catch an SqlException, in my data access code, I like to add a few items to the Exception.Data dictionary to provide better logging. I don't always want to log from wi

  • Adding a spesific data item to a Data Grid - Flex 4 2010-06-22

    I better explan what i mean: I have a Data Grid with automacticly genorated columns, i now need to add data items into a spesific row / column of this grid e.g. col 2 row 3. It dosnt have a data provider at the moment as i wish to be very selective a

  • Web security, are there issues with hidden fields (no sensitive data)? 2009-01-05

    I was having a discussion with coworkers. We have to implement some security standards. We know not to store 'sensitive, addresses, date of birth' information in hidden fields but is it OK to use hidden fields for your application, in general. For ex

  • Adding a calculated field to a Query at run time 2010-03-26

    I'm getting data using a query in Delphi, and would like to add a calculated field to the query before it runs. The calculated field is using values in code as well as the query so I can't just calculate it in SQL. I know I can attach an OnCalcFields

  • Adding new Custom Field of specific MIME type in Contacts App 2010-08-09

    I am using Android API 2.1. Whether API's are available for adding new Custom field of Specific MIME type from an application.I have done through normal insertion of new contacts by this MIME type "vnd.android.cursor.item/asterix" and inserted on Dat

  • versioning each field vs history date field? 2011-04-26

    Which do you recommend and why? I have a few tables, when i make a change to the data... it should go to a history table (audit) with a effective date. The other solution is versioning each field to insert a new row when making changes to the data? W

  • changing or adding outlook contacts fields 2012-08-27

    I have outlook 2007. I am trying to add a Mobile 2 phone number field or change the name of an existing field. However, after I've managed to get the the menu were you can customize a field, it is grayed out and I can't get in there to see if I can m

  • Adding a merge field to an email hyperlink in an email mailmerge 2013-09-29

    I am using word 2010, excel 2010, and outlook 2010 to send out the following email with email mailmerge to 50 + people. The highlighted names in the greeting are two merge fields - First_Name and Last_Name. The hyperlink is an email hyperlink to the

  • Storing more than 1 data item at a single index in a linked-list? 2008-10-10

    I am trying to store more than 1 data item at a single index in my linked-list. All of the examples in my textbook seem to illustrate adding only 1 piece of data per index. I'm assuming it is possible to add more? For example, using the Collections A

  • Order of fields in Dynamic Data? 2008-11-26

    Does anybody know if it is possible to choose the order of the fields in Dynamic Data (of course, without customizing the templates of each table) ? Thanks ! --------------Solutions------------- In .NET 4.0, using the 4.0 release of the Dynamic Data

  • How does C allocate data items in a multidimensional array? 2009-10-16

    I'd like to find out how C will allocate a the data items of a multidimensional array, and if their allocation is consistent across machines. I know that, at the lowest level, the data items are neighbours, but I don't know how they're arranged furth

  • Getting multiple data items in an element with linq to xml 2010-05-06

    Getting multiple data items in an element with linq to xml I have an xml file like this <TopLevel> <Inside> Jibba </Inside> <Inside> Jabba </Inside> </TopLevel> I was given said xml and and want to get all the elem

  • How do I cast a decimal field to a date field in DB2 AS/400? 2010-06-14

    I have a DECIMAL field which contains a date in the AS400 format: 1100614 I have tried: cast (MYDATE as DATE) but I can't cast a DECIMAL to DATE, whereas DATE(MYDATE) returns null. How do I cast this field in a DATE field? --------------Solutions----

  • Sending multiple POST data items with the same name, using AppEngine 2010-08-26

    I try to send POST data to a server using urlfetch in AppEngine. Some of these POST-data items has the same name, but with different values. form_fields = { "data": "foo", "data": "bar" } form_data = urllib.urlencode(form_fields) result = urlfetch.fe

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.479 (s). 13 q(s)