Strike_Eagle
Registered User.
- Local time
- Yesterday, 21:07
- Joined
- Oct 20, 2011
- Messages
- 48
Hello everyone, I am having a little trouble getting a VBA SQL statement to fill out a form that is already premade.
The goal is to make the user interface with a sereis of boxes and controls to modify a record, or records, after data has been entered. So I created a sub-form entitled "Discussion Select Form" that works just fine.
When I click my "Retrieve Information" button, I want it to fill in the appropriate boxes for the dynamic VBA SQL statement that were selected. There will be blank, null, boxes because records of one type may or may not have related records. Unfortunately, my relations are correct under the Database Tools Relations, as you can have one record that could have mis-matched sub-parts
I have chunked this, and only working on the first element, 'customer service' so that I can get the form working, then I will add all of the other variables.
A datasheet to display all of the records that the statement provides would be good, because then you could select each record for the statement. I do not know how to add this feature. There is practically no visual polish on this, as I can fix that out once I get it to work properly.
The goal is to have one form do it all and to limit the number of saved queries. I am primarily a Java developer, ametuer to that even, so I apologize for my horrific code.
Thanks everyone, as I know you are busy and have provided others and myself with awesome information to help them learn the information themselves.
The goal is to make the user interface with a sereis of boxes and controls to modify a record, or records, after data has been entered. So I created a sub-form entitled "Discussion Select Form" that works just fine.
When I click my "Retrieve Information" button, I want it to fill in the appropriate boxes for the dynamic VBA SQL statement that were selected. There will be blank, null, boxes because records of one type may or may not have related records. Unfortunately, my relations are correct under the Database Tools Relations, as you can have one record that could have mis-matched sub-parts
I have chunked this, and only working on the first element, 'customer service' so that I can get the form working, then I will add all of the other variables.
A datasheet to display all of the records that the statement provides would be good, because then you could select each record for the statement. I do not know how to add this feature. There is practically no visual polish on this, as I can fix that out once I get it to work properly.
The goal is to have one form do it all and to limit the number of saved queries. I am primarily a Java developer, ametuer to that even, so I apologize for my horrific code.
Thanks everyone, as I know you are busy and have provided others and myself with awesome information to help them learn the information themselves.