Solved

grids

Posted on 1998-08-27
3
254 Views
Last Modified: 2010-04-30
Hello
Imagine that you have an invoice application.
When the user makes the invoice he's going put in the same line the description of the product, the cost, the number of products, the discount, etc.when ge finishes this line he jumps to the next line bellow to make the next product.
The point is. What is the best way to make this.Should I use a grid and the user fills every cell or is it another solution?

thanks
Alberto
0
Comment
Question by:asimoes
3 Comments
 
LVL 14

Accepted Solution

by:
waty earned 100 total points
ID: 1431265
You could use the Microsoft DBGrid and bound to your database. All is done automatically.

Oner another solution is using a classical grid (like Grid32.ocx)
and managing all the entry. To manage the entry, you have to show a textbox (or event a combo box) over the cell you are currently editing. After, you have to manage all the keys, and the save/load to database. I have a project using this option. It lets me more control over what I need. If you want, I can give you some code. Send me an e-mail if you want some code (see my profile)

0
 
LVL 2

Expert Comment

by:gikam
ID: 1431266
I recommend you to use text boxes or other kind of input controls for every field in your invoice and one confirmation button, to add the entry. Is also useful to keep a listbox or grid on your form, in which you can put some important fields of your invoice, so u can edit or delete them later. This way is easier to manage the face of your input form.
0
 
LVL 1

Expert Comment

by:disha
ID: 1431267
Grid is a solution if u want to use bound controls. If u r looking for a unbound control then i would advice..look into 3rd party grid control like Spread or something similiar.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now