I have the following:
StringBuffer s=new StringBuffer();
s.append("add this");
If I want to attach "ing" to the word add, meaning I want to have s="adding this" how do I append in between characters?
I am learning about StringBuffer and have two questions:
[1] I tried creating a new String using StringBuffer, initialize it and specify it's length using the following statement:
StringBuffer s=new StringBuffer("Hi Gisela".length());
However when I do System.out.println(s); it does not...
When I run queries like the following in Business Objects:
Select [field] from [table] WHERE [field] IN ('a','b','c');
Does BO retrieve the entire table first? and then filters 'a', 'b', 'c'?
If that is the case, can I do anything to change that?
I am new to Java. I read the following: do not use the == operators to determine if strings are equal. It only returns true if the strings are stored in the same location.
So..I opened Eclipse and tried the following with 2 ways of testing equality:
public class TestingStrings {
public static...
When I run queries like the following in Business Objects:
Select [field] from [table] WHERE [field] IN ('a','b','c');
Does BO retrieve the entire table first? and then filters 'a', 'b', 'c'? If that is the case, can I do anything to change that?
The queries take a long time to run and I...
I need to write a query that calculates the number of weeks left between today() and April 1, 2007. I wrote the following, but although it does not give me an error, it does not display anything:
SELECT DateDiff("ww", now(),"April 1, 2007") AS Weeks
FROM tblTest;
I don't really need tblTest...
I have a form with a calendar.
The on open event contains: DoCmd.GoToRecord , , acNewRec
For some reason, the calendar does not appear as soon as I open the form, but if I put the cursor on the border of the form and resize it slightly, the calendar shows up.
The form is much bigger than the...
I have created a little training log for myself.
When I select an activity from a dropdown box I would like to immediately display a weekly total (time engaged) for that activity.
I already have the query but what I would like to know is:
is it possible to display the result of the query in my...
I am new to Java.
I created:
Project: Learning
Class: Bikes
Now I just created a new project. I wish to create a new Bikes object called Motorino
Bikes Motorino= new Bikes(model, color);
How do I reference my class Bikes located in a different project?
I have a couple of Universes: one for Americas and one for Europe. They are a copy of each other.
I have create a few reports in the Americas Universe; Is there a way to put a copy of my reports in the Europe Universe so I don't have to re-design them?
Thank you in advance for your reply
I have a report with name, dept, division ,telephone...etc.
I set Name as Master so I have a section called Name.
I wish to display information such as dept, division and telephone right next to the name.
How do I do that?
I don't wish to create a section for each field because that would take...
I have a date/time field
I displaed the date only by using the format options however when I set the field as master, it displays one row at the time because it is not ignoring the time.
How do I solve the problem? I am using BO 6.5
I have a simple table with 3 columns.
Example:
Company/Division/Order#
I created a report and put a count in the order# column
I now wish to show only the totals such as:
ABC Marketing 25 Orders
ABC Communications 21 Orders
NBX Travel 3 Orders
How...
When I wish to say: return all the records expect a and b for example.
Do I use Not in List?
if yes, how do I type the values?
"a", "b"
'a', 'b'
"a"; "b"
?
I have a field which has date and time.
How do I create my report so that users can say for example:
give me all records From May 1 to 5 but only those from 11:00:00 to 14:00:00?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.