Jump to content

Read fields button not working after saving as another file


robert.tsang

Recommended Posts

hi,

i have created report1.jrxml, it is tested and working, the query for example "select custname, custaddr from customer".

now i want to create report2.jrxml, i do that by opening report1.jrxml and use "Save as" and input report2.jrxml. i change the report query to "select suppname, supcode, suptype from supplier", but the READ FIELDS button not working, it can't show the latest fields from that query even if i try to re-connect to report datasource. i got this some moca Socket commnunication error :

it seems that it is trying to connect as super user, but the connection that that i saved and set as default is connection to my own user account. Can someone advise me please?

the reason that i would like to use save as from report1 to create new report is the report2 has got the same format/layout/output/fields placement on the layout.

 

Error: Sourced file: inline evaluation of: ''new com.redprairie.moca.jrds.JRMocaConnection("http://localhost:4500/service","...": Object constructor : at Line: 1 : in file: inline evaluation of: '' new com.redprairie.moca.jrds.JRMocaConnecttion("http://localhost:4500/service:,"...": new com.redprairie.moca.jrds.JRMocaConnection("http://localhost:4500/service","super","super") Target exception: com.redprairie.moca.exceptions.ReadResponseException: MOCA socket communication failure

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...