T
tbl
In this situation, I could have made nested subforms, but
that doesn't seem as clean to me as a "standard"
form/subform pair with a linked (popup) form fired from a
command button on the subform.
I really don't have the skills I should have to do this, so
I did this:
I created the form subform, and popup form. Then, to the
subform, I added the command button as the last item in each
row (continuous form; this isn't exactly the cleanest
approach either, but I'm working with limited neurons,
here).
Assuming that the built-in form wizard would be a safer bet
than my own conjurings, I used the wizard to make a pair of
dummy, linked forms, to use as code samples. Then I copied
all of their code to my real forms, and substituted the
proper (I think) object names to finish off the task.
These are intended to be data-entry/edit forms, so when I
click on the button in the subform to load and display the
popup, I'd like to be able to add new records in the popup,
*or* be able to view/edit existing, related links.
After two days of "try this", I'm pretty well out of the fun
zone.
It seems that the filter just isn't working: if the current
subform record doesn't already have an associated popup
record, when I click the button on that row, the popup
displays whatever the first record is in that table, even
tho the Id's don't match. Immediately switching to design
view (popup), the properties show no filter info. I've
studied the filter code 'till I'm no longer able to remember
my favorite swear words, but can't seem to get lucky.
If anyone more lucid would care to chip in, it just might
save me from a visit to the luny bin.
that doesn't seem as clean to me as a "standard"
form/subform pair with a linked (popup) form fired from a
command button on the subform.
I really don't have the skills I should have to do this, so
I did this:
I created the form subform, and popup form. Then, to the
subform, I added the command button as the last item in each
row (continuous form; this isn't exactly the cleanest
approach either, but I'm working with limited neurons,
here).
Assuming that the built-in form wizard would be a safer bet
than my own conjurings, I used the wizard to make a pair of
dummy, linked forms, to use as code samples. Then I copied
all of their code to my real forms, and substituted the
proper (I think) object names to finish off the task.
These are intended to be data-entry/edit forms, so when I
click on the button in the subform to load and display the
popup, I'd like to be able to add new records in the popup,
*or* be able to view/edit existing, related links.
After two days of "try this", I'm pretty well out of the fun
zone.
It seems that the filter just isn't working: if the current
subform record doesn't already have an associated popup
record, when I click the button on that row, the popup
displays whatever the first record is in that table, even
tho the Id's don't match. Immediately switching to design
view (popup), the properties show no filter info. I've
studied the filter code 'till I'm no longer able to remember
my favorite swear words, but can't seem to get lucky.
If anyone more lucid would care to chip in, it just might
save me from a visit to the luny bin.