i need to pass custom query to FastRepoert.net and this query is used alias field but i can't use this filed in fastreport.net
for example in this code how can use total field in my report ?
select sum(price) as total from account
when creating new data source in report design in the tables choose page click "add sql query ..." and enter your query after this the new table with alias field is created and can be used
Related
I would like to extend the customer user entity and add a field of type "Select".
I'm not able to find an example in documentation nor source code of Oro.
There is a documentation on how to create select type fields using schema migrations:
https://doc.oroinc.com/backend/entities/extend-entities/enums/
I'm trying to include Gravity Forms on my wordpress website. I wanted to use dynamically populated fields and looked up the docs that say:
You can populate a field via the query string by appending the dynamic
population parameter you specified for the field to the end of your
form URL along with your custom value.
http://siteurl.com/form-url/?your_parameter=value
I have made my first field dynamically populated and named the parameter "name".
Unfortunately when I type:
You can populate a field via the query string by appending the dynamic population parameter you specified for the field to the end of your form URL along with your custom value.
http://siteurl.com/form-url/?name=test
I'm getting an error Error, Page not found. Do I need to change something in my permalink section?
You need to enable "All field to be populated dynamically" option for the field that you want to be populated by url parameter. Try using anything other than "name" for example "your_name" or "full_name". It will work properly.
I'm using ASP.NET forms to build some quite lengthy questionnaires. I'm creating each page using a FormView control with an attached SQL dataSource. The select query is easy enough- Visual Studio generates:
(select * from table)
but for the update query, Visual Studio gives me:
UPDATE table SET field1=,field2=... etc.
and I need:
UPDATE table SET field1=#field1,field2=#field2... etc.
At the moment, I'm copying each field name, pasting it after the = and adding an '#', but this gets really tedious.
Is there a way of automatically adding a parameter for each field?
OK, found the solution now.
Click 'configure DataSource' on the SmartTag
On the 'Configure the Select statement' page of the wizard, choose 'Specify tables from a table or view
Click the 'Advanced' button
Select 'Generate Delete, Insert and update Queries'
NB, for this to work, your select statement must contain the Primary key of the table.
Using Third party Tool SSMS tool for Autogenerated StoredProcedures in MSSQLServer
It's Generated Insert,Update,Select,Delete Query with Parameter Use in DB
I have a lot of posts under category 'tution', which has custom field called 'video'.
i need to update the 'video' value with same youtubeurl i.e all post would have the same value in the custom field 'video'. how should i proceed. Is their a query?
if you can get access to your database through phpmyadmin
then you can use this sql statement to update your table rows with the video link
UPDATE wp_postmeta SET meta_value='YOUTUBELINK' WHERE meta_key='video'
just remember to change the wp_postmeta if your database uses a prefix for your tables
A client has a custom report that they want functionality added to for Dynamics CRM 4.0.
Currently, the report is ran from a Parent Account.
When the report is finally generated, it displays the Child Accounts in rows.
In those rows are columns for Primary Contact Job Title, Primary Contact Name, Secondary Contact Job Title, and Secondary Contact Name. These columns are currently empty but they need to be populated.
How can I populate these fields using a dataset query in the report?
Basically it would be query that would be For Each Sub Account, select the contacts, but I am having a hard time getting this to work.
Any help would be appreciated.
Thanks
The most flexible solution in my opinion is to use a Subreport which allows you to pass a parameter to another report/query which then gets merged with your report. In this case you would be sending the child account's id as a report parameter. Then in the subreport you build your query for retrieving the child account parameters, and you can access the id you passed as a variable (ie. #ChildAccountID)