Filter list of customers then create new record

Hi, new to java/servoy.

Basically I have two tables called customers and JobNum.

I would like a form with a list of customers and a search box on which I can filter the list of customers.

Then when I click the filtered customer, it grabs the customer name and customer id in serparate boxes on the form and stores this in variables.

Then I would like a create button and when clicked, it creates a new record in jobnum table with the customer name and customer id I just clicked.
It must also use an auto number so no jobnum record id is the same.

I know what I want it to do but I have no idea how to do this.

Any advice or guidance will be much appreciated.

thanks

I too am relatively new to Servoy, but here is my 2 cents.

The answer to the question you are asking touches on a myriad of servoy concepts so a quick and easy answer really isn’t possible. I started typing a brief synopsis, but quickly stopped as there is too much ground to cover in a quick bullet list. The synopsis woud list other areas that would all require their own explanation to someone new to Servoy. What I am doing to learn Servoy is studying the example solutions, studying the wiki, reviewing all the available webinars, and pouring through this forum. I feel like at this point i have a good base understanding of how Servoy works, but still feel like I am at the advanced-beginner level (my term). I have been working with servoy off and on for a about year and half, but only focusing on it full time for about the last 6-7 months.

I have decided to work with some seasoned servoy developers to accelerate the learning/developing process. I know I could figure it out on my own eventually (the operative work being eventually) but I don’t want to use up that kind of time and try and reinvent the wheel, so to speak. To me, it is better to work with someone an hour than spend a week figuring it out on my own.

To save yourself alot of frustration and headache, I would suggest doing something similar. The best way would be formal training and while I don’t have a handy list, I woould think servoy itself would point you in the right direction, or if you want others can post here that are offering training services.

There is also ServoyU, though I have not used it personally - I am only aware of it. http://www.servoyuniversity.com/

I know this isn’t directly the answer you are looking for, but I know as a beginner I would rather have someone at least answer my post. :D

Good Luck.

Hi Danny,

Well, here’s a couple of thoughts.

First, on your particular project. Yes, you can certainly do what you’re thinking, if I’m reading it correctly. And there is more than one way to do it, depending on how you want your UI (user interface) to operate. And beyond that, it’s hard to really provide any specific examples without knowing more. For example, are the 2 tables related to each other? If so, that could make creation of new records fairly simple, depending, of course, on what you want to do.

I think that it’d be worthwhile for you to take a look at examples of how Servoy can display data, as well as how relations can be used to simplify operations. Maybe, take a look in the Servoy Wiki for “Working with Data”. That might tell you a lot of what you need to know.

There are resources that you can use to learn more about Servoy. Now, here we enter the land of personal opinion, so take some of this with a grain of salt. There is a Servoy Beginner’s Guide. It’s not very expensive, and although it’s getting a bit dated, it has a lot of very good “starter” information in it. If I were Servoy, I’d have the author on contract to keep it up to date, and hand it out to every new Servoy developer. It’s that helpful if you’re just getting started. Servoy offers training of their own. I’ve taken the “Servoy 101” class and found it really helpful. As you’ve probably found, there are Servoy consultants around who can be hired to assist you in the learning curve. I found Servoy University to be very helpful when I was getting started. For a little bitty company like, well, “me”, I find it hard to afford year after year, but if I had the budget, I would have kept it around for another year, at least. There is the Servoy Wiki. Now, I personally think that the Servoy wiki can be really helpful if you already know Servoy. I’m kind of “eh” on it as a learning tool the way it’s currently written, but they are working on it, and it is getting better and better. It’s better now than it was 2 years ago when I was getting started, and in some places, quite a bit better. Some of that opinion may just be because I’m better at finding things now than I was before, of course. The forum can be very helpful as well. It kind of depends. Some questions get no responses at all; some get lots of responses; some get responses from actual Servoy folk. There are also the presentations from Servoy World and Webinars on a variety of topics. There are a couple of blogs out there that I’ve found just by Googling particular things, but I’m not sure if they are really that active. And you have the example solutions that come with the installation. Lastly, my agreement with Servoy includes, while my product is in development, access to one of their folk once a week or so. That’s probably more valuable than all of this other stuff at this point.

Now, here’s the thing. Servoy, I think, sort of assumes that you already know Javascript and a product like Filemaker (which is where some of the Servoy folks came from, I think). Without that, the learning curve is pretty steep, but doable. You don’t have anything like the wealth of resources that developers have in the Microsoft world. I worked in that world for a long time, and there, you can find a book that has an example of just about anything you can think of doing. Not so with Servoy. If there is, I haven’t found it yet. Geography becomes a challenge. If you want training in the U.S., you are mostly likely going to have to go their California offices to get it. I think it’d be cool if they could do the training via something like GoToMeeting. ServoyWorld sounds like it covers a lot of good ground, but if you’re a little startup, who can afford to go to Europe for it? Maybe if my product was in production and doing well, I’d be saying “pooh, its just a couple of grand. Let’s go!”, but that’s not where I am right now. I am convinced at this point that Servoy is the right platform for where I want my product to go. That doesn’t mean it’s easy, but I can say that I get more comfortable with it all the time. Things that were foreign to me last year are things I fly through now.

So, stick with it. I don’t know what your particular situation is, but help is out there. But, understand that it takes time to absorb what Servoy can do, and how to do it.

Ron

Thanks Ron, that was a pleasure to read. :wink:

Also every two years we organize ServoyCamp, specially for the Servoy developer community, ton’s of things to learn there, also for the beginner.

We have tons of video’s here: (you have to register first!)

http://www.servoycamp.com/conference-in … -2011.html

http://www.servoycamp.com/conference-in … -2009.html

Thanks, Harjo.

I registered on the ServoyCamp website, and of course, the first thing I had to watch was Johan destroying his iMac :-).

Good information there as well. Looks like information there kind of peaks when there is a ServoyCamp coming. That about right? I’ll look forward to the next on one of those.

Have a good day.

Ron

yeah, Johan, smashing a MAC was big fun! :wink:
We are already busy planning/organizing the next ServoyCamp for 2013! :D

RonG:
The forum can be very helpful as well. It kind of depends. Some questions get no responses at all; some get lots of responses; some get responses from actual Servoy folk.

It also depends on the question. A vague question will probably not have much answers, at the very best (like here) it will open a debate but nothing concrete.
But sometimes when you browse through the posts you might have an answer off the top of your head that doesn’t take too much of your time answering.
Sometimes the question offers a nice challenge or is something you want to check for yourself, and then you might want to post your findings…
In the end it’s also a question of personal time.

RonG:
I think it’d be cool if they could do the training via something like GoToMeeting

Some consultants out there (like people in ServoyForge) are doing these kinds of trainings remotely.
I know I do using Skype, TeamViewer, GoToMeeting, and I’ve been able to help people as far as Australia (being in Canada that’s just the other end of the planet) building their solutions…
I specialize in advanced stuff and java challenges myself, but I’m not the only one either.
Sending a PM to people who are answering your questions on the forum might also be a way to find out if they are able to help you with private sessions.

Anyway, I agree with you Ron, the documentation is sparse (althought it’s better than it was a few years ago where the wiki didn’t even exist!).
The best way is to dig into it, try all the samples, build your own, try everything you can think of, ask questions, get some training if possible.
Like any environment, it takes time to master and be productive with, anyone telling you otherwise is lying.
But once you start getting the hang of it, you soon realize that you can do a lot :)

Hi Patrick,

Yep, I agree on the forum. I put a question out there the other day about programatically scrolling a list that generated 0 responses. I eventually found a thread from 2009 on the same topic, and that one came up with the same solution that I did, although mine isn’t working consistently, but that just tells me that I’ve got some debugging to do :-)

Good suggestions in there for getting further help. Thanks.

Hope things are going well for you up in Montreal. I’ve only been there once, and boy, that’s about 30 years ago now, but we did enjoy our visit.

Have a good day.

OH, and DANNY? “Code complete” is your friend :-)

Ron