Re: Disable "Save record and enter a new record"
Frank,
You've made a very good point. In this particular case, I'll use the server solution because I don't have to go look up the JavaScript syntax from my Tips and Tricks database...it's right there on the grid builder.
But, as an Alpha developer, I'm finding I need to make a lot more decisions than I had to in the past. As the capabilities increase, it also increases expectations, and that leads to the need for a lot more planning.
In V9 and before, there wasn't much question. It was server side Xbasic. The client side stuff wasn't nearly as developed or as reliable, so it was used very sparingly. So, I could whip out a quick grid or dialog and be satisfied.
Now, there are so many good ways to achieve the same thing, I find myself redoing perfectly good, functioning modules because I've found (or learned to use) another JavaScript event tucked away in the field events, or the row events or the system events that looks faster or prettier, or in some cases, just for the "wow" factor.
I suppose, over time, the preferred way will shake out. I'm the kind of guy who only knows one way to drive to the grocery store, and all this new capability in Alpha (and the requests of my clients who see stuff on this board and want it!) is taking me into new neighborhoods and down a few blind alleys, but also some very rewarding ways.
I don't see any sign that Alpha is going to pause to let us catch our breath!
Pat
Frank,
You've made a very good point. In this particular case, I'll use the server solution because I don't have to go look up the JavaScript syntax from my Tips and Tricks database...it's right there on the grid builder.
But, as an Alpha developer, I'm finding I need to make a lot more decisions than I had to in the past. As the capabilities increase, it also increases expectations, and that leads to the need for a lot more planning.
In V9 and before, there wasn't much question. It was server side Xbasic. The client side stuff wasn't nearly as developed or as reliable, so it was used very sparingly. So, I could whip out a quick grid or dialog and be satisfied.
Now, there are so many good ways to achieve the same thing, I find myself redoing perfectly good, functioning modules because I've found (or learned to use) another JavaScript event tucked away in the field events, or the row events or the system events that looks faster or prettier, or in some cases, just for the "wow" factor.
I suppose, over time, the preferred way will shake out. I'm the kind of guy who only knows one way to drive to the grocery store, and all this new capability in Alpha (and the requests of my clients who see stuff on this board and want it!) is taking me into new neighborhoods and down a few blind alleys, but also some very rewarding ways.
I don't see any sign that Alpha is going to pause to let us catch our breath!
Pat
Comment