tina hayes
Registered User.
- Local time
- Today, 12:53
- Joined
- Jul 28, 2004
- Messages
- 37
i have a page on a main form on this form there is many textfields all stored in
the same table. a set of textfirldswere named telenumber 1 through to 8, thesetexfields are linked to hundreds of friends, and i wanted to beable to put a searchfacility in so that i could serach for the telephhone number of a friend. and it would opulate the the other textfields on the main form. i was thinking that if a have a Command button named search and when you clicked it it opened up with a new form.
On the form had the same textfields telenumber 1through to 8. if i entered the number in to one of those fields and i would have a command button that would be named something like continue.
i know that the coding should go something like this but how i am not sure
sub on_click continue button
selected the field that has a value "not NUll" (the one out of the 8)
Find vaule in table
Populate main form
could someone help me with the actual coding please or am i just making
things far to complicated than needed.
i hope i have explained things well enough for you all to understand what i am trying to do
you help would be much appreciated
the same table. a set of textfirldswere named telenumber 1 through to 8, thesetexfields are linked to hundreds of friends, and i wanted to beable to put a searchfacility in so that i could serach for the telephhone number of a friend. and it would opulate the the other textfields on the main form. i was thinking that if a have a Command button named search and when you clicked it it opened up with a new form.
On the form had the same textfields telenumber 1through to 8. if i entered the number in to one of those fields and i would have a command button that would be named something like continue.
i know that the coding should go something like this but how i am not sure
sub on_click continue button
selected the field that has a value "not NUll" (the one out of the 8)
Find vaule in table
Populate main form
could someone help me with the actual coding please or am i just making
things far to complicated than needed.
i hope i have explained things well enough for you all to understand what i am trying to do
you help would be much appreciated