msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with a Form

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
ByB



Joined: 04 Oct 2007
Posts: 3

PostPosted: Fri Aug 17, 2007 3:09 am    Post subject: Problem with a Form Reply with quote

Hello,

I am a newbie in VBA, so I'll try to explain my problem :

I have to modify an application which is written in VBA (Access).
There is a form with displays several rows of data obtained from a SQL
Server database.

For that purpose, the form is made of three parts (header, footer, and
the middle part). The middle part shows only one row of controls in
"Creation mode" , but it replicates itself several times when the app
is running, so it can show up to 8 lines of data. It's obviously a
"dynamic" form.

I tried to add one control (a listbox) in "Creation mode" at the end of
the row. When the application is running, I get a listbox at the end of
each 8 rows, but when I try to to select a value in one of the
listboxes, all the listboxes of the form select the same value !

What I really need is that all 8 listboxes are independent from each
other, and that different values can be selected in each of them with
no interference with the others.
Is there some property I need to set to make the listboxes independent
?

I hope my description will make sense, and you'll help me to find a
solution.

Thank you very much for any hint or help !

--
Bleu adj, et n. m. : Qui est d'une couleur voisine du rouge. Fig
Bouch. : un steak bleu ; s'emploie pour designer un steak rouge. Fig.
Mil. : un nouveau : "Faut pas me prendre pour un bleu" (Rackham le
Rouge).

Archived from group: microsoft>public>vb>syntax
Back to top
View user's profile Send private message
Bob Butler



Joined: 04 Oct 2007
Posts: 1081

PostPosted: Thu Aug 16, 2007 6:05 pm    Post subject: Re: Problem with a Form Reply with quote

"ByB" wrote in message @email.com...
> Hello,
>
> I am a newbie in VBA, so I'll try to explain my problem :
>
> I have to modify an application which is written in VBA (Access).

You'd do better finding an Access VBA newsgroup; forms and controls in
Access are quite different than they are in the full VB language which is
the focus of this group
Back to top
View user's profile Send private message
Argusy



Joined: 04 Oct 2007
Posts: 105

PostPosted: Sat Aug 18, 2007 12:41 am    Post subject: Re: Problem with a Form Reply with quote

Bob Butler wrote:
> "ByB" wrote in message
> @email.com...
>
>> Hello,
>>
>> I am a newbie in VBA, so I'll try to explain my problem :
>>
>> I have to modify an application which is written in VBA (Access).
>
>
> You'd do better finding an Access VBA newsgroup; forms and controls in
> Access are quite different than they are in the full VB language which
> is the focus of this group
>
>

Ahhh.....
Would you call your reply a pre-emptive Strike!!
'Bout three minutes before ByB sent his two posts? (bg)

Argusy

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group