User Profile

Collapse

Profile Sidebar

Collapse
Starasoris
Starasoris
Last Activity: Nov 25 '06, 09:32 PM
Joined: Oct 16 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Starasoris
    replied to Java better than C++
    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...
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to Best Programming Language
    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...
    See more | Go to post
    Last edited by Starasoris; Oct 17 '06, 11:21 AM. Reason: spelling

    Leave a comment:


  • Starasoris
    replied to Passing the value of Query Input to Form
    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...
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to Reading data from Access
    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...
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to passing a global variable to query
    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...
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to Summation questions
    in C
    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.
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to Error Opeing report on clients machine
    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.
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to C function help
    in C
    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.
    See more | Go to post

    Leave a comment:


  • Starasoris
    started a topic Error Opeing report on clients machine

    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...
    See more | Go to post

  • Starasoris
    replied to How can I test if a value is assigned ?
    in C
    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...
    See more | Go to post

    Leave a comment:


  • Starasoris
    replied to Out putting 2d arrays to text files
    in C
    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...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...