Solved

grids

Posted on 1998-08-27
3
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

751 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