|
-
May 21st, 2001, 06:26 PM
#1
setting a recordset name for access report at run time
I create a table that has its name and data based on user input. For example, if a person selects "shipping" , I might have a table called "shipping". How do I set the recordsource in vb so that the Access report is based on the correct table ?
thanks in advance!!!
-
May 22nd, 2001, 07:13 AM
#2
Re: setting a recordset name for access report at run time
You can create a number of reports based on each table and then use Select case
Select Case txtTableName
Case "Table1"
Call Report1
Case "Table2"
Call Report2
etc...
End Select
If you need to know how to call report from Access, let me know
Iouri Boutchkine
[email protected]
-
May 22nd, 2001, 09:04 AM
#3
Re: setting a recordset name for access report at run time
Thank you Iouri. I guess I can't have one report that uses different tables as input.
Thanks again.
-
May 23rd, 2001, 07:56 AM
#4
Re: setting a recordset name for access report at run time
Rate it if it helped you
Iouri Boutchkine
[email protected]
-
May 23rd, 2001, 09:16 AM
#5
Re: setting a recordset name for access report at run time
Give her some more time: she writed back to let you know. Next time she will discover "rate" combo and button
:-)
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|