Hi
I wanna create a Boolean field in my oracle table but I seen there is no boolean or byte data type so,which one of the oracle data type I must choose for a boolean value?
Hi all,
Anybody know how can I add multiple email addresses in Outlook field "To" via C#?
foreach (var to in mailTo)
newMail.To += to + "; ";
When I try do it how I described this above I receive next kind of string:
[email protected]@[email protected]
Hi, I've got an Access '07 database that imports data from text files. The problem is one of the fields that is taken in comes with a date value before a place value that I don't need. For example, the field comes in like so: 01012010DUBLIN whereas I need it to just display DUBLIN.
I'm stumped on this and any help would be greatly appreciated
Thanks.
I'm writing an iPhone web app, and I want to automatically focus a text field when the page is loaded, bringing up the keyboard. The usual Javascript:
input.focus();
doesn't seem to be working. Any ideas?
I am new to photo apps, recently I am interested in making a sticker app like those can be seen in the appstore, I know I would need to use uiimagepickercontroller, uiscrollview and uigesturerecognizer.
However I wonder which code method should I use for the app to load multiple stickers? Should it be called programmatically? Is that I would need to use the if-statement, say if one sticker is loaded, the app will auto generate a new sticker on top of it?
We are using 2 following google services, we need to talk to google folks if we need to do some additional stuff to fulfill the conditions:
Reverse Geocoding APIs: For getting city and state from the iphone's geocodes (latitudes and longitudes)
Doing a Local Business Search: based on city and state
Also is it mandatory to embade Google maps with iphone apps while using these Google Maps APS?:
I have two threads referencing the same boost::shared_ptr:
boost::shared_ptr<Widget> shared;
On thread is spinning, waiting for the other thread to reset the boost::shared_ptr:
while(shared)
boost::thread::yield();
And at some point the other thread will call:
shared.reset();
My question is whether or not I need to declare the shared pointer as volatile to prevent the compiler from optimizing the call to shared.operator bool() out of the loop and never detecting the change? I know that if I were simply looping on a variable, waiting for it to reach 0 I would need volatile, but I'm not sure if boost::shared_ptr is implemented in such a way that it is not necessary here.
Hello,
I am making a small personal application regarding my trade of shares of various companies.
The actions can be selling shares of a company or buying. Therefore, the details to be saved in both cases would be:
Number of Shares
Average Price
Would it be better to use a separate tables for "buy" and "sell" or just use one table for "trade" and keep a field that demarcates "buy" from "sell"?
I have a php file that acts as a gatekeeper for all the files I want people to download, who ahve sufficient privilages.
The code I use throw the file to the user is
header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header("Content-disposition: attachment; filename=\"".$public_filename."\"");
header("Content-Transfer-Encoding: Binary");
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header("Content-length: ".$f_filesize);
readfile($file_path);
Most files are fairly large.... 400mb-10GB.
What would be a good way to do this, and keep the true locations + filenames secret, so people cant just link to the files directly, but HAVE to link thru my download.php?file=ID gatekeeper?
Thanks
How much time, and what basic steps, are involved in integrating the "Facebook Like" feature into an existing e-commerce site?
Let's say we are only interested in the feature at the product details level and have approximately 5 different product details areas.
Any recommended tutorials perhaps?
Thanks
(rest_branches) is the table of restaurants.
(phone_numbers) is another table which contains the restaurants phone_numbers, and it has a field called (branch_id) which references the restaurant id.
When I try:
SELECT *
FROM rest_branches
NATURAL JOIN phone_numbers
I only get the restaurants which have a phone_number.
What should I do to get all restaurants even if they don't have a phone number?
HI,
I am just trying to set a field value and disable it at the same time.
Can this be done in ext js? The docs are very weak on this subject.
something like this generates errors:
myForm.getForm().findField('start_date').setValue('').setDisabled(true);
I'm used to JQuery which does this sort of thing nicely but haven't had luck with Ext.
Thanks for any help.
I have a screen where the first field is an EditText, and it gains the focus at startup, also popups the numeric input type, which is very annoying.
How can I make sure that when the activity is started the focus is not gained, and/or the input panel is not raised?
When using MySQL SELECT can you change the value of a returned field based on other fields?
For example, if I have this select:
SELECT city,state,country FROM table
Now if city is empty AND state is empty, I want the value of country to returned empty as well (whether country actually has a value or not).
Example table:
id | city | state | country
-----------------------------
1 | Here | There | MyCountry
2 | | | YourCountry
So with the above table, I want the results for id=1 to return Here,There,MyCountry but the results for id=2 should be empty,empty,empty
Thanks
As the title says I want to know what is, on an average a web developer should know in your opinion by the end of 1 year into the field in terms of concepts to learn, exposure to technologies, should he have mastered some area .. etc and so on.
Hoping to get a huge input from the community!
Thanks
So I have
<form id="formA">
<input id="uuid">
</form>
<form id="formB">
<input id="uuid">
</form>
is this ok to have 2 field names on different forms? I'm thinking access via javascript.
hy guys . . im new at this . . sorry for the word that's not understandable and the easy question . .
i'd like to ask about an error that shown below :
TypeError (wrong argument type Module (expected Class)):
app/controllers/player_profiles_controller.rb:1:in `'
i want to test the result by render json in soapUI.
does anyone know what's the problem so that the error will show up like above ?
thanks before.regards,edy
I'm doing a project I'm encountering a problem in my project.........
the problem is i would like to increase or decrease the quantity in my sql quantity field when i pass the issued or delivered quantity i.e....
initially the quantity in the quantity filed is 1 when i intake the product of a quantity 10 then automatically it should update the quantity as 10+1=11
so it must update as 11, if i remove a 1 quantity it should update as 0........
how to write a code in jsp..........
pls do help
I am using require.js to require JS modules in my application.
I need a way to bust client cache on new JS modules, by way of a different requested URL.
i.e., if the file hello/there.js has already been cached on the client, I can change the file name to force the browser to get the new file.
In other words, for the module hello/there, I'd like require.js to request the url hello/there___v1234___.js (the file name can look different, it's just an example), according to a version string which is accessible on the client.
What is the best way to achieve that?
Hi,
I want to sort document by relevancy i.e. First all docs having "Burj Khalifa" in title and then in summary field? and sort by publishdate as well. means latest documents must have high score.
criteria is like sort by score with publishdate
http://localhost:8080/solr/select?sort=score+desc,publishdate+desc&q=Burj Khalifa