Форум программистов
 

Восстановите пароль или Зарегистрируйтесь на форуме, о проблемах и с заказом рекламы пишите сюда - alarforum@yandex.ru, проверяйте папку спам!

Вернуться   Форум программистов > Microsoft Office и VBA программирование > Microsoft Office Access
Регистрация

Восстановить пароль
Повторная активизация e-mail

Купить рекламу на форуме - 42 тыс руб за месяц

Ответ
 
Опции темы Поиск в этой теме
Старый 12.01.2009, 22:16   #1
demonic
Пользователь
 
Регистрация: 12.01.2009
Сообщений: 12
Восклицание как найти предыдущее зачение

Помогите пожалуйста. В выложенном файле мне нужно создать запрос на получение разницы между последним и предпоследним показанием, учитывая, что занесение показаний происходит вразнобой.
Заранее спасибо.
Вложения
Тип файла: rar база.rar (11.1 Кб, 8 просмотров)
demonic вне форума Ответить с цитированием
Старый 13.01.2009, 12:42   #2
b00s
Форумчанин
 
Регистрация: 19.01.2008
Сообщений: 120
По умолчанию

выложите базу в формате *.mdb
b00s вне форума Ответить с цитированием
Старый 13.01.2009, 13:00   #3
b00s
Форумчанин
 
Регистрация: 19.01.2008
Сообщений: 120
По умолчанию

SELECT Last([Имя столбца])-(Last([Имя столбца])-1)
FROM Имя таблицы
b00s вне форума Ответить с цитированием
Старый 13.01.2009, 20:14   #4
demonic
Пользователь
 
Регистрация: 12.01.2009
Сообщений: 12
По умолчанию

Функция Last находит последнее по записи значение, а надо последнее по содержимому.
Файл в формате *.mdb
Вложения
Тип файла: rar 111111111.rar (9.5 Кб, 11 просмотров)
demonic вне форума Ответить с цитированием
Старый 13.01.2009, 22:09   #5
Serge_Bliznykov
Старожил
 
Регистрация: 09.01.2008
Сообщений: 26,238
Лампочка

Достаточно сложно получилось...
но, вроде работает!

вопросы будут - задавайте...

p.s. при учёте расхода нужно ещё не забывать, что счётчик может через ноль перекрутиться...
Вложения
Тип файла: rar zaporsy.rar (13.8 Кб, 28 просмотров)
Serge_Bliznykov вне форума Ответить с цитированием
Старый 14.01.2009, 22:01   #6
demonic
Пользователь
 
Регистрация: 12.01.2009
Сообщений: 12
По умолчанию

Огромное спасибо.
demonic вне форума Ответить с цитированием
Старый 09.02.2009, 17:37   #7
Qiuene33
Заблокирован
 
Регистрация: 02.02.2009
Сообщений: 4
Вопрос reinvested earnings

Still living from pay to pay? Or envying those great wealth accumulators and wondering how they did it? Every month you make a resolution of saving some dollars from your paycheck, but only end up breaking it. Looking for some magic formula for saving money?Well, there’s no magic formula—only some simple rules to be followed with determination and persistence.Have you ever taken consumer credit—the credit used for personal finance? If not, then that’s where you’re lacking. Those wealth grabbers, who are the subject of your envy, have smartly used the borrowed maple story mesos money and became rich. They didn’t hesitate in taking credit, and considered it as a valuable financial asset.Credit is not something bad. On the contrary, it makes your life convenient and prevents you from falling in a tight spot. Yes, I know that your goal is to be a financially secure individual. We all have wow power leveling the same goal, don’t we? Despite harboring such strong goals, many of us are scraping every month, with no money left to fall back up on at the end.I don’t intend to entangle you in the intricacies of finance, but want to present before you, some simple rules that would help in saving some dough. But promise me that you’ll put them to practice regularly. wow power leveling Though it takes some time—years maybe—to get the full results, yet the trick lies in perseverance.Spruce your knowledge—get smart! I’m not telling you to glue your eyes to the television watching the stock market or enrolling for a finance degree. What I want you to do is arm yourself with the basics archlord gold of the market so that you don’t make wrong decisions that cost you money. Intelligent decisions are the key towards a flourishing Business.Patience pays! Unless you win a lottery, don’t think of getting rich overnight. But with time you can certainly think of owning bundles of those crispy dollars. So start saving your money as soon as buy archlord gold possible. Let compounding interest bestow you with its benefits. I hope you know about compound interest—it is the reinvestment of your already invested earnings. However, don’t lose heart when you find your first reinvested earnings to be a petty amount. Initially, they are small, but over the years you’ll watch them magnify.
Qiuene33 вне форума Ответить с цитированием
Ответ


Купить рекламу на форуме - 42 тыс руб за месяц

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
как отсортировать массив под данный отрезок и как минимум и максимум из него найти SIEGER Паскаль, Turbo Pascal, PascalABC.NET 1 20.11.2008 08:58
запомнить предыдущее значение StasSv Microsoft Office Excel 1 10.11.2008 08:47
Как найти работу? Lika Свободное общение 7 15.12.2007 16:20
Предыдущее активное окно martinz Win Api 3 25.11.2007 15:02
как найти данные в диапазоне Tanya2007 Microsoft Office Excel 2 20.11.2007 19:33