DataBase - Dexterity Scrolling window Lookup button problem!
Asked By swethaher
09-Dec-08 03:39 PM

Hi,
I am creating a new window with a scrolling window.
There are four fields in the scrolling window. 'From Item No:' , 'U Of M',
Qty and 'To Item Number'. The 'From Item No:' and ' To Item No:' fields have
lookup buttons linked.
PROBLEM FACED:
I have two lookups one for 'From Item No:' and one for 'To Item No:'. I am
using 2 different local fields in the scrolling window to store the value
returned by lookup buttons.
When the user selects a 'from item no:' using lookup button. It fills the
From Item No: in scrolling window with the one selected.Also he is able to
enter U of M and QTY in same line. But once he clicks on the second lookup
button to select the 'To Item No:', it fills the 'To item no: field' in
scrolling window but it changes the selected 'From item Number' U of M , Qty
fields in the same line to blank. Why is this happening?
That is , Why is it changing the other fields in the same line to blank ,
when i select a value from the second lookup button? I am using different
fields for 'From Item Number' and 'To Item Number', and also linked it to
diffrerent lookup buttons?
I am having this problem when i use two lookup buttons in scrolling window.
I set created a scrolling window as Adds allowed. Is it something to do with
the linked table?
Also my menu items Insert row, delete row are deactivated . How can they be
activated?
Thanks
swetha
--
swetha
--
swetha
Dexterity
(1)
Blogster
(1)
Mariano
(1)
Gomez
(1)
Diffrerent
(1)
Window
(1)
Swetha
(1)
SKR
(1)
MarianoGome replied...

Swetha,
You have to change your approach as this is anti-Dexterity development best
practices. In principle, what's happening to you is that the lookup window is
not returning the focus to the field on the scrolling window line, which is
causing the field to go blank.
1) Put 2 lookup buttons outside of your scrolling window (Lookup Button 1
and Lookup Button 2, for example) on the main window, next to the header
columns for From Item and To Item respectively. Take a look at the Invoice
Entry form in GP (Transactions > Sales > Invoicing) for how the layout would
work.
2) Put 2 lookup buttons (Lookup Button 3 and Lookup Button 4, for example)
inside of your scrolling window beneath the Big Line Item area (if you have
one) or beneath the Small Line area if this is all you have. Of course, these
will not show up in the lookup.
3) Link Lookup Button 3 to the From Item field in the scrolling window
4) Link Lookup Button 4 to the To Item field in the scrolling window
5) Add the following code to Lookup Button 3
run script field 'Lookup Button 1' of window 'The Main Window'; {this is the
outer window containing your scrolling window}
6) Add the following code to Lookup Button 4
run script field 'Lookup Button 2' of window 'The Main Window'; {this is the
name of the window containing your scrolling window}
7) Close your scrolling window and add the following code for Lookup Button 1
open form 'Your Lookup Form' return to 'From Item' of window your_scroll;
8) Add similar code for Lookup Button 2 pointing to your 'To Item' field
open form 'Your Lookup Form' return to 'To Item' of window your_scroll;
Please refer to the Dexterity Programmer's Guide volume 1 and 2 for the
proper techniques.
Best regards,
--
MG.-
Mariano Gomez, MIS, MCP, PMP
Maximum Global Business, LLC
http://www.maximumglobalbusiness.com
The Dynamics GP Blogster at http://dynamicsgpblogster.blogspot.com
build number is 6.00g52? Thank you. Don Great Plains Discussions EEnterprise (1) Newsletter (1) Dexterity (1) Blogster (1) Leugers (1) Mariano (1) Whaley (1) Gomez (1) 6.00g52 corresponds to Service Pack 5 if my mind serves me correctly. When working with this service pack, your Dexterity runtime should be 6.00m064. 6.00g45 corresponds to Service Pack 4, and the matching Dexterity runtime is 6.00m061. 6.00g5 is the RTM. Best regards, - - MG.- Mariano Gomez, MIS, MCP, PMP Maximum Global Business, LLC http: / / www.maximumglobalbusiness.com The Dynamics GP Blogster
in the smartlist. Great Plains Discussions SQL Server (1) VBA (1) Database (1) Smartlist (1) Blogster (1) Mariano (1) Gomez (1) Toby (1) Quick question, what do you store in user defined 1? Best regards, - - MG.- Mariano Gomez, MIS, MCP, PMP Maximum Global Business, LLC http: / / www.maximumglobalbusiness.com The Dynamics GP Blogster at http: / / dynamicsgpblogster.blogspot.com User defined 1 is a string containing a date and terms. What does this field represent in relation to the service call? Best regards, - - MG.- Mariano Gomez, MIS, MCP, PMP Maximum Global Business, LLC http: / / www.maximumglobalbusiness.com The Dynamics GP Blogster
For you to review the source code for the functions you would need to use Dexterity and belong to the source code program to have access to the source code. RW_GetDepositAmount For you to review the source code for the functions you would need to use Dexterity and belong to the source code program to have access to the source code. \ par Services will give you the flexibility you need for a distributed environment. Best regards, - - MG.- Mariano Gomez, MIS, MCP, PMP Maximum Global Business, LLC http: / / www.maximumglobalbusiness.com The Dynamics GP Blogster at http: / / dynamicsgpblogster.blogspot.com Wrong post! Please disregard. - - Best regards, - - MG.- Mariano Gomez, MIS, MCP, PMP Maximum Global Business, LLC http: / / www.maximumglobalbusiness.com The Dynamics GP Blogster at http: / / dynamicsgpblogster.blogspot.com David, Thank you for your response. The function definitions your
Dexterity Tables DataBase Hi When we create a table while creating a new form using dexterity and selecting SQL as a database type where is this table created? I could not Great Plains Discussions Dynamics GP 9.0 (1) SQL Server (1) SetCreateMode (1) Database (1) Dexterity (1) Musgrave (1) Serif (1) Asia (1) - -- -- - = _NextPart_0001_1FB09E45 Content-Type: text / plain Content-Transfer-Encoding: 7bit The tables are not created automatically from a Dexterity table definition. If you want the have the table in the System (DYNAMICS) database, use database. Please look at the articles on the page http: / / blogs.msdn.com / developingfordynamicsgp / pages / dexterity-articles.aspx In particular: How to create SQL tables for an integrating Dexterity program (KB 874554) https: / / mbs.microsoft.com / knowledgebase / KBDisplay.aspx?scid = kb;en-us;874554 How to control the location of the Dexterity tables in SQL Server by using Dexterity path names in Microsoft Dynamics GP 9.0 or in Microsoft Business Solutions - Great Plains
dexterity ADO DataBase Hi I am new to dexterity can somebody send me the ADO code to open a connection in dexterity Regards Thiru Great Plains Discussions Blogster (1) Thiru (1) Developingfordynamicsgp (1) Dexterity (1) Rm00101 (1) PMP (1) If you are working in Dexterity, what are you trying to open? If it is Dexterity related, then http: / / blogs.msdn.com / developingfordynamicsgp is the one-stop-shop for Dex. He display the entire customer id in the list or combo box Thiru, when you develop Dexterity customization for Microsoft Dynamics GP you need not use ADO to access any of the