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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make access form

Status
Not open for further replies.

earlrainer

Programmer
Mar 1, 2002
170
0
0
IN
hi ,

i have a table called members. it has two fields name and date of birth.
I want to make a access form which outputs the data from the table to a text file.

how can i do that.

thanks
 
Create a form that uses the table called members. Then Create an append query that uses the query from the form . Create a button on the form that runs the append query and appends the information into another table which has those fields as text.
 
Easiest thing to do is to create a macro to output the file, and then assign the macro to a button on your form.
[tt]
[ol]
[li]Create a new macro[/li]
[li]in the Action field, select "OutputTo"[/li]
[li]In the lower pain, fill int the:[/li]
[ul]
[li]OBJECT TYPE = Table[/li]
[li]OBJECT NAME = "the name of your table"[/li]
[li]OUTPUT FORMAT = Text Files (*.txt)[/li]
[li]Other Fields are optional[/li]
[/ul]
[li]Save the macro[/li]
[li]Assign macro to a button on your form[/li]
[/ol]
[/tt]
That should do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top