Form with Tab Control and OpenArgs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have encountered an interesting problem.
I have a working form using OpenArgs to determine from where the form was
opened so I can set the controls as required.
I need to reconfigure the form to add additional controls and separate the
controls in logical groups. I decided to use a tab control.
I copied the original form, added the tab control, and moved the existing
controls to the appropriate tabs.
Now, although I have traced the code, the new version of the form will not
recognize the OpenArgs - It is Null. I am referencing the OpenArgs in the
Load event.
The original form recongnizes the OpenArgs, the New form with the tab
control does not.
Is there an issue with OpenArgs and a tab control?
 
Never mind, it is working.
I have no idea what I did, but after I posted, I went back to do additional
testing and it started working.
 
Thanks for posting, Doug. I didn't think so. As I posted, it magically
started working. I did nothing, but now it is working as it should.
I HATE COMPUTERS!

But, if it were not for computers, I would have to get a real job :(
 
That's the magic of newsgroups! You know, the standard "As soon as you post
a question, the answer comes to you." <g>
 
yep

And, even though I said I didn't do anything, I can't be sure.
Also from my book "Murphy is an Optimist":

I only changed one line of code and that was a comment!
 
Klatuu said:
yep

And, even though I said I didn't do anything, I can't be sure.
Also from my book "Murphy is an Optimist":

I only changed one line of code and that was a comment!

Was it a rude one? Access can be sensitive, y' know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access OpenArgs in Access 2010 failing 0
OpenArgs yawn yawn 9
Use of OpenArgs 5
Managing many controls on a form in code (Leo asked) 1
Form OpenArgs and ComboBox 2
Form Corruption 2
openargs NOT Working 2
OpenArgs Questions 4

Back
Top