Re: DataGrid & Invoicing App.
From: Suzette (anon_at_hotmail.com)
Date: 04/28/04
- Next message: Val Mazur: "Re: SET IDENTITY_INSERT tablename ON problem"
- Previous message: Ross McKay: "Re: Sending CLOBs to Oracle using VB/ADO"
- In reply to: Jonathan: "DataGrid & Invoicing App."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 18:32:08 -0700
Hi Jonathan,
It might be easier to have a combobox where the product column is. Create a
combobox and connect it to your items. Set the visible property to false.
When the user enters the product name column, move the combobox to fit the
row that the user is in. Make the combobox visible and set the focus to it.
When the user exits the combobox, put the item in that field. They can then
tab to the quantity field and enter their quantity. It will look much
cleaner that way. That's the way I do any lookup for a datagrid.
Sue
"Jonathan" <jonathan.els@absamail.co.za> wrote in message
news:e5Snj7KLEHA.4032@TK2MSFTNGP10.phx.gbl...
> I am developing an invoicing application, and would like to know the most
> efficient way to add a product selection into a DataGrid. DataGrid only
> displays the following fields : Quantity, Product Name, Unit Price
>
> As the program stands, the user will select the "Add Product" option, and
> another form will come up with a list of all products available. User
> selects product and quantity and adds the product to the invoice.
Selection
> will appear in the datagrid on the invoice form. Can anybody suggest the
> best way of accomplishing this. Any sample apps or code would be
> appreciated.
>
> Regards,
> Jonathan
>
>
>
- Next message: Val Mazur: "Re: SET IDENTITY_INSERT tablename ON problem"
- Previous message: Ross McKay: "Re: Sending CLOBs to Oracle using VB/ADO"
- In reply to: Jonathan: "DataGrid & Invoicing App."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|