Hello,
during a sql consult i want to "force" continous forms,or datasheet forms, with resulted values ...is it possible???
my form has no RecordSource, i want the values returned by my select...
t.y.
my problem is that i want to show in one form information from different tables(but all table are related,linked...), i'd like to show as one table,and so user filter the information viewed...
i go try something like hermanlaksko said.
but if anyone have other ideas, pleeeeease.
t.y.
You can create the select string via queries in access, then you have the correct answer goto SQL in queries this will give you the string you need for your recordsource.
Rgds
Herman
ok, but now other problem, I have 4 querys....
how can i give form recordsource in runtime(using event OnOpen,ok, but how access querys maded????)
thanks herman, you are being(said being....) a great help.
If your form is made up from 4 queries then this form must have a recordsource, take this for your select.
I am not quite sure what the 4Qs are for the form, comboboxes ??Let me know
no, is not for comboboxes,is to have the information to textboxes , but they will repeat(continous form) info in same cases:
Op Day Mld Pc Opc Mq (header)
Miguel 05-09 D100 aaa zzz qwqw (detail)
Miguel 05-09 D100 aaa zzz asas
Miguel 05-09 D100 aaa xxx asas
Miguel 05-09 D100 bbb xxx asas
so, the way i did table organization, i need 4Qs, ok Qs done,the 4 Qs return all 6 wright columns, and i want to show the 4 results together(simulate one table).......
its possible to give to a form 4 different recordsources?and how access to Qs?? if i want to access a value of other form i make: Me.MyField.Value=Form_other.Other.Value .....
t.y.
You can do it that way via a Dlookup, but I must admid that I would have done the following - If I have understood you correctly.
In tbl 1 I would have PersonID, Name, etc, in tbl2 I would have ID, PersonID (link to tbl1), Date, Pc, opc. etc.
In doing this I would have the poss to, via a main/sub(continus form) to display the info on a person (combo) and if I like I could add 2 fields date from/to to limit the amount af data shown.
As your data is now you would have to use the dlookup-model, but this is slow.
If you like you can drop the mdb (as a zip) in my mailbox and I will iron the thing a bit for you ;-)
tek-tip@wfbutik.dk
i'm on testings and my db has 8mb...sending in mail...
i'm using one form with 4 subforms, where each one have each different recordsource(each qry).
thanks anyway,
good luck and be happy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.