Changing a file to another with the same field names - crystal-reports

I have a report built on a file but I want to change the file to another that has the exact same field names, but a different file name. They are both on the same data source.
Is there a way to do this?
Thanks

Go to
Database Lable --> Set Datasource Location--->
select current file and target file and click on update

Related

Save postgresql query in computer

I have this problem that I assume privilege-related. I want to save my query after I executed it, but here is the problem...
Wherever the location, the save button can not be enabled. Any help appreciated.
You need to type the file name in the input box on the top where you have "F:\", append file name there.
For example:
F:\my_file.sql
Once you type that it will make save button enable.

Cannot add a third content field

I'm kinda new to typo, so maybe I am just missing something.
I'm trying to add a third content field to Typo3 4.5.
What I've done so far.
Edit my template and added a new block
Added the block via TemplatVoila > Update Mapping > Modify DS / TO with Element Preset "Page-Content Elements [Pos.: 0]
Mapped it to the new block in the template
But I am missing something as the new field isn't showing up in the Page edit screen.
EDIT: I've found the Block in the "Edit page properties" but how to show it on standard edit screen?
Any added content area will appear automatically in your TV-View-module. So if you dont see it in there, then
you may have duplicate fields names
wrong column positions
or the existing template is using a »beLayout«-section, which shows only the first two content areas (see example in reference http://docs.typo3.org/typo3cms/extensions/templavoila/ExtTemplavoila/StaticDataStructures/ExampleForBelayout/Index.html)
The TemplaVoila template is split into TS (TemplaVoilà Template Object) and DS (TemplaVoilà Data Structure) records, may you paste the content of the field „Data Structure XML“ of the DS record here? In there are all necessary information.
The two template files should be located in your general storage folder, your TypoScript root file should be there as well.

Matching of data files to pages

I have used the assemble/boilerplate-site as a test bed. Following the examples on http://assemble.io/docs/Data.html I have created a page named test.hbs and a data file named test.yml.
The yaml file contains:
title: stuff
when running grunt assemble, a test.html page is assembled into the destination directory. if my test.hbs contains the tag {{title}} the title is not added from the data file, however a tag of {{test.title}} does add the title from the data file.
on the docs page http://assemble.io/docs/options-data.html it states:
When using "external" data files (versus YAML front matter), if name of the data file is the same as the associated template then Assemble will automatically associate the two files.
I also need to use the {{title}} tag in my layout. This works if I use YFM at the top of the page rather than an external data file.
Am I misunderstanding how external data files are associated with a page or am I missing something?
You can use {{page.title}} in your test.hbs and layout.hbs files to access the variable without having to specify the actual page name.

Hide Discount from line Items in Quotes in SugarCRM

Want to hide the discount field from the line Items in Quote module.
How to do that?
Please help
You will need to edit the "quotes.js" file located in the quotes module and remove the generated element from the add row method.
This can be done in an upgrade safe way by creating a copy of the quotes.js file in the custom directory. You will also need to specify a custom view.edit and EditViewFooter.html and change the references in each of the files to point to the custom directory.
Here are a list of files that you need to create/modify...
custom/modules/Quotes/metadata/editviewdefs.php
custom/modules/Quotes/quotes.js
custom/modules/Quotes/tpls/EditViewFooter.tpl
custom/modules/Quotes/views/view.edit.php

Wicket Drop down choice to set default value

I want to replace "choose one" option in drop down choice with other String "successfully occured" and I dont want to show list item to set the default.
DropDownChoice<Person> customer = new DropDownChoice<Person>(
"customer", new PropertyModel<Person>(customermodel, "customer"),list, new ChoiceRenderer<Person>("name", "id"));
The best way to do this is to put the definition
customer.null=successfully occured
in a properties file associated with the form or page containing the choice.
The properties file can also be localized so that what's shown depends on the locale.
For me I had to do following to get this done.
customer.setNullValid(true);
Then created a file named "HomePage.properties" (I added the drop down to HomePage)
set the null text in the .properties file as bellow.
nullValid=Choose one..