field

Bug Table key field

I need to create a table to save the bugs of an application that have access on it many users, in a way to stock the bugs and manage them lately. So I need to have a key field that will be unique but identify the bug, have a meaning and also light on the server Does anyone have an idea about that case ? ...

insert text field from MSSQL to MYSQL failed

I'm trying to income data from a MSSQL (2005) table to MYSQL (5) table, using SSIS, all fields insert correctly. Except one field that his type is TEXT in MSSQL to MYSQL TEXT field, and always this field is get NULL ! ...

Retrieving the norm of an unstored field in Lucene

I have an existing Lucene index with an indexed, unstored field. Let's name the field longText. I need the norm of longText for a specific calculation. Not all the documents in the index have a longText field. When I try to get the norm for longText from a document that does not have this field, I always get 1.0, which is the default, bu...

C# How do I upload a file to a PHP server?

I need to upload a file to my webserver from a C# program. The problem is, I need to also POST two strings at the same time. So far, I have: HttpWebRequest HttpWReq = (HttpWebRequest)WebRequest.Create("http://localhost/test.php"); ASCIIEncoding encoding = new ASCIIEncoding(); string postD...

JQuery datepicker- 2 inputs/textboxes

Two input boxes: when I set the first one, I want the second one to be be one day after the date selected in the first. I am using Keith Wood's jquery plugin: http://keith-wood.name/datepickRef.html. Using altField: just keeps the same in the two fields, but I want to get 1 day after in the second input field. ...

Mantis - Add version field

Is it possible to have a version number for each defect/issue raised in Mantis and track its value during the lifetime of the defect? e.g v0.1 - Issue reported v0.2 - Issue assigned v0.5 - Issue resolved v0.6 - Issue closed I have never used custom fields in Mantis - can they be employed for such a purpose? UPDATE: In the meantime,...

C# - String within a string issue?

I am not sure what exactly the issue is here. I am working with 2 strings and I keeping getting the error "A field initializer cannot reference the non-static field, method, or property 'Captcha.Capture.CaptureTime'". Here's a snippet from the code: string CaptureTime = DateTime.Now.Month.ToString() + "-" + DateTime.Now.Day.ToString()...

Storing Multi Choice Field into in SQL Server 2008

I'm writing an app in .NET, and using a dropdown checkbox. I'm not sure what the best practice is for storing this info in the db. Currently I'm writing back a comma delimited string to an SP in SQL Server 2008 ie "apple, banana, pear", storing this in a nvarchar(MAX) and then splitting this in the SP into another table holding the ID ...

I have a site where I will be manually changing street addresses. I want to include a map link but I want it to update itself automatically when I change addresses...

I have a site where I will be manually changing street addresses. I want to include a map link but I want it to update itself automatically when I change addresses... Also, I'd like the link to send the address field to google maps or mapquest and return with that info in a small popup window that features the map. What's the best way...

SharePoint List Items with Lookup Fields - moving/copying to different site collection

Here is the scenario. Our SharePoint custom job archives list items (based on ceratin crteria) and copies/moves the items to a different site collection. In this scenario, if the list item has some lookup fields, how do preserve these when I copy/mpve to different site collection?. Thanks, Durga ...

Copy Table and Merge field

Could you please help me with present SQL? I am copy 1 table to another table and the same time merge the fields. I get an error on the + INSERT INTO [dSCHEMA].[TABLE_COPY_TO] ( [FIELD_A], [FIELD_B], [FIELD_A] + '-' + [FIELD_B] ) SELECT [FIELD_A] ,[FIELD_B] FROM [dSCHEMA].[TABLE_COPY_FROM] ...

why search field in not displayed at the Iphone MKMapView?

Hi, In My application i am using MKMapview to display the googleMap,but it is not displaying the search field in the Map. I have downloaded the Maps application from the Appstore in my real device and which is disaplying the seach field in the map. can any body have any solution for displaying the search field in the Existing Map, as i...

Create Aperture / depth of field affect

How can I create a function that will replicate the affects of different aperture settings. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus. Also I was curious if anyone knows how to create a slider bar that ...

Drupal 6/jQuery Ajax update a field

I'm on a different path on the same site, and I need to allow the user to change the contents of a field on a node s/he wrote in a different location. I have the nodeid and the field name, and ids, etc np. I don't believe this is too difficult, but a tutorial or an explanation would be wonderful. Thanks. Edit: Thank you anschauung for...

How to Remove a Field from a wxStatusBar

This may be obvious, but I'm missing it. I'm working in wxpython. I have a wxStatusBar with several fields (these fields have text as well as other widgets). I need to be able to add and remove these fields throughout the app session. Is there a way to remove fields from a statusbar, or do I just have to redraw it? I think to do the...

Java: accessing transient object fields inside class

Accessing private transient object fields from any method in class must be controlled with some code. What is the best practice? private transient MyClass object = null; internal get method: private MyClass getObject() { if (object == null) object = new MyClass(); return object; } // use... getObject().someWhat(); o...

Getting package-level access to a field from outside the package?

I'm using an API that has an abstract class that I wish to extend (in my concrete class) in order to take advantage of some methods within the parent. Unfortunately, the programmer of that API class decided with one field in particular to give it package-level access with no public setter. The field value is instead set within a method. ...

javascript if drop down selected then set value of text box

Hi I've spent some time searching around for this, but can't seem to get it all worked out. I have a shipping drop down and I want to split off the type of shipping and the amount selected and put them into two separate hidden fields. (I am using text fields at the moment for easier testing) For example- if they choose from the first ...

How can I pass a User model into a form field (django)?

Basically, I need to use the User's password hash to encrypt some data via a custom model field. Check out the snippet I used here: Django Encryption. I tried this: class MyClass(models.Model): owner = models.ForeignKey(User) product_id = EncryptedCharField(max_length=255, user_field=owner) ......................................

Update Array field in progress DB using ODBC

Dear All: I access the progress DB using ODBC in my C# program, and I need to update some fields,which are array data type. so how can I write my sql statement to do such things? I read some progress documentations,in which some methods were mentioned as bellow: update pub.sometable set arrayfield='X;X;X;X;X;X' where condition.... but ...