Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box
Message
From
22/09/1998 06:43:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00139398
Message ID:
00139403
Views:
31
>I have got a field on a form called Client(Actually Department) which gets it's values from a ComboBox(Dropdown List, Incremental Search). The RowSourceType for Client is a table(Allocation_Numbers) with 44 records of 2 fields(Client, Client_Number) each.
>
>I want to:
>
>-A-
>Copy the second field(Client_Number) to a textbox(Client_Number) on the form when the user selects a Client.
>
>-B-
>Concatenate Client_Number with another field(Depot_Number) to form yet another field called Exp_Alloc_Number.
>
>Can anybody help?
>
>Petrus.
Combo props:
Rowsourcetype : Fields
Rowsource : Allocation_Numbers.client,clien_number
Controlsource : table.field && (Actual) 
Boundcolumn : 2
Columncount : 2
Columnwidths : 100,0 && (0 is for hiding client_number in list)

Combo.interactivechange :
thisform.Exp_alloc_number.textbox.value = ;
 padl(this.value,3,"0")+;
 padl(table.depot_number,3,"0") && Yeah still insisting on pad*
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform