Ask a Question related to Microsoft Access, Design and Development.
-
Intoxification #1
Adding data to Combo box
I've made a form with several combo boxes. If the data is not available in
the combo box, the user can hit a commande button which will bring him to
another form (2). This form(2) will enable the user to enter the required
information, which will be stored in a seperate table. After entering this
data, the user returns to the orginal form. But it seems that the new data
is not listed in the combo box, while it's already stored within the table.
I thought this could be solved by adding the following code to the combo
box:
Private Sub gvb_bk_nickname_GotFocus()
Me.Refresh
End Sub
But this didn't work properly. Ok, the combobox contained the new data, but
Access started giving alrert messages telling that alle required fields
haven't been filled in. This is completely normal as the combox is
appearing in the middle of the form. Is there anybody out here who has any
idea how this can be solved. I can do it by changing all the required
fields into non-required, but this would give a program that doesn't fulfill
all the requirements :(
So I should find a way to refresh / update the combobox, without checking
the required fields on the form.
Many thanks,
Hendrik Taveirne
Credit Controller
Glaverbel SA
Brussels
Belgium
Intoxification Guest
-
combo box data binding
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="*"... -
How to display a set of data in a data grid when drivenby a combo box?
I am trying to build a page where the user can select a syle of food (i.e. chinese, italian etc) from a combo. I would then want the relevent... -
Data Dynamically in Combo Box
How to set and display data (from Database) dynamically in Combo box? -
DataGrid - Adding labels: and adding data to cells
I am just getting started with flash scripting. My downfall is trying to get the dynamic output to display in flash. I tried using the list... -
combo box and data
Hello, I have a form with a combo box to look up account numbers,description,route and stop. This works fine. What I need to learn is how to get... -
jmonty #2
Adding data to Combo box
I will assume that there is a command button "OK" or
something similar that the user clicks in order to close
your Form2. For our purposes we'll call it cmdOK on Form2
and your combo box on Form1 we will call combo1 for now.
Try this:
Private Sub cmdOK_Click()
Forms!Form1!combo1.Requery
End Sub
This will refresh this combo box's list values and allow
the user to continue to fill out the rest of the fields.
Hope this is what you were looking for.
is not available in>-----Original Message-----
>I've made a form with several combo boxes. If the datawill bring him to>the combo box, the user can hit a commande button whichenter the required>another form (2). This form(2) will enable the user toAfter entering this>information, which will be stored in a seperate table.that the new data>data, the user returns to the orginal form. But it seemswithin the table.>is not listed in the combo box, while it's already storedcode to the combo>I thought this could be solved by adding the followingcontained the new data, but>box:
>
>Private Sub gvb_bk_nickname_GotFocus()
>Me.Refresh
>End Sub
>
>But this didn't work properly. Ok, the comboboxrequired fields>Access started giving alrert messages telling that allecombox is>haven't been filled in. This is completely normal as theout here who has any>appearing in the middle of the form. Is there anybodythe required>idea how this can be solved. I can do it by changing allthat doesn't fulfill>fields into non-required, but this would give a programwithout checking>all the requirements :(
>So I should find a way to refresh / update the combobox,>the required fields on the form.
>
>Many thanks,
>
>Hendrik Taveirne
>Credit Controller
>Glaverbel SA
>Brussels
>Belgium
>
>
>.
>jmonty Guest
-
Jim #3
Adding data to Combo box
You need to refresh the actual control not the form
Jimis not available in>-----Original Message-----
>I've made a form with several combo boxes. If the datawill bring him to>the combo box, the user can hit a commande button whichenter the required>another form (2). This form(2) will enable the user toAfter entering this>information, which will be stored in a seperate table.that the new data>data, the user returns to the orginal form. But it seemswithin the table.>is not listed in the combo box, while it's already storedcode to the combo>I thought this could be solved by adding the followingcontained the new data, but>box:
>
>Private Sub gvb_bk_nickname_GotFocus()
>Me.Refresh
>End Sub
>
>But this didn't work properly. Ok, the comboboxrequired fields>Access started giving alrert messages telling that allecombox is>haven't been filled in. This is completely normal as theout here who has any>appearing in the middle of the form. Is there anybodythe required>idea how this can be solved. I can do it by changing allthat doesn't fulfill>fields into non-required, but this would give a programwithout checking>all the requirements :(
>So I should find a way to refresh / update the combobox,>the required fields on the form.
>
>Many thanks,
>
>Hendrik Taveirne
>Credit Controller
>Glaverbel SA
>Brussels
>Belgium
>
>
>.
>Jim Guest



Reply With Quote

