Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a Textbox to a query 1

Status
Not open for further replies.

Xenocide

Programmer
Jan 20, 2005
76
CA
Hi

I'm trying to make a query that will go take some information in a textbox and a combobox in a form

Here's my string

INSERT INTO [C:\Documents and Settings\schiasson\Bureau\Stuff\BDTest].Depense ( Maitre, Depense )
SELECT Formulaire1.cbo1.value AS Expr1,Formulaire1.txt2.value AS Expr2;

it's not working. I tried a few thing but I can't find the way to make it work.

Most of the time new window pop up asking for the information. That's not what I want

Thanks for yur help
 
INSERT INTO ...
VALUES ([Forms]![Formulaire1]!cbo1,[Forms]![Formulaire1]!txt2)

Obviously Formulaire1 must be an opened main form when this append query is launched.
Bonne chance.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top