89 Topics

Member Avatar for
Member Avatar for VIPER5646

Hi all I have an Access database Table and one of the columns has a date value the column name is closing. I would like to do an order by closing asc the null values are allways on top and I would like it to be at the bottom. I …

Member Avatar for VIPER5646
0
275
Member Avatar for nickcolb

So I'm working on a small calculator applet and whenever a button is pressed (generating an action event) i get this: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException. Something about a missing source? The variable m is an instance of my myFunctions class which houses all the necessary formulas. I believe the …

Member Avatar for radhakrishna.p
0
218
Member Avatar for sachins1986

how to get null field value from access in vb6 in my 2 record field the value is empty but i'm not able to get that empty field in vb6 ... .... set rs = new adodb.recordset rs.open ("select * from table1 where id = '2'") text1.text = rs!name please …

Member Avatar for AndreRet
0
2K
Member Avatar for agr8lemon

I'm a bit of a SQL newbie so I'm wondering if you can help me. I've looked on Google it for some time, but maybe I'm not using the proper terms. Here is my question: I have TableA that has the following columns: ID(PK), location, departA, departB. I would like …

Member Avatar for adam_k
0
1K
Member Avatar for tingwong

Hello all. So I have a little problem with my school project. We are to create a snack machine with cookies and mints and interact with it using a GUI. We click the add Mints or Cookies button to add to the 'Snack Machine' and then click buy to purchase …

Member Avatar for tingwong
0
276
Member Avatar for dancks

Ok. As the title says I tried many times to simply write a program that rewrites a file to remove null characters. I confirmed with a hex editor that the file in question has tons on null characters, on average about 1 of every 2 characters in null. So my …

Member Avatar for dancks
0
419
Member Avatar for mobility42

i am trying to load up my ObjectQueue variable objQueue with a task to run some operations on, and there i have a NullPointerException error. the error happens at: `objQueue[0].insert(Task);` I have declared the ObjectQueue variable in a similar fashion on other programs and have had no problem. sort of …

Member Avatar for mobility42
0
295
Member Avatar for rahul.ch

class Account { Long accNum, pwd} public class Banker { public static void main(String r[]) { new Banker().go(); // do more stuff } void go() { Account a1 = new Account(); a1.accNum = new Long("1024"); Account a2 = a1; Account a3 = a2; a3.pwd = a1.accNum.longValue(); a2.pwd = 4455L; } …

Member Avatar for rahul.ch
0
232
Member Avatar for kny_jay88
Member Avatar for kny_jay88
0
222
Member Avatar for androidz

HI i have this error null reference i don't know why Imports System.Data.SqlClient Imports System.Configuration Imports System.Configuration.ConfigurationSettings Public Class Form1 Private ConName As New DataAccess Private Sub cmdconnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdconnect.Click Dim conn As String Dim m_server As String Dim m_db As String m_server …

Member Avatar for androidz
0
278
Member Avatar for amitash

Hi, in Excel I want to use a marco to automate a process so that for all the cells in a Range, if any cell is null, it changes to value 0. How can I achieve that? Thanks!

Member Avatar for AndreRet
0
89
Member Avatar for viktor.jiracek.5

Hello all, I am currently trying to insert a 0 value into a single field. The value is originally set to 1 and I would like to set it to its default value of 0. How would I go about doing that? The code I have works for other things, …

Member Avatar for diafol
0
126
Member Avatar for DanCuster

Hello everyone, I am building a tic-tac-toe game for my final and everything is going smoothly except for one problem. The names I ask the user to enter at the beginning of the game, a replaced with null when the messagebox that shows who won appears. Here is the code, …

Member Avatar for JamesCherrill
0
637
Member Avatar for rover100

Hi guys, im new to these forums and would like some help with two problems im having in my program to make crossword The crossword requires me to read 5 inputs in one line. word row column direction clue Problem 1- input I wish to getchar the first word while((answerInput[count][i++]=getchar())!=' …

Member Avatar for rover100
0
163
Member Avatar for Mopikope

I am having a problem with an address book program. The problem is that when I try to set the fnTextField, lNTextField, ...etc I get null in all the JTextEdits. I've went through the debugger and before the I called `Edit edit = new Edit(1)` the values are in the …

Member Avatar for Mopikope
0
152
Member Avatar for blivori

have various classes representing various types of program-genres (comedy, drama etc). I have a text file filled with '-' seperated values that get read by a class called Processing and puts them into a LinkedList. I have another class GUI_g that creates the GUI. It has 3 JTables. One for …

Member Avatar for Majestics
0
255
Member Avatar for hey.howdy

// absolute.cpp : Defines the entry point for the console application. // [CODE] #include "stdafx.h" #include<iostream> #include<string> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int i=0, j=0,k=0,l=0; string yes1;bool outcome;int u=0,v=0,w=0; string arr[4 ][4]={{"Name","Plot #", "Cost", "Address"}, {"john", "1121", "Rs.1000", "62 johar TOWN LAHORE"}, {"jonty", "1123", "Rs.100000", "56 …

0
95
Member Avatar for jimoaks

So i dont know why i am getting this error, here are my 3 classes plus the tester edit: I get the null exception after i run the program, --------------------Configuration: <Default>-------------------- Exception in thread "main" java.lang.NullPointerException at University.offerCourse(University.java:35) at StudentCourseTestProgram.main(StudentCourseTestProgram.java:53) Process completed. [CODE]import java.util.*; public class Student { private String …

Member Avatar for stultuske
0
215
Member Avatar for dbsp

I've read many threads on how to remove a new line character '\n' using fgets()-- however, how would one go about removing a new line character simply by using getchar() ?

Member Avatar for deceptikon
0
2K
Member Avatar for skran

Hi all! I m trying to filter a datagridview (connected to sql server). I have used if statements in order to take all the possible combination but now I have 8 textboxes into which the user should insert values and filter the datagridview.. it is too complex.. I have asked …

Member Avatar for M.Waqas Aslam
0
404
Member Avatar for skran

Hi all I m trying to filter a sql db with many filter criteria which inert the user in textboxes .. i ve tryed this query [CODE]query = "Select * from T_INCIDENTS1 where IFF (txtPostcode.text is notNull) then Incident_Postcode='" & txtPostcode.Text & "') and iff (txtDMA.text is notNull) then Incident_DMA='" …

Member Avatar for skran
0
221
Member Avatar for ilovejava

I had to make a arrayList and i do not know why is it not working [CODE]public class ArrayList<E> { private E[] theArray; private int size; private int capacity; public ArrayList(int initialCapacity) { this.size = 10; this.capacity = initialCapacity; theArray = (E[]) new Object[initialCapacity]; } public ArrayList() { this(1024); } …

Member Avatar for ilovejava
0
205
Member Avatar for skran

Hi all! I try to filter a datagridview and I wrote an sql statement for that reason. The problem is that although I achieved to have multifilter I can find how to make my cod ignore the criteria which are null (empty criteria, when the user doesn t give any …

Member Avatar for skran
0
261
Member Avatar for tieastie

Hello, i am a newbie on php programming and try working on my last project in my school. My program is to compare 2 different xml file, it working well at first. but when i tried to add more xml file to compare, the page keeps telling "Fatal error: Call …

Member Avatar for tieastie
0
934
Member Avatar for qwertpink

hi all, when my codes ran at localhost, it doesnt have any error, however when it runs in a server it gives 'Column 'member_id' cannot be null' [CODE] //retrieve form data $start_date=$_POST['start_date']; $end_date=$_POST['end_date']; $project_name=$_POST['project_name']; $project_description=$_POST['project_description']; // open connection $link = mysqli_connect($host, $user, $pass, $db); $query = "INSERT INTO project(project_name,start_date,end_date,project_description,project_status)VALUES('$project_name','$start_date','$end_date','$project_description','available')"; $result …

Member Avatar for qwertpink
0
610
Member Avatar for aishapot

[CODE]Sub retrievepic() Dim conn As New SqlConnection("data source=.\sqlexpress; integrated security=true; attachdbfilename=|datadirectory|\WAIS.mdf; user instance=true;") Dim cmd As New SqlCommand("select ImageData from ImagesStore where ImageId=@ImageId", conn) cmd.Parameters.AddWithValue("@ImageId", 3) Try conn.Open() PictureBox1.Image = Image.FromStream(New IO.MemoryStream(CType(cmd.ExecuteScalar, Byte()))) Catch ex As Exception MsgBox(ex.Message) Finally conn.Close() End Try End Sub [/CODE] This is my code for …

Member Avatar for aishapot
0
1K
Member Avatar for niggz

Hello! I have a little problem. I don't understand how to solve this issue: Object reference not set to an instance of an object. Thank you! This is my code: [code=c#] BindingList<ComboBox> cmbPlayers = new BindingList<ComboBox>(); Club[] league = new Club[10]; // league contains class Club // class Club contains …

Member Avatar for niggz
0
286
Member Avatar for Cifale

I'm querying a SQL DB and sometimes the result is Null, so I thought I would test this but my code results in an error "Data is Null. This method or property cannot be called on Null values." Here is a snipet of my code: For i = 5 To …

Member Avatar for Cifale
0
704
Member Avatar for jaykool74

Using NetBeans IDE 7.0.1 with Java SDK 1.7.1 and Glassfish 3.x: I am trying to load an ArrayList from a database in the Servlet to be used on the JSP page in a dropdown box that would show stock symbol and company name. I get the following message when trying …

Member Avatar for jaykool74
0
5K
Member Avatar for fonzi

So i have been assigned a program where i create a interface a bag and the main or tester i have been trying to get this done for a while now and so far two other people have checked my work and have no idea why my list prints the …

Member Avatar for fonzi
0
169

The End.