Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navigate to next record
Message
From
15/10/2007 08:32:27
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01260934
Message ID:
01260991
Views:
16
Hey Mike.
Things going well. Busy, busy. Haven't seen Dick too much, he's so busy with the ER stuff. I just get to see him in the halls.

Portland has been in really good weather since March. We were just downtown yesterday to be part of the recording of the PBS show "Says You". Great time, a lot of fun.

Now to the question.
Part two of my Purchasing application is to gather all purchasing requisitions for a supervisor to approve, they only see their own cost centers. This application is still in FoxPro 2.6 DOS, and the supervisors can zip right through the approval process with just the page down key, and then the 'Y' key to approve it. Very fast and easy for them.

Since I am moving this application to VB .NET I want to make it simple and fast as well, so when they click on the [Approve this Requisition] button, the code adds their initials, saves it, and then will automatically navigate to the next record.

Since late last night when my brain was finishing up on the Patriots game, and I was was watching Nature, which turns my mind to mush and puts me to sleep more easily, I realized that the grid that displays the record has it's own navigation ability:
'Save record
Me.Save()
Me.grdReqs.NavigateData(mmNavigate.Next)
So problem solved, almost. If there wasn't a grid on the form I'd like to still do the same thing, and navigate to the next record.

By the way, the Mere Mortals Framework is a thing of excellence. Once the, for me, three years of learning curve has gone by, I'm still trying to do things that aren't available and that I can't find in the manual. VB .NET and a sixty-five year old brain just don't go hand in hand, especially after doing FoxPro since 1987.

Next time you visit, give me a call. I just noticed yesterday the Greek restaurant turned into a Japanese restaurant.

I would still like the code to move to the next record.
CU
Previous
Reply
Map
View

Click here to load this message in the networking platform