Problem in Updating Subform

lakshman
Member Posts: 44
HI ALL,
i took a text box (itemno),subform and one command button .My Requirement is when i push the Command button ,update the subform with itemno in the text box equals to num in the subform
(temLedgerEntry )
Thanks in Advance:
Lalshman
i took a text box (itemno),subform and one command button .My Requirement is when i push the Command button ,update the subform with itemno in the text box equals to num in the subform
(temLedgerEntry )
Thanks in Advance:
Lalshman
0
Answers
-
Hi Lalshman,
There are lots of posts on this if you search the forums
Here's a link this sample code
http://www.mibuso.com/howtoinfo.asp?FileID=7
Hope this helps
Welcome to Mibuso0 -
Do u mean to say that are you want to change the subform item no. with a number you entered in text box available on the form by clicking button.
create a function in subform that will take textbox code as parameter. then in this function set the value of item no. with that parameters values.
then call this function form main form with textbox value.
finally use currform.update to refresh the form.
hope it helps you.
Regards,Experience Makes Man Perfect....
Rajesh Patel0 -
Hi
I am not clear about u'r requirment .I am tring to solve as my undarstanding .
The text box (itemno) value u store in global variable . Creat a function with parameter ItemNo. call this from the command battun and pass itemno.through the parameter . By this vale update the ILE and in last write currform.update .0 -
Hai Experts,
Actually my friend is trying for this:
We are trying for this reqirement:
We design a form that represents salesorder with header (the header has no source table. In the header form , a TEXT box with lookup property with source table 27.
And for the subform the source table is ILE..
When the form is opened , The ILE should disply all Ledger Entries
In the header , the Item is selectd from the Item table ,
After selecting the Item in the header, and after pressing the Command button the subform should filter .. in the way showing all the ledgers that corresponds to that Item , i,e the ITem selected in the header..0 -
rajpatelbca wrote:Do u mean to say that are you want to change the subform item no. with a number you entered in text box available on the form by clicking button.
create a function in subform that will take textbox code as parameter. then in this function set the value of item no. with that parameters values.
then call this function form main form with textbox value.
finally use currform.update to refresh the form.
hope it helps you.
Regards,
vote.0 -
Hi all,
Thanks for ur advices and replies.I am able to solve my problem with all ur suggestions =D>0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions