May have been the losing side. Still not convinced it was the wrong one.

Mal ,'Bushwhacked'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


tommyrot - Oct 25, 2010 9:25:19 am PDT #15315 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Interface Message Processor (IMP) – The First Internet Router

Steve Jurvetson shot this photo of a Interface Message Processor (IMP) made by BBN, which was as used as a router by APRANET to create one of the first nodes Internet in 1969. It is part of an upcoming exhibition at the Computer History Museum in Mountain View, CA.


Shir - Oct 25, 2010 12:40:02 pm PDT #15316 of 25501
"And that's why God Almighty gave us fire insurance and the public defender".

Nothing to see.


§ ita § - Oct 25, 2010 12:43:46 pm PDT #15317 of 25501
Well not canonically, no, but this is transformative fiction.

No, it's not the place. You need to pursue that sort of hacking on the down low, not here on the board.


Shir - Oct 25, 2010 12:50:17 pm PDT #15318 of 25501
"And that's why God Almighty gave us fire insurance and the public defender".

Will do. Thanks.


DCJensen - Oct 25, 2010 5:19:57 pm PDT #15319 of 25501
All is well that ends in pizza.

Obviously that could be rewritten to get rid of the YK3 issue, but here's a place where SQL could use a built-in variable for positive infinity, like some languages do.

I'd program it for 12/31/9999, because I'm a very strange man...


DCJensen - Oct 25, 2010 5:24:50 pm PDT #15320 of 25501
All is well that ends in pizza.

I have apparently managed to boot my 400MHZ G4 box to boot on a hard drive with Leopard installed.

To quote that old mainframe song "Do It Yourself:"

...it crashes every hour, and it isn't worth a damn,
But I'm satisfied because it runs just like an IBM!


Sophia Brooks - Oct 26, 2010 4:12:43 am PDT #15321 of 25501
Cats to become a rabbit should gather immediately now here

I have a visual basic/access question. My database has a form which I use to send confirmation emails to students. There are 2 drop down menus, one for student name, and one for class name. There is a different button for each letter, which takes me to a word mail merge document based on selecting either the student or the class.

My issue is that I need two more sub-criteria-- a way to send to just the unpaid and not cancelled people in the class. Currently to remind people to pay, i have to go through each class by hand and pick out the people who haven't apid, write down their names, and then individually send them an email.

Now I am supposed to do at least weekly.

I only need one mail merge sorted this way, so I thought maybe I could add something to the command that happens when you press the button, but I do not understand visual basic at all.

The command is

Private Sub cmdPayNeed_Click() On Error GoTo Err_PayNeed_Click Dim db As DAO.Database Dim qry As QueryDef Set db = CurrentDb If Not Me.cboClassName = "" And Not Me.cboStudentName = "" Then MsgBox "You may only choose Class or Student but not both.", vbCritical Me.cboClassName = "" Me.cboStudentName = "" Exit Sub ElseIf Me.cboClassName "" Then Set qry = db.QueryDefs("qryStudentPayEmailClass") qry.Parameters("Input Class ID") = [Forms]![preLetterType]![cboClassName] qry.Execute ElseIf Me.cboStudentName "" Then Set qry = db.QueryDefs("qryStudentPayEmail") qry.Parameters("Input Student ID") = [Forms]![preLetterType]![cboStudentName] qry.Execute ElseIf Me.cboClassName = "" And Me.cboStudentName = "" Then MsgBox ("You must select a Class or Student before opening Payment Needed."), vbCritical Me.cboClassName.SetFocus Exit Sub End If

Exit_cmdPayNeed_Click: Exit Sub

Err_PayNeed_Click: MsgBox Err.Description Resume Exit_cmdPayNeed_Click

End Sub


tommyrot - Oct 26, 2010 5:52:26 am PDT #15322 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Sophia, would you use a different query for this case? (If so, can you create the query?)

My issue is that I need two more sub-criteria-- a way to send to just the unpaid and not cancelled people in the class.

I don't understand the "two criteria" here - isn't this just one more option? Or is "unpaid" and "not cancelled" two different options?

How would you modify the form for the new options?


Sophia Brooks - Oct 26, 2010 6:22:40 am PDT #15323 of 25501
Cats to become a rabbit should gather immediately now here

I have one field for "cancelled" (Yes/No" and then one field for Payment Owed (which if it is zero, I do not want to sent the email.

I tried changing the query to include a ="no" in the cancelled field and =NOT"0" in the PAYOWED field, , but then I recieved an error saying it was to complicated? Possibly because the VBA is telling it the class ID via the drop down menu?

I don't actually want to change the form- I just want the button that currently says "payment needed email" to only choose the people who actually need to pay?

I am not even 100% sure that this makes sense.


Jessica - Oct 26, 2010 6:53:04 am PDT #15324 of 25501
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

I should know how to do this, but for some reason I can't find the right link - Google is defaulting me to google.co.uk, and I want it set to google.com. Where do I go to tell it I'm in the US even though my IP address isn't?

[huh, it seems to have done it automatically. we'll see if it sticks for tomorrow!]