|
I tried it but says error in from clause.
I appreciate your help.
|
|
|
|
|
I also tried:
rs2.Open "Select distinct format(SupplierInvoices.Date, 'dd-MMM-yyyy') as tDate, Sum(SupplierInvoices.QTY) as tTotal, format(Sales.Date, 'dd-MMM-yyyy') as sDate, Sum(Sales.QTY) as sTotal from SupplierInvoices, Sales where PLU = '" & lblPLU.Caption & "' and Date Between #" & StartTime & "# and #" & EndTime & "# Group by tDate, sDate;", cn, adOpenKeyset, adLockOptimistic
but it says "the field PLU could refer to more than one...."
|
|
|
|
|
Ah poor Bruno, this weeks lame duck.
Asking a programming question in the Lounge where it clearly states not to.
Doesn't know enough netiquette not the SHOUT.
Having to support a VB6 application more than 20 years after it's EOL.
Using Access as the database
Man you have my sincere sympathies.
The only thing to make that worse would be to be using Crystal Reports as well.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I'm the orphan in the storm, yes!
But hey, I am trying!
|
|
|
|
|
I am using a SSD to hold code and (until Sunday) databases that were attached to the sql instance on my desktop and my laptop. Everything was fine until Sunday night, when I think I did some steps in the wrong order on my desktop regarding detaching/attaching databases. In the process of doing something wrong, I lost all of the database work I had done over the weekend. Half a dozen tables and almost a dozen stored procs - gone - and could not be recovered.
Today, I finished reinventing all the database crap I lost, and implemented a new policy. I create two jobs - one that backs up all the databases (that are not system databases) to the SSD, and one that restores the backed up databases from the SSD. Now all I have to do is remember to run them (and not run the wrong one when I run one).
BTW, my template project is going quite well, and I'm almost ready to make the demo video (hopefully by sometime next week.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Cobian Backup[^] is the absolute bee's knees for the kind of replication you mention.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Won't do the job. You have to use ssms or sql server to backup/restore databases. I'll only be using this as a synchronization vehicle.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Ah, I thought you were just dumping them as blobs. I stand corrected.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Losing work always sucks, but I usually find that the second effort is better than the original. The bonus is the lesson you learned and steps taken to keep it from reoccurring. Sometimes it pays dividends to idiot-proof your own stuff!
"Go forth into the source" - Neal Morse
|
|
|
|
|
I agree - it sucks, but the second is one is usually better than the first.
Accept that one time that I lost a new algorithm and could not recreate the thought process that allowed me to create it in the first place. It was beautiful, it was inspired, efficient and now gone forever.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra
"I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone
|
|
|
|
|
Pierre de Fermat wrote " ...Hanc marginis exiguitas non caperet"
I have discovered a truly marvelous demonstration of this proposition that this margin is too narrow to contain." Couldn't resist.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Well I’m having issues with my reinvention. I feel like I have to say one more time that I hate EF6...
EDIT ===============
It's Friday morning - the afore mentioned issues have been resolved. I am now back to a functioning website and database, and I can finally say that I'm back to where I was on Sunday before I screwed up.
Final observations - EF6 sucks. In point of fact, I'm gonna go out on a limb and claim that ALL ORMs suck.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 5-Apr-19 6:48am.
|
|
|
|
|
|
Can't be a scheduled task. It can't even be a startup task due to the nature of "the way things are" regarding the SSD. I'm sure reading my explanation would take a lot more time than you are willing to invest in reading it.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Over the last two months Google has forced me to change my password for an account I have had from the days when you needed to be invited to have an e-mail account.
They inform me about this via an e-mail which I can not reach because I can not log in
I have all the Google we want to know settings turned off.
I also clear browsing data 10 or so times a day.
The first reason they invoked this algorithm I deleted 10 unread e-mails
I have noticed when I open Google maps my location is 20 to 50 miles off which is OK with me. My ISP is Frontier and I use Cloudflare 1.1.1.1
Short of changing all my contacts to my Proton Mail account and giving Google more information like my phone number or an alternative e-mail address
Do I have a way to stop this hair brained Google behavior?
YES I know the Google account has been pawned
|
|
|
|
|
Choroid wrote: I also clear browsing data 10 or so times a day. Including cookies?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
Seriously?
Well, if you clear your cookies, then you clear your stored passwords and settings, so the fact that your passwords and settings aren't stored shouldn't be too much of a surprise.
Be a bit more discriminative, when cleaning out cookies.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I have no stored passwords and the check box for clearing passwords is un-checked ?
|
|
|
|
|
Look, if you want to use google "services", you have to bow the knee to their absolute right to sh1t all over your personal information agree to let them retain certain information.
If you don't allow this, they will nag the cr@p out of you. That's a fact of life that is only being contested by the EU, so you're either living in the wrong place, or you've got the wrong dream.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark you are so correct
The real killer is they also pulled all my app from the play store that were FREE
because of this and are demanding I resubmit the apps
I guess the reality of the new norm of Google rules is more than my tolerance level
is willing to endure Good thing I do not have a bread knife
Thanks for honest advice
|
|
|
|
|
don't use google.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I am a software developer. used to make Android apps for a couple of years for fun. Had moderate success with a couple of apps and no success with the majority but I can't say all my apps were of the same quality. I did that for a couple of years and money started drying up. I sold my last monetized app and ever since then I haven't been able to make more apps.
for the last 3 years I've started many projects that I didn't complete and when ever i push my self to finish something i get physically sick. My heart starts pumping hard, I get chest pain, pressure around my head. I always put that down to over working since I have a tendency to keep pushing once I start, past silly hours.
I havn't worked on anything for myself for the last 6 months, but now that I am starting again, I cannot sit and work on the project for more than 10 minutes without getting those symptoms again. I feel like I am going to have a heart attack.
Has anyone experienced or info about this condition?
FYI. I can work on my jobs project just fine just not my own.
Any help appreciated. Thanks
|
|
|
|
|
Sounds like you are having a panic attack.
Panic Attack Symptoms | Anxiety and Depression Association of America, ADAA[^]
Quote: A panic attack is the abrupt onset of intense fear or discomfort that reaches a peak within minutes and includes at least four of the following symptoms:
Palpitations, pounding heart, or accelerated heart rate
Sweating
Trembling or shaking
Sensations of shortness of breath or smothering
Feelings of choking
Chest pain or discomfort
Nausea or abdominal distress
Feeling dizzy, unsteady, light-headed, or faint
Chills or heat sensations
Paresthesia (numbness or tingling sensations)
Derealization (feelings of unreality) or depersonalization (being detached from oneself)
Fear of losing control or “going crazy”
Fear of dying
|
|
|
|
|
To be entirely honest I have no real knowledge on such topic. And it sounds really strange too.
From the sound of it, to make an uneducated guess, it could be anxiety attack. Does your home projects makes you anxious?
I know some of them, which have dragged for way too long, do make me anxious...
|
|
|
|