Jack Hammmer
Database n00b
- Local time
- Today, 23:20
- Joined
- May 9, 2009
- Messages
- 7
I have a form in which I require a button to save information such as:
Customer ID (General Number) (Text Box)
Services ID (Autonumber) (List Box - qry_Services)
Service (Text) (List Box - qry_Services)
Description (Text) (List Box - qry_Services)
Price (Currency) (List Box - qry_Services)
Date of Purchase (Short Date (=Now())) (Text Box)
Purchased (Query) (List Box - qry_Services_Customer)
To a table (tbl_Services) and I am unsure how to do this. I do not have any previous knowledge of VB and very little of SQL; so searching through similar threads confused me as I do not know the syntax or operators.
I also have a list box below the other boxes in the form which displays the services which the customer has bought via the Customer ID: This works well although to update the information one has to close and re-open the form. I was wondering if there was some VB code that could update the information for me and if so where would I enter it?
I apologise as I am unaccustom to Access and require this for a college project. I would like a button that simultaniously saves the fields in the form to the specified table and the updates the List Box.
Thanks in advance, Jack.
If anybody requires my database for reference (It is not labeled very well) I would happily email it to them as I cannot seem to upload it.
Customer ID (General Number) (Text Box)
Services ID (Autonumber) (List Box - qry_Services)
Service (Text) (List Box - qry_Services)
Description (Text) (List Box - qry_Services)
Price (Currency) (List Box - qry_Services)
Date of Purchase (Short Date (=Now())) (Text Box)
Purchased (Query) (List Box - qry_Services_Customer)
To a table (tbl_Services) and I am unsure how to do this. I do not have any previous knowledge of VB and very little of SQL; so searching through similar threads confused me as I do not know the syntax or operators.
I also have a list box below the other boxes in the form which displays the services which the customer has bought via the Customer ID: This works well although to update the information one has to close and re-open the form. I was wondering if there was some VB code that could update the information for me and if so where would I enter it?
I apologise as I am unaccustom to Access and require this for a college project. I would like a button that simultaniously saves the fields in the form to the specified table and the updates the List Box.
Thanks in advance, Jack.
If anybody requires my database for reference (It is not labeled very well) I would happily email it to them as I cannot seem to upload it.
The Access World Forums database has encountered a problem.