Sunday, 15 August 2010

sap - How do I in Crystal Report sum data on a column where id is some number -


I am new to crystal reports and I am trying to understand this for a while. I'm running Crystal Reports XI Please help.

  Data: John respMonitor 5 ABE case MGMT4 cyst test 1 4 clair respmonitor 5 mb test 3 2 bob case mgmt 8 lyn respmonitor 4 rick test 2 33 ray test 1 31 al test 1 24 etc. .  

I want to create the following data:

  Group cost sumOfTests1_3 124.0 < ====== Only want a number of tests respMonitor 5.0 case 7.0 mmsmt 7.0 responitor 3 Responitor 2 caseMgmt 4 etc.  

That's why I want to be able to make the tests alone except for other groups alone.

  I have created a SQL expression field: {% testCM} (PatientTbl) "Select" from "PatientTbl" amount ("patient" "cost"). "Group" = 'test1' or 'patientTbl'. In my record selection I have: ["responitor", "case mgmt", "test1", "test2", "test3"] "group" = 'test2' or 'patientTbl' '"group" =' test3 ') In {PatientTbl.group} I have also created a formula field: {{test1 "," test2 "," test3 "] in {PatientTbl.group} then {% testCM}  

There should be another block in the formula area to print the rest? I do not think how to collect only the costs for the group "test", while other groups are being printed individually. Not sure where to go from here.

Thanks, John

not me It looks like you need a SQL expression just add this formula and use it as your group expression and then add value. A group with a value will still show the correct value.

 < Code> if {PatientTbl.group} in {"test1", "test2", "test3"] then "test1-3" other {PatientTbl.group}  

git - Simpler file type matching in .gitattributes -


We are setting up the line-ending encoding rules in a current GIT repo and it has been realized that it affects binary files When we do not want it.

I can not find any information as to which file-matching pattern is supported in this file. Instead of a list of all text file extensions (except for all binary files), do we have one way to match their type of files instead?


java - Handling custom server-side exceptions from server to GWT Client -


In what way (and the revised version) a GWT app can handle the custom server side exception and handle it with the GWT client side By using the ClientProxy interface such that the app can see that:

  if exception (example custom server exception) {// do UI stuff}  

2.3 Restart the use of the class Resource Express on the Client And an annotated exception that permits you to take advantage of transparent user-defined exceptions

For more information, you can see this link:

Hope this is your Will help, Thierry


version control - Git on mulitple networks/offline sites -


We have two teams who work on the same project. Each team is on a different network. Unfortunately, none of these networks is connected to the internet and due to the rules of the company, this project is not allowed to transfer any data over the Internet. We can only transfer files between the two periodically, which is the only connection.

Ideally, each team should be able to clone, commit and push a bare. Whenever we want to synchronize the repo on our network, we can transfer any kind of (binary) difference / patches between those sites which will be used to sync the repo.

The method that is currently being used: We have a single at-jet repo located on Network A. A. Team A is happy every time the developers want to sync their changes with Network B, they make series with random repo from previous sync, give them to Team A, team A network introduces patch on A repo. Sometimes we change the bare with network copy of a repo from Network A to A, so that the developer changes on Network B can be dragged.

What is wrong with this method? 1. We have "up to date" repo on site A. Team B needs to apply on site A to make patches and sync their work. 2. We periodically transfer the whole repo between the sites, not the only difference (whenever we want to draw on site B) 3. The developers of Site B are not putting pressure on the bare repo (only make patch for Team A).

Thank you!

OK, for a clear solution, a GIT repository will be hosted online, which will push / This is the standard way you can bridge, you can also use Geethhub.


authentication - Servicestack add field UserAuth table and check on login -


Text after "

I want to add new area (s) to the UserAuth table (for example: Blocked, verified) and when I check Want to log in. How can I do this?

Finally I did not find anotherway solution for my project ...

1) SessionsFeaute in pairs plugins:

  this.Plugins.Add (New SessionFeature () {SessionExpiry = TimespanFrames Minutes (15)});  

2) Register ICacheClient:

  container.Register & lt; ICacheClient & gt; (New MemoryCacheClient ()); 3) Certified method:  
  Public Zero Certified (ISession session, user user) {session.Set ("UserInfo", user); }  

4) Logout method:. Set session.GetSessionBag () & lt; Users & gt; ("UserInfo", tap);

5) RequestFilter:

  public class UserInfoFilterAttribute: RequestFilterAttribute {public UserInfoFilterAttribute () {} Public UserInfoFilterAttribute (applyTo applyTo): Base (applyTo) {} Public override zero executed (IRequest request, IResponse race, Object RequestDto) {var user = req.GetSessionBag (). & Lt; Users & gt; ("User Information"); If (user == tap) {res.StatusCode = (int) HttpStatusCode.Unauthorized; Res.EndRequest (); 6} Finally using a filter for a restricted service.  
  [UserInfoFilterAttribute] Public class AccountInfoService: ServiceStack.Service {}   

/ pre>

Thanks anyway ... < / P>


Difference between static variable of C and of C++? -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 3 जवाब

सी में यह एक त्रुटि है

  int x = 5; स्थिर इंट y = x; // त्रुटि  

सी ++ में यह मान्य क्यों है?

  int x = 5; स्थिर इंट y = x; // वैध  

क्योंकि सी और सी ++ अलग-अलग भाषा हैं।

प्रोग्राम शुरू होने पर सी ++ में एक गतिशील प्रारंभिकता चरण होता है, जिसमें स्थिर परिवर्तकों को गैर-तुच्छ कंस्ट्रक्टर या गैर-निरंतर प्रारंभकर्ताओं के जरिए प्रारंभ किया जा सकता है सी, निरंतर अभिव्यक्ति के साथ प्रारंभिक रूप से स्थिर चर की आवश्यकता नहीं है।


python - OSError: libtest.so: undefined symbol: g_tree_new -


When I try to open Python (dlopen () in Python) I get an error like the above.

Some functions in libtest.so that use g_tree_new

g_tree_new has been defined libglib-2.0.so.0

I have LD_LIBRARY_PATH where is libglib-2.0.so.0 , but it does not help!

Thanks

Did you link while building in libthest? That is, you need -lglib-2.0 in your link command line.