Create edit function

V

Vsn

Hi all,

I am wondering how I can create a kind of function like a MsgBox so that I
can call the function which then opens an edit form and at closing the edit
form, send the data back?

Something like this:

Me.txtOne = EditText("Please change text",me.txtOne) ... [Promt,Data] like
with a MsgBox

How should I go about this?

Thx,
Ludovic
 
V

Vsn

Thx Albert, this did help me further.

However I now I found that if I enter an empty textbox, type some text than
double click it (to activate my dialog form) it does not transfer the text.
It will only do so when i first set focus to another object on the form, so
that it seems my text is accepted to the textbox. How could I get this done
with just double clicking the text box?

Thx again,
Ludovic
 
A

Albert D. Kallal

However I now I found that if I enter an empty textbox, type some text
than double click it (to activate my dialog form) it does not transfer the
text.

Well, you better force a disk write then...in you double click code, go

me.Refresh

Then launch the 2nd form...also, is that 2nd form bound, or un-bound?

If the 2nd form is un-bound, then perahps just pass it using openargs...
 

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

Top