Although Java is more portable across environments, if I had to write some quick and dirty and small program to update something on someones system, it would be in C++.
The only thing that scares me about Java is the reliance on the RTE and library stuff. I also have more of a feeling of what is happening with C++ and what will be slow or fast.
Other than that, I think Java should be encouraged so that it can be ported...
User Profile
Collapse
-
I learned on Motorolla 68000 assembler and then C was easy once I got the syntax down. I have since done VB, Delphi/OOPascal, C++, Ruby, PHP, Some Java, JavaScript and even made my own scripting language onelate night.
These days, so many languages use the C/C++ syntax style that it is hard to go past it. I would surely reccomend learing a C style language rather than Basic, Ruby or some other more forgiving syntax as it will give...Leave a comment:
-
Hi dath,
I imagine that from your info, you have a criteria in a query called [Month] that will pop up a message for them to enter a month. If I have this right then what you need to do is in the query, create a new column with the field set to SelMonth: [Month] and make sure Month is spelt the same. Tick on the Show check box. your query will now have a field called SelMonth which you can put on a form or use to join in a nother table...Leave a comment:
-
For the purposes of niceness, I suggest that you use a form in datasheet mode. That is if you want it to look like a spreadsheet and have calculated fields.
You can just set the datasource of the form to the table holding the data and then add all the fields from the field list, into the detail section of the form. Set the forms mode to datasheet and it should give you the data.
To add the calculated fields, drop on a text box...Leave a comment:
-
It is most likely the quote issue. What it would be getting evaluated to is
WHERE (((tblSubProjec tKeyWords.Proje ctKeyWords)=Air Quality));
you may need to append the 's. Try the following. I am appending a single quote inside double quotes.
ProjectKeyWords )="'" & get_global("Key WordsSelected") & "'"));
Functions are evaluated before the SQL logic is...Leave a comment:
-
Don't mean to be a spoiler, but which parts specifically don't you understand? It might help if you put in what you can already work out and relate your questions to that.
When I was at school, they never actually gave us the questions before hand, or perhaps these are just examples.
But please, throw in some code and we can explain what you don't understand or are missing.Leave a comment:
-
Actually, change of problem.
Turns out that they have converted the db to 2003 and were running it on that. I made it in 2000. They have tried it on a 2000 version and it works fine.
Anyone know why even a simple report with no data or code would not convert to 2003. I don't have 2003 here to test with unfortunately.
Thanks.Leave a comment:
-
There is a function called sqrt which is in math.h
The forth root is sqrt(sqrt(value ));
unless of course you are meant to write your own square root algorithm.Leave a comment:
-
Error Opeing report on clients machine
I have just nocked up a database for a client but when they preeview the reports, they get 2501 errors and when they try and print the reports, they get 3011 (object not found) errors.
I imagine this is because it is looking for my printer, even though I set it to use the default printer in the page setup. I am sure there is some work around but haven't done access in years.
One of the reports doesn't even have any code or DB... -
I think that your best bet is to initialise the fields when the struct is instantiated. if only positive values are valid, init it to -1. If any value is valid then you may just need another field.
If you are thinking that you may need one test field for each field, you don't. You can use Bit Fields
unsigned field1set : 1;
unsigned field2set : 1;
etc.
It will probably be 4 bytes extra per structure unless...Leave a comment:
-
What type of data is the array. char? int? The array variable itself is nothing bat a pointer to that specified type.
int Slab[50]
Slab[20] = 100;
Slab[20] will give the value 100 and it is an integer
I will let you work the rest out.
I must admit that this has the feel of an unstudied university assignment about it.
There are far to many unqualified programmers with university...Leave a comment:
No activity results to display
Show More
Leave a comment: