^^ Can anyone provide me some assistance? Thanks! ---- xian
hollowMedia 0xFA7E
Posts
-
Simple Database App - Combobox + DataGrid -
Simple Database App - Combobox + DataGridI'm trying to find the best way to accomplish this; it seems what I'm doing is far too involved. What I'd like to have is a combo box loaded with some IDs that is used to populate a datagrid that queries off of other tables (Access). The main problem I'm having is the DataSet/OleDbCommands I'm using apparently don't like having a multi-table query used. The data in the data grid is going to be a simple inner join off of a few tables, so names can be displayed as opposed to IDs. To fix this, I set up a reader, then populated a queue and used that for the datagrid. This seems like a bit much effort, so I'd rather see if there's a better way. Here's some pseudo-code for what I'm doing -
command = "select * from tab1, tab2 where id = @id" command.parameter = @id adapter = new adapter( command ) apadter.fill( dataset ) datagrid.datasource = dataset - event combochange - command.parameter.value = combo.selectedvalue adapter.fill( dataset )
This code works well if there is only 1 table in use, but as soon as multiple tables are involved, it doesn't work so well. I've found ways to link multiple tables through relations, but I just need a read-only grid display of the data. Any help is very much appreciated. ---- xian -
Requirements Management SoftwareI am in the process of reviewing some RM systems and I was hoping people who get to use them everyday could offer some insight! What do you use? Do you feel it's the best? Anything particular you like about it? Any other information would be great! Thanks. ---- xian
-
Musical InstrumentsI play guitar, bass guitar, drums, sing, and some piano. ---- xian
-
Vanilla Coke?We've been making vanilla cokes for about 10 years now with just vanilla extract. When I used to drink soda that's the only way I'd drink it. Seems Coke caught on to this (after 10 years...) finally. ---- xian
-
Anyone making any money selling software?10k/month? I bet you drive a nice car! ---- xian
-
Which PDA do you use?I am not dead set quite yet, but I was looking into the HP Jornada 568 and the Compaq iPaq H3800 series. Any recommendations? Should I look into a PalmOS based system or stick with PocketPC 2002? I want something that is very versatile - something that I can view pictures taken from a digital camera (The cameras I've looked at use CompactFlash format), nice organizing software, fast, easy hot-sync, etc. PLUS: I want to be able to program my own applications for it. I've worked with PocketPC 2000 using the Embedded Tools from MS. I liked it a lot (It's C++, how can you not?) but that's not to say that the Palm environment wouldn't be even better. Wireless internet is not necessary. :) ---- xian
-
JOTDWe call it the "Hokey Pokey" here. Odd. ---- xian
-
Noah's ArkSchweet. ---- xian
-
Noah's ArkChristian Graus wrote: Michael Martin wrote: You got to see and hear that the almighty exhisted. Would you like details of a church in Sydney where you can see and hear that the almighty exists ? Sure, I'd like the details! ---- xian
-
Noah's ArkNO!!!!!!!! My kitty is gonna go to heaven! ---- xian
-
JOTDParesh Solanki wrote: Since all men want to have as much sex as possible with as many girls as possible, we can assert that (for men) sex = girls, men = money X money X girls X girls = money ^ 2 X girls ^ 2 Unless you are a gay man, then you might get
men = money * money * men * men = money^2 * men
therefore
men * money^2 = 1
sqrt( money ) = sqrt( 1 / men )
+/- money = 1 / sqrt( men )
sqrt( men ) = 1 / money
sqrt( men ) = 1 / sqrt( evil )Does this mean gay men with a lot of money = 1? Or that the root of gay men is that infinity as money reaches 0? Or that the root of gay men is the inverse of the root of evil? I never understood that lifestyle :\ ---- xian
-
Noah's ArkThe gift is enternal life, but the alternative (punishment) is eternal suffering. Seems like you don't get much choice. If you are born in an area with no contact to the outside world (yes there are still cannibalistic tribes) and you have no way to experience the bible, then what happens to you? ---- xian
-
Noah's ArkIf it's the wrong direction then what happens to me? Will an forever-loving Creator allow me to burn in hell just because I was wrong about one aspect? ---- xian
-
JOTDMy dad says the same thing. He thinks we're all on an spiral- similar to what you've stated. ---- xian
-
Noah's ArkYou just had to go there didn't you? Just had to ask a religious question! :flame: I believe in a Creator (I will not refer to him as God because to me that places too much emphasis on Christianity). I think the Bible is full of a lot of 'good ideas' and models for living your life. By no means will I study it so deeply as to let it consume my existance (as a lot do). I think the most important thing about living is interactions and relationships with people. If you can leave this earth and say you truly affected or provided love for more than a handfull of people then you have accomplished your task. I believe that a lot of religions feel that the Creator is inside all of us as he created us in his image. If any of those religions are correct then by giving that love to people you are infact doing what you are supposed to. Just my views. I like to live my life as a good, caring person and hope that if there is Creator and everything does have some meaning that it (I am sure gender isn't an issue) will see that I'm a good person. But - if that isn't enough and I am supposed to bury myself in prayer then I guess I don't want to be part of that anyway. ---- xian "Winners never quit and quitters never win, but those who never win and never quit are idiots." -despair
-
JOTDMy girlfriend of 3 years says to me "I love you more then I have ever loved you." Then 1 week later she says "I don't know how I feel anymore" followed by "Things are just different." We go on like this for about 3 months. I feel like this is the longest breakup in history, but at least I can deal with it now. My question: How can feelings change from extreme love to indifference within 1 week? I mean...I didn't change. Women are confusing. ---- xian
-
Definitive Guide to Mini-Putt 1OIC! :) I am not gonna re-figure out all the crap again tho :) ---- xian "Winners never quit and quitters never win, but those who never win and never quit are idiots." -despair
-
Definitive Guide to Mini-Putt 1The game's vertical, or my screen resolution? ---- xian "Winners never quit and quitters never win, but those who never win and never quit are idiots." -despair
-
Definitive Guide to Mini-Putt 1My screen isn't big enough to pull that off. Try this tho: Place the ball in the upper left corner. Place the BOTTOM EDGE of your hand (wrist area) where I display:
|
_ v
| |-----------------------------
| |
| |
| |
| |
| |Here is your hand
_
||_
| \
\__/
^ This is the left edge!Make sure the left ege of the hand aligns with the right edge of the left wall. (get it?) and the bottom edge of your wrist (black pixels) aligns with top edge (black pixels) of the top wall. Before you shoot! Move the hand down 1 pixel! Now shoot. I wish I could take a screen shot with the pointer! ---- xian "Winners never quit and quitters never win, but those who never win and never quit are idiots." -despair