Connecting Tech Pros Worldwide Help | Site Map

Need to change the table for bounded Forms !!

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 2nd, 2008, 06:25 PM
agarwasa2008@gmail.com
Guest
 
Posts: n/a
Default Need to change the table for bounded Forms !!

Hi,

I have a linked table called tbltest and some bounded forms (which
add, update, delete records) that were created using that linked
table. For some necessary reasons I had to create another linked table
called tblComponents and then I bounded the original forms to this new
table. I did change the

control source: Description (Field name)
RowSource Type: Table/Query (which remains the same)
Row Source: Select Distinct [tblComponents].[Description] from
tblComponents where ((([tblComponents].[Description] is not Null));

Basically for the RowSource I changed the tbltest to tblComponents.
But now when I run the form it gives the following error:

THe Microsoft Jet database engine cannot find the input table or query
'tbltest'. Make sure it exists and that its name is spelled correctly.

The bounded forms control were created using the wizard. Is there a
way to fix this problem without creating the form with the various
controls again from scratch.

Thanks for any fixes/ideas.

SA

  #2  
Old July 2nd, 2008, 06:35 PM
agarwasa2008@gmail.com
Guest
 
Posts: n/a
Default Re: Need to change the table for bounded Forms !!

On Jul 2, 11:16*am, agarwasa2...@gmail.com wrote:
Quote:
Hi,
>
I have a linked table called tbltest and some bounded forms (which
add, update, delete records) *that were created using that linked
table. For some necessary reasons I had to create another linked table
called tblComponents and then I bounded the original forms to this new
table. I did change the
>
control source: Description (Field name)
RowSource Type: Table/Query (which remains the same)
Row Source: Select Distinct [tblComponents].[Description] from
tblComponents where ((([tblComponents].[Description] is not Null));
>
Basically for the RowSource I changed the tbltest to tblComponents.
But now when I run the form it gives the following error:
>
THe Microsoft Jet database engine cannot find the input table or query
'tbltest'. Make sure it exists and that its name is spelled correctly.
>
The bounded forms control were created using the wizard. Is there a
way to fix this problem without creating the form with the various
controls again from scratch.
>
Thanks for any fixes/ideas.
>
SA
I forgot to add that all the bounded controls are combo Boxes and also
I would like to make the changes in the properties window rather than
code if possible.

Thanks again,
SA
  #3  
Old July 2nd, 2008, 06:45 PM
Salad
Guest
 
Posts: n/a
Default Re: Need to change the table for bounded Forms !!

agarwasa2008@gmail.com wrote:
Quote:
Hi,
>
I have a linked table called tbltest and some bounded forms (which
add, update, delete records) that were created using that linked
table. For some necessary reasons I had to create another linked table
called tblComponents and then I bounded the original forms to this new
table. I did change the
>
control source: Description (Field name)
RowSource Type: Table/Query (which remains the same)
Row Source: Select Distinct [tblComponents].[Description] from
tblComponents where ((([tblComponents].[Description] is not Null));
>
Basically for the RowSource I changed the tbltest to tblComponents.
But now when I run the form it gives the following error:
>
THe Microsoft Jet database engine cannot find the input table or query
'tbltest'. Make sure it exists and that its name is spelled correctly.
>
The bounded forms control were created using the wizard. Is there a
way to fix this problem without creating the form with the various
controls again from scratch.
>
Thanks for any fixes/ideas.
>
SA
Are you needing to update the Recordsource of the form or the rowsource
of a combo box?

Open up the form in design mode and open the form's property sheet.
Press the Data tab. Click the ... to see if the recordsource uses tblTest.

Freestyler
http://www.youtube.com/watch?v=cFjlB_O1WpI
  #4  
Old July 2nd, 2008, 06:45 PM
agarwasa2008@gmail.com
Guest
 
Posts: n/a
Default Re: Need to change the table for bounded Forms !!

On Jul 2, 11:35*am, Salad <o...@vinegar.comwrote:
Quote:
agarwasa2...@gmail.com wrote:
Quote:
Hi,
>
Quote:
I have a linked table called tbltest and some bounded forms (which
add, update, delete records) *that were created using that linked
table. For some necessary reasons I had to create another linked table
called tblComponents and then I bounded the original forms to this new
table. I did change the
>
Quote:
control source: Description (Field name)
RowSource Type: Table/Query (which remains the same)
Row Source: Select Distinct [tblComponents].[Description] from
tblComponents where ((([tblComponents].[Description] is not Null));
>
Quote:
Basically for the RowSource I changed the tbltest to tblComponents.
But now when I run the form it gives the following error:
>
Quote:
THe Microsoft Jet database engine cannot find the input table or query
'tbltest'. Make sure it exists and that its name is spelled correctly.
>
Quote:
The bounded forms control were created using the wizard. Is there a
way to fix this problem without creating the form with the various
controls again from scratch.
>
Quote:
Thanks for any fixes/ideas.
>
Quote:
SA
>
Are you needing to update the Recordsource of the form or the rowsource
of a combo box?
>
Open up the form in design mode and open the form's property sheet.
Press the Data tab. *Click the ... to see if the recordsource uses tblTest.
>
Freestylerhttp://www.youtube.com/watch?v=cFjlB_O1WpI- Hide quoted text -
>
- Show quoted text -
You are right. I need to change the recordSource but I do not see that
property name in the data tab.
  #5  
Old July 2nd, 2008, 06:45 PM
Salad
Guest
 
Posts: n/a
Default Re: Need to change the table for bounded Forms !!

agarwasa2008@gmail.com wrote:
Quote:
On Jul 2, 11:35 am, Salad <o...@vinegar.comwrote:
>
Quote:
>>agarwasa2...@gmail.com wrote:
>>
Quote:
>>>Hi,
>>
Quote:
>>>I have a linked table called tbltest and some bounded forms (which
>>>add, update, delete records) that were created using that linked
>>>table. For some necessary reasons I had to create another linked table
>>>called tblComponents and then I bounded the original forms to this new
>>>table. I did change the
>>
Quote:
>>>control source: Description (Field name)
>>>RowSource Type: Table/Query (which remains the same)
>>>Row Source: Select Distinct [tblComponents].[Description] from
>>>tblComponents where ((([tblComponents].[Description] is not Null));
>>
Quote:
>>>Basically for the RowSource I changed the tbltest to tblComponents.
>>>But now when I run the form it gives the following error:
>>
Quote:
>>>THe Microsoft Jet database engine cannot find the input table or query
>>>'tbltest'. Make sure it exists and that its name is spelled correctly.
>>
Quote:
>>>The bounded forms control were created using the wizard. Is there a
>>>way to fix this problem without creating the form with the various
>>>controls again from scratch.
>>
Quote:
>>>Thanks for any fixes/ideas.
>>
Quote:
>>>SA
>>
>>Are you needing to update the Recordsource of the form or the rowsource
>>of a combo box?
>>
>>Open up the form in design mode and open the form's property sheet.
>>Press the Data tab. Click the ... to see if the recordsource uses tblTest.
>>
>>Freestylerhttp://www.youtube.com/watch?v=cFjlB_O1WpI- Hide quoted text -
>>
>>- Show quoted text -
>
>
You are right. I need to change the recordSource but I do not see that
property name in the data tab.
The form has a property sheet. The controls; combos, listbox, textbox,
labels...they have a property sheet as well. The recordsource is the
recordset associated with the entire form. So if the form's
recordsource is using an invalid table, you need to open the property
sheet of the form. Open up the propertysheet for anything and press on
the square box in the upper left hand corner of the form window to get it.

I'm a bit confused with your question. A combo box is good for lookups
and storing some to a field in the table.

  #6  
Old July 2nd, 2008, 06:55 PM
agarwasa2008@gmail.com
Guest
 
Posts: n/a
Default Re: Need to change the table for bounded Forms !!

On Jul 2, 11:43*am, Salad <o...@vinegar.comwrote:
Quote:
agarwasa2...@gmail.com wrote:
Quote:
On Jul 2, 11:35 am, Salad <o...@vinegar.comwrote:
>
Quote:
Quote:
>agarwasa2...@gmail.com wrote:
>
Quote:
Quote:
>>Hi,
>
Quote:
Quote:
>>I have a linked table called tbltest and some bounded forms (which
>>add, update, delete records) *that were created using that linked
>>table. For some necessary reasons I had to create another linked table
>>called tblComponents and then I bounded the original forms to this new
>>table. I did change the
>
Quote:
Quote:
>>control source: Description (Field name)
>>RowSource Type: Table/Query (which remains the same)
>>Row Source: Select Distinct [tblComponents].[Description] from
>>tblComponents where ((([tblComponents].[Description] is not Null));
>
Quote:
Quote:
>>Basically for the RowSource I changed the tbltest to tblComponents.
>>But now when I run the form it gives the following error:
>
Quote:
Quote:
>>THe Microsoft Jet database engine cannot find the input table or query
>>'tbltest'. Make sure it exists and that its name is spelled correctly.
>
Quote:
Quote:
>>The bounded forms control were created using the wizard. Is there a
>>way to fix this problem without creating the form with the various
>>controls again from scratch.
>
Quote:
Quote:
>>Thanks for any fixes/ideas.
>
Quote:
Quote:
>>SA
>
Quote:
Quote:
>Are you needing to update the Recordsource of the form or the rowsource
>of a combo box?
>
Quote:
Quote:
>Open up the form in design mode and open the form's property sheet.
>Press the Data tab. *Click the ... to see if the recordsource uses tblTest.
>
Quote:
Quote:
>Freestylerhttp://www.youtube.com/watch?v=cFjlB_O1WpI-Hide quoted text-
>
Quote:
Quote:
>- Show quoted text -
>
Quote:
You are right. I need to change the recordSource but I do not see that
property name in the data tab.
>
The form has a property sheet. *The controls; combos, listbox, textbox,
labels...they have a property sheet as well. *The recordsource is the
recordset associated with the entire form. *So if the form's
recordsource is using an invalid table, you need to open the property
sheet of the form. *Open up the propertysheet for anything and press on
the square box in the upper left hand corner of the form window to get it..
>
I'm a bit confused with your question. *A combo box is good for lookups
and storing some to a field in the table.- Hide quoted text -
>
- Show quoted text -
Yes that ought to do it. Thank you very very ..... much. I should have
thought of it too. Regarding your question I am using a combos because
the user can select some values from the existing table or simply add
new ones to this field if needed.

Thanks agin for your help,
SA


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.