Babycat
Member
- Local time
- Today, 06:52
- Joined
- Mar 31, 2020
- Messages
- 281
Hi all.
I have forms A1, A2, A3... that contains subforms, and on these subforms I have textbox named Txt_ProductName
It could be located at:
"Forms!FrmA1.Form.Level1subA1.Form.Level2subA1.Txt_ProductName" (I assigned this string to Arg_str1)
or
"Forms!FrmA2.Txt_ProductName (assigned to Arg_str2)
On event Doulble click Txt_ProductName, it opens formB with OpenArgs Arg_str1 or Arg_str2. The FormB finds desired ProductName and fill back to Txt_ProductName on corresponding forms.
The question is: How to fill the ProductName back Txt_ProductName with infomation from form's OpenArgs string?
(I dont want to manually manipulate like: Forms!FrmA1.Form.Level1subA1.Form.Level2subA1.Txt_ProductName = ProductName
but I want something likely Magic(Arg_str1) = ProductName.
Please help me.
I have forms A1, A2, A3... that contains subforms, and on these subforms I have textbox named Txt_ProductName
It could be located at:
"Forms!FrmA1.Form.Level1subA1.Form.Level2subA1.Txt_ProductName" (I assigned this string to Arg_str1)
or
"Forms!FrmA2.Txt_ProductName (assigned to Arg_str2)
On event Doulble click Txt_ProductName, it opens formB with OpenArgs Arg_str1 or Arg_str2. The FormB finds desired ProductName and fill back to Txt_ProductName on corresponding forms.
The question is: How to fill the ProductName back Txt_ProductName with infomation from form's OpenArgs string?
(I dont want to manually manipulate like: Forms!FrmA1.Form.Level1subA1.Form.Level2subA1.Txt_ProductName = ProductName
but I want something likely Magic(Arg_str1) = ProductName.
Please help me.